Skip to content

QtWidgets.createNumberSlotSpinBox()

Description

Spinbox for number of slots.

Syntax

JS
QtWidgets.createNumberSlotSpinBox(parent: widget = null) -> NumberSlotSpinBox

Parameters

Parameter Type Default Value Mandatory Description
parent widget null Parent widget, to which the created NumberSlotSpinBox belongs. If not specified, the widget is created without a parent.

Return value

Type Description
NumberSlotSpinBox A new NumberSlotSpinBox object.

Example

JS
let result = QtWidgets.createNumberSlotSpinBox();
console.info(result);

See Also

Last update: 18 August 2025, 14:28