cutter/src/widgets/OverviewWidget.h

33 lines
639 B
C
Raw Normal View History

#ifndef OVERVIEWWIDGET_H
#define OVERVIEWWIDGET_H
#include "CutterDockWidget.h"
class MainWindow;
class OverviewView;
class OverviewWidget : public CutterDockWidget
{
Q_OBJECT
public:
explicit OverviewWidget(MainWindow *main, QAction *action = nullptr);
~OverviewWidget();
OverviewView *graphView;
private:
RefreshDeferrer *refreshDeferrer;
2019-01-24 18:04:39 +00:00
/**
* @brief this takes care of scaling the overview when the widget is resized
*/
void resizeEvent(QResizeEvent *event) override;
private slots:
/**
* @brief update the overview
*/
void updateContents();
};
#endif // OverviewWIDGET_H