Description
Creates a custom number input element (an enhanced version of QDoubleSpinBox
with highlighting and improved precision for displayed values).
Syntax
JSQtWidgets.createNumberEdit(parent: widget = null) -> NumberEdit
Parameters
Parameter |
Type |
Default Value |
Mandatory |
Description |
parent |
widget |
null |
No |
The parent widget to which the created NumberEdit belongs. If not specified, the widget is created without a parent. |
Return value
Type |
Description |
NumberEdit |
A new NumberEdit object. |
Example
JS |
---|
| let result = QtWidgets.createNumberEdit()
console.info(result)
|
Last update: 14 August 2025, 18:47