cutter/src/widgets/SdbWidget.h

37 lines
656 B
C
Raw Normal View History

#ifndef SDBWIDGET_H
#define SDBWIDGET_H
2017-10-02 09:41:28 +00:00
#include <memory>
#include "CutterDockWidget.h"
class MainWindow;
class QTreeWidgetItem;
2018-03-21 20:32:32 +00:00
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 = nullptr);
private:
std::unique_ptr<Ui::SdbWidget> ui;
QString path;
};
#endif // SDBWIDGET_H