2017-07-13 18:49:12 +00:00
|
|
|
#ifndef ENTRYPOINTWIDGET_H
|
|
|
|
#define ENTRYPOINTWIDGET_H
|
|
|
|
|
|
|
|
#include "dockwidget.h"
|
|
|
|
#include <QStyledItemDelegate>
|
|
|
|
#include <QTreeWidgetItem>
|
2017-10-02 09:41:28 +00:00
|
|
|
#include <memory>
|
2017-07-13 18:49:12 +00:00
|
|
|
|
|
|
|
class MainWindow;
|
|
|
|
class QTreeWidget;
|
|
|
|
|
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class EntrypointWidget;
|
|
|
|
}
|
|
|
|
|
|
|
|
class EntrypointWidget : public DockWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit EntrypointWidget(MainWindow *main, QWidget *parent = 0);
|
|
|
|
~EntrypointWidget();
|
|
|
|
|
|
|
|
void setup() override;
|
|
|
|
|
|
|
|
void refresh() override;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_entrypointTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
|
|
|
|
|
|
|
|
private:
|
2017-10-02 09:41:28 +00:00
|
|
|
std::unique_ptr<Ui::EntrypointWidget> ui;
|
2017-07-13 18:49:12 +00:00
|
|
|
MainWindow *main;
|
|
|
|
|
|
|
|
void fillEntrypoint();
|
|
|
|
void setScrollMode();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ENTRYPOINTWIDGET_H
|