1QVBoxLayout(3qt) QVBoxLayout(3qt)
2
3
4
6 QVBoxLayout - Lines up widgets vertically
7
9 #include <qlayout.h>
10
11 Inherits QBoxLayout.
12
13 Public Members
14 QVBoxLayout ( QWidget * parent, int margin = 0, int spacing = -1, const
15 char * name = 0 )
16 QVBoxLayout ( QLayout * parentLayout, int spacing = -1, const char *
17 name = 0 )
18 QVBoxLayout ( int spacing = -1, const char * name = 0 )
19 ~QVBoxLayout ()
20
22 The QVBoxLayout class lines up widgets vertically.
23
24 This class is used to construct vertical box layout objects. See
25 QBoxLayout for more details.
26
27 The simplest use of the class is like this:
28
29 QBoxLayout * l = new QVBoxLayout( widget );
30 l->addWidget( aWidget );
31 l->addWidget( anotherWidget );
32
33 <center>
34 [Image Omitted]
35
36 </center>
37
38 See also QHBoxLayout, QGridLayout, the Layout overview, Widget
39 Appearance and Style, and Layout Management.
40
43 const char * name = 0 )
44 Constructs a new top-level vertical box called name, with parent
45 parent.
46
47 The margin is the number of pixels between the edge of the widget and
48 its managed children. The spacing is the default number of pixels
49 between neighboring children. If spacing is -1 the value of margin is
50 used for spacing.
51
53 char * name = 0 )
54 Constructs a new vertical box called name name and adds it to
55 parentLayout.
56
57 The spacing is the default number of pixels between neighboring
58 children. If spacing is -1, this QVBoxLayout will inherit its parent's
59 spacing().
60
62 Constructs a new vertical box called name name. You must add it to
63 another layout.
64
65 The spacing is the default number of pixels between neighboring
66 children. If spacing is -1, this QVBoxLayout will inherit its parent's
67 spacing().
68
70 Destroys this box layout.
71
72 The layout's widgets aren't destroyed.
73
74
76 http://doc.trolltech.com/qvboxlayout.html
77 http://www.trolltech.com/faq/tech.html
78
80 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
81 license file included in the distribution for a complete license
82 statement.
83
85 Generated automatically from the source code.
86
88 If you find a bug in Qt, please report it as described in
89 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
90 help you. Thank you.
91
92 The definitive Qt documentation is provided in HTML format; it is
93 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
94 web browser. This man page is provided as a convenience for those users
95 who prefer man pages, although this format is not officially supported
96 by Trolltech.
97
98 If you find errors in this manual page, please report them to qt-
99 bugs@trolltech.com. Please include the name of the manual page
100 (qvboxlayout.3qt) and the Qt version (3.3.8).
101
102
103
104Trolltech AS 2 February 2007 QVBoxLayout(3qt)