#include <kanzi/ui/node/concept/range.hpp>
Public Member Functions | |
float | getMaximumValue () const |
Gets the value of MaximumValueProperty. More... | |
float | getMinimumValue () const |
Gets the value of MinimumValueProperty. More... | |
float | getNormalizedValue () const |
Gets the value of NormalizedValueProperty. More... | |
float | getStep () const |
Gets the value of StepProperty. More... | |
float | getValue () const |
Gets the value of ValueProperty. More... | |
void | goToMaximumValue () |
Sets the value to value in MaximumValueProperty. More... | |
void | goToMinimumValue () |
Sets the value to value in MinimumValueProperty. More... | |
void | goToNextValue () |
Increases the value by amount of StepProperty. More... | |
void | goToPreviousValue () |
Decreases the value by amount of StepProperty. More... | |
bool | isValueChanging () const |
Gets the value of IsValueChangingProperty. More... | |
RangeConceptImpl (Domain *domain, string_view name) | |
template<class MessageT > | |
void | sendRangeMessage (const MessageT &messageType) |
void | setMaximumValue (float value) |
Sets the value of MaximumValueProperty. More... | |
void | setMinimumValue (float value) |
Sets the value of MinimumValueProperty. More... | |
void | setNormalizedValue (float value) |
Sets the value of NormalizedValueProperty. More... | |
void | setStep (float value) |
Sets the value of StepProperty. More... | |
void | setValue (float value) |
Sets the value of ValueProperty. More... | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::RangeConcept | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
TDerivedClass * | getThisObject () |
Internal accessor for the Curiously Recurring Template Pattern. More... | |
const TDerivedClass * | getThisObject () const |
Internal accessor for the Curiously Recurring Template Pattern. More... | |
void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
Additional Inherited Members | |
Static Public Attributes inherited from kanzi::RangeConcept | |
static MessageType< ValueChangedMessageArguments > | ValueChangedMessage |
static MessageType< ValueChangeFinishedMessageArguments > | ValueChangeFinishedMessage |
static MessageType< ValueChangeStartedMessageArguments > | ValueChangeStartedMessage |
static PropertyType< float > | MinimumValueProperty |
static PropertyType< float > | MaximumValueProperty |
Sets the maximum value that the range allows. More... | |
static PropertyType< float > | StepProperty |
Sets the minimum change of the value in the range. More... | |
static PropertyType< float > | ValueProperty |
Reports the value in the range. More... | |
static PropertyType< float > | NormalizedValueProperty |
Reports the normalized value in the range. More... | |
static PropertyType< bool > | IsValueChangingProperty |
Reports whether the value is changing because of user interaction. More... | |
|
explicit |
|
static |
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::sendRangeMessage | ( | const MessageT & | messageType | ) |
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getMinimumValue | ( | ) | const |
Gets the value of MinimumValueProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setMinimumValue | ( | float | value | ) |
Sets the value of MinimumValueProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getMaximumValue | ( | ) | const |
Gets the value of MaximumValueProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setMaximumValue | ( | float | value | ) |
Sets the value of MaximumValueProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getStep | ( | ) | const |
Gets the value of StepProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setStep | ( | float | value | ) |
Sets the value of StepProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getValue | ( | ) | const |
Gets the value of ValueProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setValue | ( | float | value | ) |
Sets the value of ValueProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getNormalizedValue | ( | ) | const |
Gets the value of NormalizedValueProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setNormalizedValue | ( | float | value | ) |
Sets the value of NormalizedValueProperty.
bool kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::isValueChanging | ( | ) | const |
Gets the value of IsValueChangingProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToNextValue | ( | ) |
Increases the value by amount of StepProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToPreviousValue | ( | ) |
Decreases the value by amount of StepProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToMinimumValue | ( | ) |
Sets the value to value in MinimumValueProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToMaximumValue | ( | ) |
Sets the value to value in MaximumValueProperty.
|
inlineprotected |
Internal accessor for the Curiously Recurring Template Pattern.
|
inlineprotected |
Internal accessor for the Curiously Recurring Template Pattern.
|
overrideprotected |