class DockManagerLayout

Inherits: IReflectable

Used for storing a layout of widgets in a dock manager.

Public

Constructors

DockManagerLayout

DockManagerLayout()

Methods

~DockManagerLayout

~DockManagerLayout() noexcept

GetRootEntry

Entry &GetRootEntry()

Returns the root entry in the saved dock manager hierarchy.

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.

Clone

SPtr<DockManagerLayout> Clone()

Makes a deep copy of this object.

staticGetRttiStatic

static RTTIType *GetRttiStatic()

GetRtti

RTTIType *GetRtti() const

Returns an interface you can use to access class' Run Time Type Information.

Private

Fields

mRootEntry

Entry mRootEntry

mIsMaximized

bool mIsMaximized

mMaximizedWidgetNames

Vector<String> mMaximizedWidgetNames