QWidgetItem Class Reference
The QWidgetItem class is a layout item that represents a widget.
More...
#include <qabstractlayout.h>
Inherits QLayoutItem.
List of all member functions.
Public Members
virtual QSizePolicy::ExpandData
expanding () const
Detailed Description
The QWidgetItem class is a layout item that represents a widget.
This is used by custom layouts.
See also QLayout.
Member Function Documentation
QWidgetItem::QWidgetItem ( QWidget * w )
Creates an item containing widget w.
Returns whether this item's widget is expanding.
Reimplemented from QLayoutItem.
bool QWidgetItem::isEmpty () const [virtual]
Returns TRUE if the widget has been hidden; otherwise returns FALSE.
Reimplemented from QLayoutItem.
QSize QWidgetItem::maximumSize () const [virtual]
Returns the maximum size of this item.
Reimplemented from QLayoutItem.
QSize QWidgetItem::minimumSize () const [virtual]
Returns the minimum size of this item.
Reimplemented from QLayoutItem.
void QWidgetItem::setGeometry ( const QRect & r ) [virtual]
Sets the geometry of this item's widget to be contained within rect
r, taking alignment and maximum size into account.
Reimplemented from QLayoutItem.
QSize QWidgetItem::sizeHint () const [virtual]
Returns the preferred size of this item.
Reimplemented from QLayoutItem.
QWidget * QWidgetItem::widget () [virtual]
Returns the widget managed by this item.
Reimplemented from QLayoutItem.
const QSize & QWidgetItem::widgetSizeHint () const
Implemented in subclasses to return a reference to the preferred
size of this item.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit,
copyright © 1995-2001
Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks
| Qt version 3.0.0-beta2
|