May 2019
Intermediate to advanced
542 pages
13h 37m
English
In general, a spinbox is a text entry with arrow buttons designed to spin through a set of incremental values. QSpinbox is built specifically to handle either integers or discrete values (such as a combobox).
Some useful QSpinBox properties include the following:
| Property | Arguments | Description |
|---|---|---|
| value | integer | The current spinbox value, as an integer. |
| cleanText | string | The current spinbox value, as a string (excludes the prefix and suffix). |
| maximum | integer | The maximum integer value of the box. |
| minimum | integer | The minimum value of the box. |
| prefix | string | A string to prepend to the displayed value. |
| suffix | string | A string to append to the displayed value. |
| singleStep | integer | How much to increment or decrement the value ... |
Read now
Unlock full access