cutter/src/widgets/GraphWidget.h

32 lines
553 B
C
Raw Normal View History

#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() {}
DisassemblerGraphView *getGraphView() const;
signals:
void graphClose();
protected:
QWidget *widgetToFocusOnRaise() override;
private:
void closeEvent(QCloseEvent *event) override;
DisassemblerGraphView *graphView;
};
#endif // GRAPHWIDGET_H