cutter/src/widgets/stringswidget.h

41 lines
677 B
C
Raw Normal View History

#ifndef STRINGSWIDGET_H
#define STRINGSWIDGET_H
#include "dockwidget.h"
2017-10-02 09:41:28 +00:00
#include <memory>
class MainWindow;
class QTreeWidgetItem;
2017-04-09 19:55:06 +00:00
namespace Ui
{
class StringsWidget;
}
class StringsWidget : public DockWidget
{
Q_OBJECT
public:
explicit StringsWidget(MainWindow *main, QWidget *parent = 0);
~StringsWidget();
void setup() override;
void refresh() override;
void fillStrings();
private slots:
void on_stringsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
private:
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::StringsWidget> ui;
MainWindow *main;
void fillTreeWidget();
void setScrollMode();
};
#endif // STRINGSWIDGET_H