2017-03-29 10:18:37 +00:00
|
|
|
#ifndef RELOCSWIDGET_H
|
|
|
|
#define RELOCSWIDGET_H
|
|
|
|
|
2017-04-13 15:14:02 +00:00
|
|
|
#include "dashboard.h"
|
2017-03-29 10:18:37 +00:00
|
|
|
|
|
|
|
class MainWindow;
|
2017-04-13 15:14:02 +00:00
|
|
|
class QTreeWidgetItem;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
2017-04-09 19:55:06 +00:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class RelocsWidget;
|
2017-03-29 10:18:37 +00:00
|
|
|
}
|
|
|
|
|
2017-04-13 15:14:02 +00:00
|
|
|
class RelocsWidget : public DockWidget
|
2017-03-29 10:18:37 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit RelocsWidget(MainWindow *main, QWidget *parent = 0);
|
|
|
|
~RelocsWidget();
|
|
|
|
|
2017-04-13 15:14:02 +00:00
|
|
|
void setup() override;
|
|
|
|
|
|
|
|
void refresh() override;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_relocsTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::RelocsWidget *ui;
|
|
|
|
MainWindow *main;
|
2017-04-13 15:14:02 +00:00
|
|
|
|
|
|
|
void fillTreeWidget();
|
|
|
|
void setScrollMode();
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RELOCSWIDGET_H
|