Description
Creates a group with a title and internal elements.
Syntax
JSQtWidgets.createQGroupBox(text: String, parent: widget = null) -> QGroupBox
Parameters
Parameter |
Type |
Default Value |
Required |
Description |
text |
!JavaScript String |
— |
Yes |
Title. |
parent |
widget |
null |
❌ No |
Parent widget, to which the created QGroupBox belongs. If not specified, the group is created without a parent. |
Return value
Type |
Description |
!JavaScript QGroupBox |
New QGroupBox object. |
Example
JS |
---|
| let result = QtWidgets.createQGroupBox()
console.info(result)
|
Last update: 14 August 2025, 18:47