Widget#

Synopsis#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget(w)#

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget([aname=””[, xml=””[, icon_name=””[, atype=QDesignerWidgetBoxInterface.Widget.Type.Default]]]])

Parameters:
PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type#
PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.domXml()#
Return type:

str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.iconName()#
Return type:

str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.isNull()#
Return type:

bool

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.name()#
Return type:

str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.setDomXml(xml)#
Parameters:

xml – str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.setIconName(icon_name)#
Parameters:

icon_name – str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.setName(aname)#
Parameters:

aname – str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.setType(atype)#
Parameters:

atypeType

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.type()#
Return type:

Type