Description
Creates a spin box for decimal numbers.
Syntax
JSQtWidgets.createQDoubleSpinBox(parent: widget = null) -> QDoubleSpinBox
Parameters
Parameter |
Type |
Default Value |
Mandatory |
Description |
parent |
widget |
null |
❌ No |
The parent widget to which the created QDoubleSpinBox belongs. If not specified, the spin box is created without a parent. |
Return value
Type |
Description |
!!javascript QDoubleSpinBox |
A new QDoubleSpinBox object. |
Example
JS |
---|
| let result = QtWidgets.createQDoubleSpinBox()
console.info(result)
|
Last update: 14 August 2025, 18:47