mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 13:25:27 +00:00
37 lines
658 B
C++
37 lines
658 B
C++
#ifndef SDBWIDGET_H
|
|
#define SDBWIDGET_H
|
|
|
|
#include <memory>
|
|
|
|
#include "CutterDockWidget.h"
|
|
|
|
class MainWindow;
|
|
class QTreeWidgetItem;
|
|
|
|
namespace Ui {
|
|
class SdbWidget;
|
|
}
|
|
|
|
class SdbWidget : public CutterDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SdbWidget(MainWindow *main, QAction *action = nullptr);
|
|
~SdbWidget();
|
|
|
|
private slots:
|
|
void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
|
void on_lockButton_clicked();
|
|
void on_treeWidget_itemChanged(QTreeWidgetItem *item, int column);
|
|
|
|
void reload(QString _path = QString());
|
|
|
|
private:
|
|
std::unique_ptr<Ui::SdbWidget> ui;
|
|
QString path;
|
|
|
|
};
|
|
|
|
#endif // SDBWIDGET_H
|