#include <kanzi/ui/node/slider2d.hpp>
Public Types | |
typedef Slider2DConceptImplType | ConceptClass |
Slider concept implementation, defining the base class (Component) and presenter (TrajectoryLayout2D). More... | |
typedef Slider2DPresenterType | PresenterClass |
Public Types inherited from kanzi::Slider2DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
typedef shared_ptr< TPresenterClass > | PresenterSharedPtr |
typedef TPresenterClass | PresenterClass |
Static Public Member Functions | |
static Slider2DSharedPtr | create (Domain *domain, string_view name) |
Creates a Slider3D node. More... | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::Slider2DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::SliderConcept | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
Slider2D (Domain *domain, string_view name) | |
Constructor. More... | |
Protected Member Functions inherited from kanzi::Slider2DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
virtual void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) KZ_OVERRIDE |
void | findLayout () |
virtual void | onAttached () KZ_OVERRIDE |
virtual Vector2 | measureOverride (Vector2 availableSize) KZ_OVERRIDE |
Node2D::measureOverride() implementation. More... | |
virtual void | arrangeOverride (Vector2 actualSize) KZ_OVERRIDE |
Node2D::arrangeOverride() implementation. More... | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::Slider2DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
void | hitPointChanged () |
void | initialize () |
const PresenterSharedPtr & | getPresenter () const |
Slider2DConceptImpl (Domain *domain, string_view name) | |
float | getMaxDistanceFromCurve () const |
Gets the value of MaxDistanceFromCurveProperty. More... | |
void | setMaxDistanceFromCurve (float value) |
Sets the value of MaxDistanceFromCurveProperty. More... | |
Static Public Attributes inherited from kanzi::SliderConcept | |
static PropertyType< float > | MaxDistanceFromCurveProperty |
MaxDistanceFromCurve property. More... | |
To create a Slider 2D node with a custom appearance:
Slider concept implementation, defining the base class (Component) and presenter (TrajectoryLayout2D).
|
explicitprotected |
Constructor.
domain | The UI domain the new node belongs to. |
name | The name of the node. |
|
static |
Creates a Slider3D node.
domain | The UI domain the new node belongs to. |
name | The name of the stack layout. |
|
static |