Stack layout concept implementation base class. More...
#include <kanzi/ui/node/concept/stack_layout.hpp>
Public Member Functions | |
LayoutDirection | getDirection () const |
Gets the value of DirectionProperty. More... | |
bool | isReversed () const |
Gets the value of ReversedProperty. More... | |
void | setDirection (LayoutDirection value) |
Sets the value of DirectionProperty. More... | |
void | setReversed (bool value) |
Sets the value of ReversedProperty. More... | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::StackLayoutConcept | |
static size_t | directionToIndex (LayoutDirection direction) |
static size_t | directionToOppositeIndex (LayoutDirection direction) |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
StackLayoutConceptImpl (Domain *domain, string_view name) | |
Constructor. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::StackLayoutConcept | |
enum | LayoutDirection { DirectionX, DirectionY, DirectionZ } |
Direction in which stack layout arranges its items. More... | |
Static Public Attributes inherited from kanzi::StackLayoutConcept | |
static PropertyType< StackLayoutConcept::LayoutDirection > | DirectionProperty |
Direction property. More... | |
static PropertyType< bool > | ReversedProperty |
Reversed property. More... | |
Stack layout concept implementation base class.
StackLayoutConceptImpl provides the functionality to implement a stack layout. StackLayoutConceptImpl derives from StackLayoutConcept, which defines the data and property types used by the implementation. To implement a custom stack layout derive from StackLayoutConceptImpl. The expected inheritance graph is TBaseClass <- StackLayoutConceptImpl <- YourClass.
|
explicitprotected |
Constructor.
domain | The UI domain the new node belongs to. |
name | The name of the node. |
|
static |
StackLayoutConcept::LayoutDirection kanzi::StackLayoutConceptImpl< TBaseClass, TDerivedClass >::getDirection | ( | ) | const |
Gets the value of DirectionProperty.
void kanzi::StackLayoutConceptImpl< TBaseClass, TDerivedClass >::setDirection | ( | StackLayoutConcept::LayoutDirection | value | ) |
Sets the value of DirectionProperty.
bool kanzi::StackLayoutConceptImpl< TBaseClass, TDerivedClass >::isReversed | ( | ) | const |
Gets the value of ReversedProperty.
void kanzi::StackLayoutConceptImpl< TBaseClass, TDerivedClass >::setReversed | ( | bool | value | ) |
Sets the value of ReversedProperty.