Skip to content

QtWidgets.createQDoubleSpinBox()

Description

Creates a spin box for decimal numbers.

Syntax

JS
QtWidgets.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)

See Also

Last update: 14 August 2025, 18:47