cutter/src/widgets/SymbolsWidget.h

38 lines
604 B
C
Raw Normal View History

#ifndef SYMBOLSWIDGET_H
#define SYMBOLSWIDGET_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 SymbolsWidget;
}
class SymbolsWidget : public DockWidget
{
Q_OBJECT
public:
2017-10-09 18:08:35 +00:00
explicit SymbolsWidget(QWidget *parent = 0);
~SymbolsWidget();
void setup() override;
void refresh() override;
private slots:
void on_symbolsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
private:
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::SymbolsWidget> ui;
void fillSymbols();
void setScrollMode();
};
#endif // SYMBOLSWIDGET_H