mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
40 lines
699 B
C
40 lines
699 B
C
|
#ifndef ENTRYPOINTWIDGET_H
|
||
|
#define ENTRYPOINTWIDGET_H
|
||
|
|
||
|
#include "dockwidget.h"
|
||
|
#include <QStyledItemDelegate>
|
||
|
#include <QTreeWidgetItem>
|
||
|
|
||
|
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:
|
||
|
Ui::EntrypointWidget *ui;
|
||
|
MainWindow *main;
|
||
|
|
||
|
void fillEntrypoint();
|
||
|
void setScrollMode();
|
||
|
};
|
||
|
|
||
|
#endif // ENTRYPOINTWIDGET_H
|