Skip to content

Description of type QSpinBox

Properties of type QmlSpinBox

Below is a list of the available properties provided by the QmlSpinBox type. Click on a property name to see its detailed description and examples.

Property Description
value The current integer value of the spin box.
minimum The minimum allowable value. Default is 0.
maximum The maximum allowable value. Default is 99.
singleStep The step size for each increment or decrement (e.g., arrow clicks).
prefix Text prepended to the value (e.g., "ID: "). Does not affect the numeric value.
suffix Text appended to the value (e.g., " units").
readOnly If true, the user cannot modify the value using the keyboard or arrows.

Methods of type QmlSpinBox

Below is a list of the available methods provided by the QmlSpinBox type. Click on a method name to see its detailed description and examples.

Method Description
setRange(int, int) Sets the minimum and maximum values of the spin box in one call.

Signals of type QmlSpinBox

Below is a list of the available signals provided by the QmlSpinBox type. Click on a signal name to see its detailed description and examples.

Signal Description
valueChanged(int) Emitted when the value changes — either by user interaction or programmatically. The new value is passed as an argument.
Last update: 18 August 2025, 14:28