#include <kanzi/ui/node/concept/range.hpp>
Public Member Functions | |
template<class MessageT > | |
void | sendRangeMessage (const MessageT &messageType) |
RangeConceptImpl (Domain *domain, string_view name) | |
float | getMinimumValue () const |
Gets the value of #RangeMinimumProperty. More... | |
void | setMinimumValue (float value) |
Sets the value of #RangeMinimumProperty. More... | |
float | getMaximumValue () const |
Gets the value of #RangeMaximumProperty. More... | |
void | setMaximumValue (float value) |
Sets the value of #RangeMaximumProperty. More... | |
float | getStep () const |
Gets the value of #RangeStepProperty. More... | |
void | setStep (float value) |
Sets the value of #RangeStepProperty. More... | |
float | getValue () const |
Gets the value of #RangeValueProperty. More... | |
void | setValue (float value) |
Sets the value of #RangeValueProperty. More... | |
float | getNormalizedValue () const |
Gets the value of NormalizedValueProperty. More... | |
void | setNormalizedValue (float value) |
Sets the value of NormalizedValueProperty. More... | |
bool | isValueChanging () const |
Gets the value of #ValueChangingProperty. More... | |
void | goToNextValue () |
Increases the value by amount of StepProperty. More... | |
void | goToPreviousValue () |
Decreases the value by amount of StepProperty. More... | |
void | goToMinimumValue () |
Sets the value to #MinimumValue. More... | |
void | goToMaximumValue () |
Sets the value to #MaximumValue. 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... | |
virtual void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) KZ_OVERRIDE |
Additional Inherited Members | |
Static Public Attributes inherited from kanzi::RangeConcept | |
static MessageType< ValueChangeStartedMessageArguments > | ValueChangeStartedMessage |
static MessageType< ValueChangeFinishedMessageArguments > | ValueChangeFinishedMessage |
static MessageType< ValueChangedMessageArguments > | ValueChangedMessage |
static PropertyType< float > | MinimumValueProperty |
MinimumValue property. More... | |
static PropertyType< float > | MaximumValueProperty |
MaximumValue property. More... | |
static PropertyType< float > | StepProperty |
Step property. More... | |
static PropertyType< float > | ValueProperty |
Value property. More... | |
static PropertyType< float > | NormalizedValueProperty |
NormalizedValue property. More... | |
static PropertyType< bool > | IsValueChangingProperty |
IsValueChanging property. More... | |
kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::RangeConceptImpl | ( | Domain * | domain, |
string_view | name | ||
) |
|
static |
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::sendRangeMessage | ( | const MessageT & | messageType | ) |
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getMinimumValue | ( | ) | const |
Gets the value of #RangeMinimumProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setMinimumValue | ( | float | value | ) |
Sets the value of #RangeMinimumProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getMaximumValue | ( | ) | const |
Gets the value of #RangeMaximumProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setMaximumValue | ( | float | value | ) |
Sets the value of #RangeMaximumProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getStep | ( | ) | const |
Gets the value of #RangeStepProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setStep | ( | float | value | ) |
Sets the value of #RangeStepProperty.
float kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::getValue | ( | ) | const |
Gets the value of #RangeValueProperty.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::setValue | ( | float | value | ) |
Sets the value of #RangeValueProperty.
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 #ValueChangingProperty.
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 #MinimumValue.
void kanzi::RangeConceptImpl< TBaseClass, TDerivedClass >::goToMaximumValue | ( | ) |
Sets the value to #MaximumValue.
|
inlineprotected |
Internal accessor for the Curiously Recurring Template Pattern.
|
inlineprotected |
Internal accessor for the Curiously Recurring Template Pattern.
|
protectedvirtual |