1QWidgetItem(3qt)                                              QWidgetItem(3qt)
2
3
4

NAME

6       QWidgetItem - Layout item that represents a widget
7

SYNOPSIS

9       #include <qlayout.h>
10
11       Inherits QLayoutItem.
12
13   Public Members
14       QWidgetItem ( QWidget * w )
15       virtual QSize sizeHint () const
16       virtual QSize minimumSize () const
17       virtual QSize maximumSize () const
18       virtual QSizePolicy::ExpandData expanding () const
19       virtual bool isEmpty () const
20       virtual void setGeometry ( const QRect & r )
21       virtual QWidget * widget ()
22

DESCRIPTION

24       The QWidgetItem class is a layout item that represents a widget.
25
26       This is used by custom layouts.
27
28       See also QLayout, QLayout::widget(), Widget Appearance and Style, and
29       Layout Management.
30

MEMBER FUNCTION DOCUMENTATION

QWidgetItem::QWidgetItem ( QWidget * w )

33       Creates an item containing widget w.
34

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

36       Returns whether this item's widget can make use of more space than
37       sizeHint(). A value of Vertical or Horizontal means that it wants to
38       grow in only one dimension, whereas BothDirections means that it wants
39       to grow in both dimensions and NoDirection means that it doesn't want
40       to grow at all.
41
42       Reimplemented from QLayoutItem.
43

bool QWidgetItem::isEmpty () const [virtual]

45       Returns TRUE if the widget has been hidden; otherwise returns FALSE.
46
47       Reimplemented from QLayoutItem.
48

QSize QWidgetItem::maximumSize () const [virtual]

50       Returns the maximum size of this item.
51
52       Reimplemented from QLayoutItem.
53

QSize QWidgetItem::minimumSize () const [virtual]

55       Returns the minimum size of this item.
56
57       Reimplemented from QLayoutItem.
58

void QWidgetItem::setGeometry ( const QRect & r ) [virtual]

60       Sets the geometry of this item's widget to be contained within rect r,
61       taking alignment and maximum size into account.
62
63       Reimplemented from QLayoutItem.
64

QSize QWidgetItem::sizeHint () const [virtual]

66       Returns the preferred size of this item.
67
68       Reimplemented from QLayoutItem.
69

QWidget * QWidgetItem::widget () [virtual]

71       Returns the widget managed by this item.
72
73       Reimplemented from QLayoutItem.
74
75

SEE ALSO

77       http://doc.trolltech.com/qwidgetitem.html
78       http://www.trolltech.com/faq/tech.html
79
81       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
82       license file included in the distribution for a complete license
83       statement.
84

AUTHOR

86       Generated automatically from the source code.
87

BUGS

89       If you find a bug in Qt, please report it as described in
90       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
91       help you. Thank you.
92
93       The definitive Qt documentation is provided in HTML format; it is
94       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
95       web browser. This man page is provided as a convenience for those users
96       who prefer man pages, although this format is not officially supported
97       by Trolltech.
98
99       If you find errors in this manual page, please report them to qt-
100       bugs@trolltech.com.  Please include the name of the manual page
101       (qwidgetitem.3qt) and the Qt version (3.3.8).
102
103
104
105Trolltech AS                    2 February 2007               QWidgetItem(3qt)
Impressum