cutter/src/widgets/GraphWidget.h
Vanellope b25afecc2c Graph Overview (#1120)
Added a Graph Overview
2019-01-24 18:13:04 +01:00

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