|
Qt Components Hildon
0.20
QML components for Maemo5 with Hildon styling.
|
A text field used for choosing an integer value. More...
Signals | |
| void | accepted () |
| Emitted when the return key is pressed. | |
Public Member Functions | |
| void | clear () |
| Sets the value to the minimum. | |
| void | forceActiveFocus () |
| Forces the spin box to be the current focus item. | |
| void | selectAll () |
| Selects the text. | |
| void | stepDown () |
| Decrements the value. | |
| void | stepUp () |
| Increments the value. | |
Properties | |
| string | cleanText |
| The current text without the prefix and suffix. | |
| int | maximum |
| The maximum value that can be chosen. | |
| int | minimum |
| The minimum value that can be chosen. | |
| string | prefix |
| The text to be displayed before the value. | |
| int | singleStep |
| The step size used to increment/decrement the value. | |
| string | specialValueText |
| The text to be displayed instead of a numeric value whenever the current value is equal to minimum. | |
| SpinBoxStyle | style |
| Provides styling properties for the spin box. | |
| string | suffix |
| The text to be displayed after the value. | |
| string | text |
| The current text, including the prefix and suffix. | |
| int | value |
| The current value. | |
| bool | wrapping |
| Whether incrementing/decrementing the value should wrap once the minimum/maximum is reached. | |
A text field used for choosing an integer value.
| int SpinBox::maximum |
The maximum value that can be chosen.
The default value is 99.
| int SpinBox::minimum |
The minimum value that can be chosen.
The default value is 0.
| string SpinBox::prefix |
The text to be displayed before the value.
The default value is an empty string.
| int SpinBox::singleStep |
The step size used to increment/decrement the value.
The default value is 1.
| string SpinBox::suffix |
The text to be displayed after the value.
The default value is an empty string.
| int SpinBox::value |
The current value.
The default value is 0.
| bool SpinBox::wrapping |
Whether incrementing/decrementing the value should wrap once the minimum/maximum is reached.
The default value false.
1.8.1.2