PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category

class Category

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

  • atypeType

addWidget(awidget)
Parameters:

awidgetWidget

isNull()
Return type:

bool

name()
Return type:

str

removeWidget(idx)
Parameters:

idx – int

setName(aname)
Parameters:

aname – str

setType(atype)
Parameters:

atypeType

type()
Return type:

Type

widget(idx)
Parameters:

idx – int

Return type:

Widget

widgetCount()
Return type:

int