Category#

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.Category([aname=""[, atype=QDesignerWidgetBoxInterface.Category.Type.Default]])#
Parameters:
  • aname – str

  • atypeType

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type#
PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.addWidget(awidget)#
Parameters:

awidgetPySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget

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

bool

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

str

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.removeWidget(idx)#
Parameters:

idx – int

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

aname – str

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

atypeType

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

Type

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.widget(idx)#
Parameters:

idx – int

Return type:

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget

PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.widgetCount()#
Return type:

int