CutterDockWidget

class CutterDockWidget : public QDockWidget

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

Public Functions

  • CutterDockWidget(MainWindow *parent, QAction *action)

  • explicit CutterDockWidget(MainWindow *parent)

  • ~CutterDockWidget() override

  • bool eventFilter(QObject *object, QEvent *event) override

  • inline bool isVisibleToUser()

  • inline 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>
    inline 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>
    inline RefreshDeferrer *createReplacingRefreshDeferrer(bool replaceIfNull, Func refreshNowFunc)

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

    • Parameters

      • replaceIfNull – passed to the ReplacingRefreshDeferrerAccumulator

      • refreshNowFunc – lambda taking a single parameter of type ParamResult, called when a refresh should occur

  • virtual QVariantMap serializeViewProprties()

    Serialize dock properties for saving as part of layout.

    Override this function for saving dock specific view properties. Use in situations where it makes sense to have different properties for multiple instances of widget. Don’t use for options that are more suitable as global settings and should be applied equally to all widgets or all widgets of this kind.

    Keep synchrononized with deserializeViewProperties. When modifying add project upgrade step in SettingsUpgrade.cpp if necessary.

  • virtual void deserializeViewProperties(const QVariantMap &properties)

    Deserialization half of serialize view properties.

    When a property is not specified in property map dock should reset it to default value instead of leaving it umodified. Empty map should reset all properties controlled by serializeViewProprties/deserializeViewProperties mechanism.

  • void ignoreVisibilityStatus(bool ignored)

    Ignore visibility status. Useful for temporary ignoring visibility changes while this information is unreliable.

    • Parameters

      ignored – - set to true for enabling ignoring mode

  • void raiseMemoryWidget()

Public Slots

  • void toggleDockWidget(bool show)

Signals

  • void becameVisibleToUser()

  • void closed()