cutter/src/widgets/EntrypointWidget.h
karliss 3545f059f1
Rewrite layout management code (#2172)
* Use QDockWidget::toggleViewAction instead of custom solution.
* Improve new dock placement.
2020-05-22 14:49:34 +03:00

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