Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QWidgetItem class is a layout item that represents a widget. More...
#include <QWidgetItem>
Inherits QLayoutItem.
The QWidgetItem class is a layout item that represents a widget.
This is used by custom layouts.
See also QLayout and QLayout::widget().
Creates an item containing widget w.
Returns whether this item's widget can make use of more space than sizeHint(). A value of Qt::Vertical or Qt::Horizontal means that it wants to grow in only one dimension, whereas BothDirections means that it wants to grow in both dimensions and NoDirection means that it doesn't want to grow at all.
Reimplemented from QLayoutItem.
Returns true if the widget has been hidden; otherwise returns false.
Reimplemented from QLayoutItem.
Returns the maximum size of this item.
Reimplemented from QLayoutItem.
Returns the minimum size of this item.
Reimplemented from QLayoutItem.
Sets the geometry of this item's widget to be contained within rect r, taking alignment and maximum size into account.
Reimplemented from QLayoutItem.
Returns the preferred size of this item.
Reimplemented from QLayoutItem.
Returns the widget managed by this item.
Reimplemented from QLayoutItem.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |