![]() | 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() |
See also QLayout, QSpacerItem, and QLayoutItem.widget().
Creates an item containing the given widget.
Returns true if the widget is hidden; otherwise returns false.
Reimplemented from QLayoutItem.
See also QWidget.isHidden().
Returns the widget managed by this item.
Reimplemented from QLayoutItem.
PyQt 4.3.1 for X11 | Copyright © Riverbank Computing Ltd and Trolltech AS 2007 | Qt 4.3.0 |