KNumberModel QML Type
Provides a list of numbers at a fixed interval. More...
- Import Statement: import org.kde.kitemmodels
- In C++: KNumberModel
Detailed Description
The display role contains a locale-formatted string, and the value role contains the number. The list starts at minimumValue and advances by stepSize toward maximumValue. The end value is included only when a step reaches it exactly.
Property Documentation
[default: QLocale::DefaultNumberOptions] formattingOptions : QLocale::NumberOptions
The QLocale number formatting options used by the display role.
[default: 0.0] maximumValue : real
The upper bound for values in the model. The model includes this value only when it falls on a step from minimumValue.
[default: 0.0] minimumValue : real
The first value in the model.
[default: 1.0] stepSize : real
The interval between values.