1QSpacerItem(3qt)                                              QSpacerItem(3qt)
2
3
4

NAME

6       QSpacerItem - Blank space in a layout
7

SYNOPSIS

9       #include <qlayout.h>
10
11       Inherits QLayoutItem.
12
13   Public Members
14       QSpacerItem ( int w, int h, QSizePolicy::SizeType hData =
15           QSizePolicy::Minimum, QSizePolicy::SizeType vData =
16           QSizePolicy::Minimum )
17       void changeSize ( int w, int h, QSizePolicy::SizeType hData =
18           QSizePolicy::Minimum, QSizePolicy::SizeType vData =
19           QSizePolicy::Minimum )
20       virtual QSize sizeHint () const
21       virtual QSize minimumSize () const
22       virtual QSize maximumSize () const
23       virtual QSizePolicy::ExpandData expanding () const
24       virtual bool isEmpty () const
25       virtual void setGeometry ( const QRect & r )
26

DESCRIPTION

28       The QSpacerItem class provides blank space in a layout.
29
30       This class is used by custom layouts.
31
32       See also QLayout, QLayout::spacerItem(), Widget Appearance and Style,
33       and Layout Management.
34

MEMBER FUNCTION DOCUMENTATION

QSpacerItem::QSpacerItem ( int w, int h, QSizePolicy::SizeType hData =

37       QSizePolicy::Minimum, QSizePolicy::SizeType vData =
38       QSizePolicy::Minimum )
39       Constructs a spacer item with preferred width w, preferred height h,
40       horizontal size policy hData and vertical size policy vData.
41
42       The default values provide a gap that is able to stretch if nothing
43       else wants the space.
44

void QSpacerItem::changeSize ( int w, int h, QSizePolicy::SizeType hData =

46       QSizePolicy::Minimum, QSizePolicy::SizeType vData =
47       QSizePolicy::Minimum )
48       Changes this spacer item to have preferred width w, preferred height h,
49       horizontal size policy hData and vertical size policy vData.
50
51       The default values provide a gap that is able to stretch if nothing
52       else wants the space.
53

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

55       Returns the direction in which this spacer item will expand.
56
57       See also QSizePolicy::ExpandData.
58
59       Reimplemented from QLayoutItem.
60

bool QSpacerItem::isEmpty () const [virtual]

62       Returns TRUE because a spacer item never contains widgets.
63
64       Reimplemented from QLayoutItem.
65

QSize QSpacerItem::maximumSize () const [virtual]

67       Returns the maximum size of this spacer item.
68
69       Reimplemented from QLayoutItem.
70

QSize QSpacerItem::minimumSize () const [virtual]

72       Returns the minimum size of this spacer item.
73
74       Reimplemented from QLayoutItem.
75

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

77       Stores the spacer item's rect r so that it can be returned by
78       geometry().
79
80       Reimplemented from QLayoutItem.
81

QSize QSpacerItem::sizeHint () const [virtual]

83       Returns the preferred size of this spacer item.
84
85       Reimplemented from QLayoutItem.
86
87

SEE ALSO

89       http://doc.trolltech.com/qspaceritem.html
90       http://www.trolltech.com/faq/tech.html
91
93       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
94       license file included in the distribution for a complete license
95       statement.
96

AUTHOR

98       Generated automatically from the source code.
99

BUGS

101       If you find a bug in Qt, please report it as described in
102       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
103       help you. Thank you.
104
105       The definitive Qt documentation is provided in HTML format; it is
106       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
107       web browser. This man page is provided as a convenience for those users
108       who prefer man pages, although this format is not officially supported
109       by Trolltech.
110
111       If you find errors in this manual page, please report them to qt-
112       bugs@trolltech.com.  Please include the name of the manual page
113       (qspaceritem.3qt) and the Qt version (3.3.8).
114
115
116
117Trolltech AS                    2 February 2007               QSpacerItem(3qt)
Impressum