cutter/src/widgets/RelocsWidget.h

39 lines
642 B
C
Raw Normal View History

#ifndef RELOCSWIDGET_H
#define RELOCSWIDGET_H
#include "Dashboard.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 RelocsWidget;
}
class RelocsWidget : public DockWidget
{
Q_OBJECT
public:
explicit RelocsWidget(MainWindow *main, QWidget *parent = 0);
~RelocsWidget();
void setup() override;
void refresh() override;
private slots:
void on_relocsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
private:
2017-10-02 09:41:28 +00:00
std::unique_ptr<Ui::RelocsWidget> ui;
MainWindow *main;
void fillTreeWidget();
void setScrollMode();
};
#endif // RELOCSWIDGET_H