CutterDockWidget

class CutterDockWidget

Inherits from QDockWidget

Subclassed by BacktraceWidget, BreakpointWidget, ClassesWidget, ConsoleWidget, Dashboard, EntrypointWidget, FlagsWidget, ListDockWidget, MemoryDockWidget, OverviewWidget, ProcessesWidget, RegisterRefsWidget, RegistersWidget, SdbWidget, SearchWidget, StackWidget, StringsWidget, ThreadsWidget, TypesWidget, VTablesWidget, ZignaturesWidget

Public Functions

CutterDockWidget(MainWindow *parent, QAction *action = nullptr)
~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
signal CutterDockWidget::closed