QtWidgets.createWarningIcon()¶
Description¶
Creates a warning icon.
Syntax¶
Parameters¶
Parameter | Type | Default Value | Mandatory | Description |
---|---|---|---|---|
parent |
widget |
null |
❌ No | The parent widget to which the created WarningIcon belongs. If not specified, the created icon is widgetless. |
Return value¶
Type | Description |
---|---|
WarningIcon |
A new WarningIcon object. |