cutter/src/widgets/entrypointwidget.h

41 lines
733 B
C
Raw Normal View History

#ifndef ENTRYPOINTWIDGET_H
#define ENTRYPOINTWIDGET_H
#include "dockwidget.h"
#include <QStyledItemDelegate>
#include <QTreeWidgetItem>
2017-10-02 09:41:28 +00:00
#include <memory>
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;
MainWindow *main;
void fillEntrypoint();
void setScrollMode();
};
#endif // ENTRYPOINTWIDGET_H