QWidgetItem - A

       #include <qabstractlayout.h>

       Inherits QLayoutItem.

   Public Members
       QWidgetItem ( QWidget * w )
       virtual QSize sizeHint () const
       virtual QSize minimumSize () const
       virtual QSize maximumSize () const
       virtual QSizePolicy::ExpandData expanding () const
       virtual bool isEmpty () const
       virtual void setGeometry ( const QRect & )
       virtual QWidget* widget ()
       const QSize& widgetSizeHint () const


DESCRIPTION

       A QLayoutItem that represents widget.

       For custom layouts.

       See also QLayout.


MEMBER FUNCTION DOCUMENTATION


QWidgetItem::QWidgetItem ( QWidget * w )

       Creates an item containing w.


QSizePolicy::ExpandData QWidgetItem::expanding() const [virtual]

       Returns whether this item's widget is expanding.

       Reimplemented from QLayoutItem.


QRect QWidgetItem::geometry () const [virtual]

       Reimplemented for internal reasons; the API is not
       affected.

       Reimplemented from QLayoutItem.


bool QWidgetItem::hasHeightForWidth () const [virtual]

       Reimplemented for internal reasons; the API is not
       affected.

       Reimplemented from QLayoutItem.


int QWidgetItem::heightForWidth ( int w ) const [virtual]

       Reimplemented for internal reasons; the API is not
       affected.

       Reimplemented from QLayoutItem.

       Returns TRUE, if the widget has been hidden, FALSE
       otherwise.

       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 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.


SEE ALSO

       http://doc.trolltech.com/qwidgetitem.html
       http://www.trolltech.com/faq/tech.html


COPYRIGHT

       Copyright 1992-2001 Trolltech AS,
       http://www.trolltech.com.  See the license file included
       in the distribution for a complete license statement.


AUTHOR

       Generated automatically from the source code.


BUGS

       If you find a bug in Qt, please report it as described in
       http://doc.trolltech.com/bughowto.html.  Good bug reports
       make our job much simpler. Thank you.

       In case of content or formattting problems with this
       manual page, please report them to qt-bugs@trolltech.com.
       Please include the name of the manual page
       (qwidgetitem.3qt) and the Qt version (2.3.1).


Man(1) output converted with man2html