CutterDockWidget

class CutterDockWidget

Public Functions

CutterDockWidget(MainWindow *parent, QAction *action)
~CutterDockWidget()
bool eventFilter(QObject *object, QEvent *event)
bool isVisibleToUser()
void setTransient(bool v)

Set whether the Widget should be deleted after it is closed. This is especially important for extra widgets.

template <typename Func>
RefreshDeferrer *createRefreshDeferrer(Func refreshNowFunc)

Convenience method for creating and registering a RefreshDeferrer without any parameters.

Parameters
  • refreshNowFunc -

    lambda taking no parameters, called when a refresh should occur

template <class ParamResult, typename Func>
RefreshDeferrer *createReplacingRefreshDeferrer(bool replaceIfNull, Func refreshNowFunc)

Convenience method for creating and registering a RefreshDeferrer with a replacing Accumulator.

Parameters

Public Slots

void toggleDockWidget(bool show)

Signal

signal CutterDockWidget::becameVisibleToUser