OverviewWidget

class OverviewWidget

Inherits from CutterDockWidget

Public Functions

OverviewWidget(MainWindow *main, QAction *action = nullptr)
~OverviewWidget()
GraphWidget *getTargetGraphWidget()
void setTargetGraphWidget(GraphWidget *widget)
bool getIsAvailable() const

whether this widget makes sense to be show, i.e. the menu entry should be enabled

bool getUserOpened() const

whether this widget is desired to be shown in general

Will be false when the user closed the overview explicitly. Also corresponds to the checked state of the menu entry for this widget.

OverviewView *getGraphView() const
void wheelEvent(QWheelEvent *event)

Signal

signal OverviewWidget::resized

emit signal to update the rect

signal OverviewWidget::isAvailableChanged

See
getIsAvailable()

signal OverviewWidget::userOpenedChanged

See
getUserOpened()