IaitoDockWidget¶
-
class
IaitoDockWidget
: public QDockWidget¶ Subclassed by AddressableDockWidget, BacktraceWidget, BreakpointWidget, ClassesWidget, ConsoleWidget, Dashboard, EntrypointWidget, FlagsWidget, ListDockWidget, OverviewWidget, ProcessesWidget, R2GraphWidget, RegisterRefsWidget, RegistersWidget, SdbWidget, SearchWidget, StackWidget, StringsWidget, ThreadsWidget, TypesWidget, VTablesWidget, ZignaturesWidget
Public Functions
-
IaitoDockWidget
(MainWindow *parent, QAction *action)¶
-
IaitoDockWidget
(MainWindow *parent)¶
-
~IaitoDockWidget
() override¶
-
bool
eventFilter
(QObject *object, QEvent *event) override¶
-
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
, typenameFunc
>
RefreshDeferrer *createReplacingRefreshDeferrer
(bool replaceIfNull, Func refreshNowFunc)¶ Convenience method for creating and registering a RefreshDeferrer with a replacing Accumulator.
- Parameters
replaceIfNull
: passed to the ReplacingRefreshDeferrerAccumulatorrefreshNowFunc
: lambda taking a single parameter of type ParamResult, called when a refresh should occur
-
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.
- Return
Dictionary of current dock properties.
- See
-
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.
- See
- Parameters
properties
: to modify for current widget
-
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)¶
-