class
DockManagerLayout
Inherits:
IReflectable
Used for storing a layout of widgets in a dock manager.
Public
Constructors
DockManagerLayout
DockManagerLayout()
Methods
~DockManagerLayout
~DockManagerLayout() noexcept
SetIsMaximized
void SetIsMaximized(bool maximized, const Vector<String> &widgetNames)
Signals whether there is a maximized dock container in the layout.
- maximized
- True if maximized.
- widgetNames
- Names of the widgets on the maximized container.
IsMaximized
bool IsMaximized() const
Check if the layout has a maximized container.
GetMaximizedWidgetNames
const Vector<String> &GetMaximizedWidgetNames() const
Returns widget names that are in the maximized container, if there is one.
PruneInvalidLeaves
void PruneInvalidLeaves()
Removes widgets that can no longer be found (their names no longer reference a widget), and removes containers with no widgets.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Private
Fields
mRootEntry
Entry mRootEntry
mIsMaximized
bool mIsMaximized
mMaximizedWidgetNames
Vector<String> mMaximizedWidgetNames