Skip to content

QtWidgets.createQGroupBox()

Description

Creates a group with a title and internal elements.

Syntax

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

See Also

Last update: 14 August 2025, 18:47