Dock layout concept implementation base class. More...
#include <kanzi/ui/node/concept/dock_layout.hpp>
Public Member Functions | |
bool | isLastItemFill () const |
Gets the value of the DockLayoutConcept::LastItemFillProperty. More... | |
void | setLastItemFill (bool value) |
Sets the value of DockLayoutConcept::LastItemFillProperty. More... | |
Static Public Member Functions | |
static DockingSide | getSide (const Node &item) |
Gets the docking side of an item. More... | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
static void | setSide (Node &item, DockingSide value) |
Sets the docking side of an item. More... | |
Static Public Member Functions inherited from kanzi::DockLayoutConcept | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
DockLayoutConceptImpl (Domain *domain, string_view name) | |
Constructor. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::DockLayoutConcept | |
enum | DockingSide { DockLeft, DockRight, DockTop, DockBottom } |
Docking side of dock layout item. More... | |
Static Public Attributes inherited from kanzi::DockLayoutConcept | |
static PropertyType< bool > | LastItemFillProperty |
LastItemFill property. More... | |
static PropertyType< DockLayoutConcept::DockingSide > | SideProperty |
Side property. More... | |
Dock layout concept implementation base class.
DockLayoutConceptImpl provides functionality to implement a dock layout. DockLayoutConceptImpl derives from DockLayoutConcept, which defines the data and property types used by the implementation. Do not use this class directly. To use a dock layout in your application use DockLayout2D or DockLayout3D. To implement a custom dock layout derive from DockLayoutConceptImpl. The expected inheritance graph is TBaseClass <- DockLayoutConceptImpl <- YourClass.
|
explicitprotected |
Constructor.
domain | The UI domain the new node belongs to. |
name | The name of the node. |
|
static |
bool kanzi::DockLayoutConceptImpl< TBaseClass, TDerivedClass >::isLastItemFill | ( | ) | const |
Gets the value of the DockLayoutConcept::LastItemFillProperty.
void kanzi::DockLayoutConceptImpl< TBaseClass, TDerivedClass >::setLastItemFill | ( | bool | value | ) |
Sets the value of DockLayoutConcept::LastItemFillProperty.
|
static |
Gets the docking side of an item.
|
static |
Sets the docking side of an item.