mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
3545f059f1
* Use QDockWidget::toggleViewAction instead of custom solution. * Improve new dock placement.
37 lines
637 B
C++
37 lines
637 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);
|
|
~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
|