2018-03-16 21:46:57 +00:00
|
|
|
#ifndef GRAPHWIDGET_H
|
|
|
|
#define GRAPHWIDGET_H
|
|
|
|
|
2019-03-27 08:24:54 +00:00
|
|
|
#include "MemoryDockWidget.h"
|
2018-03-16 21:46:57 +00:00
|
|
|
|
|
|
|
class MainWindow;
|
|
|
|
class DisassemblerGraphView;
|
|
|
|
|
2019-03-27 08:24:54 +00:00
|
|
|
class GraphWidget : public MemoryDockWidget
|
2018-03-16 21:46:57 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-02-19 15:56:50 +00:00
|
|
|
explicit GraphWidget(MainWindow *main, QAction *action = nullptr);
|
2019-03-27 08:24:54 +00:00
|
|
|
~GraphWidget() {}
|
2019-02-24 07:15:40 +00:00
|
|
|
|
2019-03-27 08:24:54 +00:00
|
|
|
DisassemblerGraphView *getGraphView() const;
|
2019-02-24 07:15:40 +00:00
|
|
|
|
|
|
|
signals:
|
|
|
|
void graphClose();
|
2019-03-27 08:24:54 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
QWidget *widgetToFocusOnRaise() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void closeEvent(QCloseEvent *event) override;
|
|
|
|
|
|
|
|
DisassemblerGraphView *graphView;
|
2018-03-16 21:46:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GRAPHWIDGET_H
|