Qt Widgets.createQWidget()¶
Description¶
The base widget is a container for other widgets.
Syntax¶
Parameters¶
Parameter | Type | Default Value | Mandatory | Description |
---|---|---|---|---|
parent |
widget | null |
❌ No | The parent widget to which the created QWidget belongs. If not specified, the widget is created without a parent. |
Return value¶
Type | Description |
---|---|
QWidget |
A new QWidget object. |