Description of type QDoubleSpinBox¶
Constructor of type QDoubleSpinBox¶
Syntax¶
Properties of type QDoubleSpinBox¶
Below is a list of the available properties provided by the QDoubleSpinBox type. Click on a property name to see its detailed description and examples.
| Property | Description | 
|---|---|
| value | The current numeric value of the spin box. Binds to the displayed double value. | 
| minimum | The minimum allowable value. Defaults to 0.0. | 
| maximum | The maximum allowable value. Defaults to 99.99. | 
| singleStep | The step size for each increment or decrement (e.g., when using arrows). | 
| prefix | Text prepended to the value (e.g., "$"). | 
| suffix | Text appended to the value (e.g., " kg"). | 
| decimals | Number of decimal places displayed (0–13). | 
Methods of type QDoubleSpinBox¶
Below is a list of the available methods provided by the QDoubleSpinBox type. Click on a method name to see its detailed description and examples.
| Method | Description | 
|---|---|
| setRange() | Sets the minimum and maximum allowed values for the spin box. Equivalent to setMinimum(minimum); setMaximum(maximum);. | 
Signals of type QDoubleSpinBox¶
Below is a list of the available signals provided by the QDoubleSpinBox type. Click on a signal name to see its detailed description and examples.
| Signal | Description | 
|---|---|
| valueChanged() | Emitted when the value of the spin box changes. The new value is passed as a double. |