Skip to content

Description of type NumberSlotSpinBox

Constructor of type NumberSlotSpinBox

Syntax

JS
new NumberSlotSpinBox(parent: widget = null) -> NumberSlotSpinBox

Read more...

Properties of type NumberSlotSpinBox

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

Property Description
value The current integer value of the spin box. Changed via user input or setValue().
minimum The minimum allowable value. Default is 0.
maximum The maximum allowable value. Default is 99.
singleStep Step size for arrow clicks or keyboard up/down.
readOnly If true, the user cannot modify the value.
enabled If false, the spin box is disabled and non-interactive.
visible If false, the component is hidden.

Methods of type NumberSlotSpinBox

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

Method Description
setRange() Sets the minimum and maximum allowed values.
setMinimum() Sets the minimum allowable value.
setMaximum() Sets the maximum allowable value.
setEnabled() Sets the enabled.
setVisible() Sets the visible.

Signals of type NumberSlotSpinBox

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

Signal Description
valueChanged() Emitted when the value changes — either by user interaction or programmatically.
Last update: 18 August 2025, 14:28