PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget

class Widget

Synopsis

Methods

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 Type
__init__(w)
Parameters:

wWidget

__init__([aname=""[, xml=""[, icon_name=""[, atype=QDesignerWidgetBoxInterface.Widget.Type.Default]]]])
Parameters:
  • aname – str

  • xml – str

  • icon_name – str

  • atypeType

domXml()
Return type:

str

iconName()
Return type:

str

isNull()
Return type:

bool

name()
Return type:

str

setDomXml(xml)
Parameters:

xml – str

setIconName(icon_name)
Parameters:

icon_name – str

setName(aname)
Parameters:

aname – str

setType(atype)
Parameters:

atypeType

type()
Return type:

Type