KNumberModel QML Type

Provides a list of numbers at a fixed interval. More...

Import Statement: import org.kde.kitemmodels
In C++: KNumberModel

Properties

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

formattingOptions : QLocale::NumberOptions [default: QLocale::DefaultNumberOptions]

The QLocale number formatting options used by the display role.

maximumValue : real [default: 0.0]

The upper bound for values in the model. The model includes this value only when it falls on a step from minimumValue.

minimumValue : real [default: 0.0]

The first value in the model.

stepSize : real [default: 1.0]

The interval between values.