mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 21:06:10 +00:00
36 lines
646 B
C++
36 lines
646 B
C++
#ifndef GRAPHWIDGET_H
|
|
#define GRAPHWIDGET_H
|
|
|
|
#include "MemoryDockWidget.h"
|
|
|
|
class MainWindow;
|
|
class DisassemblerGraphView;
|
|
|
|
class GraphWidget : public MemoryDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit GraphWidget(MainWindow *main, QAction *action = nullptr);
|
|
~GraphWidget() override {}
|
|
|
|
DisassemblerGraphView *getGraphView() const;
|
|
|
|
static QString getWidgetType();
|
|
|
|
signals:
|
|
void graphClosed();
|
|
|
|
protected:
|
|
QWidget *widgetToFocusOnRaise() override;
|
|
|
|
private:
|
|
void closeEvent(QCloseEvent *event) override;
|
|
|
|
QString getWindowTitle() const override;
|
|
|
|
DisassemblerGraphView *graphView;
|
|
};
|
|
|
|
#endif // GRAPHWIDGET_H
|