QWidgetItem#
The QWidgetItem
class is a layout item that represents a widget. More…
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#
Normally, you don’t need to use this class directly. Qt’s built-in layout managers provide the following functions for manipulating widgets in layouts:
Class
Functions
addWidget()
,insertWidget()
,currentWidget()
,setCurrentWidget()
,widget()
See also
- class PySide6.QtWidgets.QWidgetItem(w)#
- Parameters:
Creates an item containing the given widget
.
- PySide6.QtWidgets.QWidgetItem.wid#