Home · All Classes · Modules |
The QWidgetItem class is a layout item that represents a widget. More...
Inherits QLayoutItem.
The QWidgetItem class is a layout item that represents a widget.
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 |
---|---|
QBoxLayout | addWidget(), insertWidget(), setStretchFactor() |
QGridLayout | addWidget() |
QStackedLayout | addWidget(), insertWidget(), currentWidget(), setCurrentWidget(), widget() |
Creates an item containing the given widget.
Reimplemented from QLayoutItem.expandingDirections().
Reimplemented from QLayoutItem.geometry().
See also setGeometry().
Reimplemented from QLayoutItem.hasHeightForWidth().
Reimplemented from QLayoutItem.heightForWidth().
Reimplemented from QLayoutItem.isEmpty().
Returns true if the widget is hidden; otherwise returns false.
See also QWidget.isHidden().
Reimplemented from QLayoutItem.maximumSize().
Reimplemented from QLayoutItem.minimumSize().
Reimplemented from QLayoutItem.setGeometry().
See also geometry().
Reimplemented from QLayoutItem.sizeHint().
Reimplemented from QLayoutItem.widget().
Returns the widget managed by this item.
PyQt 4.12.1 for X11 | Copyright © Riverbank Computing Ltd and The Qt Company 2015 | Qt 4.8.7 |