Parent Class: GenericElement
This class has the logic of a spinbox, it can clamp the value between a minimum and a maximum, it can increment or decrease by a specific delta and it can show a minimum and maximum value of fractional digits.
Class Properties
- mMinimumValue: This float stores the minimum value that the spinbox can reach.
- mMaximumValue: This float stores the maximum value that the spinbox can reach.
- mDelta: This float defines the delta value to change when incrementing or decreasing the current value. For example, mDelta is 1.5 the current value is 1.0 if we increment the current value is will be 2.5 (1.0 + 1.5).
- mDefaultValue: This float stores the default value of the spinbox.
- mCurrentValue: This float stores the current value of the spinbox.
- mMinimumFractionalDigits: This integer defines how many fractional digits to show at minimum. For example if this property has a value of 3 and you set a value of 1 to your spinbox, it will show 1.000.
- mMaximumFractionalDigits: This integer defines how many fractional digits to show at maximum. For example if this property has a value of 5 and you set a value of 1.123456789 to your spinbox, it will show 1.12345.