mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 21:06:10 +00:00
b25afecc2c
Added a Graph Overview
29 lines
584 B
C++
29 lines
584 B
C++
#ifndef GRAPHWIDGET_H
|
|
#define GRAPHWIDGET_H
|
|
|
|
#include "CutterDockWidget.h"
|
|
|
|
class MainWindow;
|
|
class DisassemblerGraphView;
|
|
class OverviewWidget;
|
|
|
|
class GraphWidget : public CutterDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit GraphWidget(MainWindow *main, OverviewWidget *overview, QAction *action = nullptr);
|
|
~GraphWidget();
|
|
private:
|
|
DisassemblerGraphView *graphView;
|
|
OverviewWidget *overviewWidget;
|
|
|
|
void toggleOverview(bool visibility);
|
|
void disableOverviewRect();
|
|
private slots:
|
|
void adjustOverview();
|
|
void adjustGraph();
|
|
};
|
|
|
|
#endif // GRAPHWIDGET_H
|