cutter/src/widgets/EntrypointWidget.h
2018-03-21 21:33:40 +01:00

37 lines
664 B
C++

#ifndef ENTRYPOINTWIDGET_H
#define ENTRYPOINTWIDGET_H
#include <memory>
#include <QStyledItemDelegate>
#include <QTreeWidgetItem>
#include "CutterDockWidget.h"
class MainWindow;
class QTreeWidget;
namespace Ui {
class EntrypointWidget;
}
class EntrypointWidget : public CutterDockWidget
{
Q_OBJECT
public:
explicit EntrypointWidget(MainWindow *main, QAction *action = nullptr);
~EntrypointWidget();
private slots:
void on_entrypointTreeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);
void fillEntrypoint();
private:
std::unique_ptr<Ui::EntrypointWidget> ui;
void setScrollMode();
};
#endif // ENTRYPOINTWIDGET_H