source: trunk/doc/html/qvboxlayout.html@ 190

Last change on this file since 190 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 5.1 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qlayout.cpp:2518 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QVBoxLayout Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QVBoxLayout Class Reference</h1>
33
34<p>The QVBoxLayout class lines up widgets vertically.
35<a href="#details">More...</a>
36<p><tt>#include &lt;<a href="qlayout-h.html">qlayout.h</a>&gt;</tt>
37<p>Inherits <a href="qboxlayout.html">QBoxLayout</a>.
38<p><a href="qvboxlayout-members.html">List of all member functions.</a>
39<h2>Public Members</h2>
40<ul>
41<li class=fn><a href="#QVBoxLayout"><b>QVBoxLayout</b></a> ( QWidget&nbsp;*&nbsp;parent, int&nbsp;margin = 0, int&nbsp;spacing = -1, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
42<li class=fn><a href="#QVBoxLayout-2"><b>QVBoxLayout</b></a> ( QLayout&nbsp;*&nbsp;parentLayout, int&nbsp;spacing = -1, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
43<li class=fn><a href="#QVBoxLayout-3"><b>QVBoxLayout</b></a> ( int&nbsp;spacing = -1, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
44<li class=fn><a href="#~QVBoxLayout"><b>~QVBoxLayout</b></a> ()</li>
45</ul>
46<hr><a name="details"></a><h2>Detailed Description</h2>
47
48
49<p> The QVBoxLayout class lines up widgets vertically.
50<p>
51
52
53<p> This class is used to construct vertical box layout objects. See
54<a href="qboxlayout.html">QBoxLayout</a> for more details.
55<p> The simplest use of the class is like this:
56<pre>
57 <a href="qboxlayout.html">QBoxLayout</a> * l = new QVBoxLayout( widget );
58 l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( aWidget );
59 l-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( anotherWidget );
60 </pre>
61
62<p> <center><img src="qvboxlayout.png" alt="QVBox"></center>
63<p> <p>See also <a href="qhboxlayout.html">QHBoxLayout</a>, <a href="qgridlayout.html">QGridLayout</a>, <a href="layout.html">the Layout overview</a>, <a href="appearance.html">Widget Appearance and Style</a>, and <a href="geomanagement.html">Layout Management</a>.
64
65<hr><h2>Member Function Documentation</h2>
66<h3 class=fn><a name="QVBoxLayout"></a>QVBoxLayout::QVBoxLayout ( <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;parent, int&nbsp;margin = 0, int&nbsp;spacing = -1, const&nbsp;char&nbsp;*&nbsp;name = 0 )
67</h3>
68Constructs a new top-level vertical box called <em>name</em>, with
69parent <em>parent</em>.
70<p> The <em>margin</em> is the number of pixels between the edge of the
71widget and its managed children. The <em>spacing</em> is the default
72number of pixels between neighboring children. If <em>spacing</em> is -1
73the value of <em>margin</em> is used for <em>spacing</em>.
74
75<h3 class=fn><a name="QVBoxLayout-2"></a>QVBoxLayout::QVBoxLayout ( <a href="qlayout.html">QLayout</a>&nbsp;*&nbsp;parentLayout, int&nbsp;spacing = -1, const&nbsp;char&nbsp;*&nbsp;name = 0 )
76</h3>
77Constructs a new vertical box called name <em>name</em> and adds it to
78<em>parentLayout</em>.
79<p> The <em>spacing</em> is the default number of pixels between neighboring
80children. If <em>spacing</em> is -1, this QVBoxLayout will inherit its
81parent's <a href="qlayout.html#spacing">spacing</a>().
82
83<h3 class=fn><a name="QVBoxLayout-3"></a>QVBoxLayout::QVBoxLayout ( int&nbsp;spacing = -1, const&nbsp;char&nbsp;*&nbsp;name = 0 )
84</h3>
85Constructs a new vertical box called name <em>name</em>. You must add
86it to another layout.
87<p> The <em>spacing</em> is the default number of pixels between neighboring
88children. If <em>spacing</em> is -1, this QVBoxLayout will inherit its
89parent's <a href="qlayout.html#spacing">spacing</a>().
90
91<h3 class=fn><a name="~QVBoxLayout"></a>QVBoxLayout::~QVBoxLayout ()
92</h3>
93Destroys this box layout.
94<p> The layout's widgets aren't destroyed.
95
96<!-- eof -->
97<hr><p>
98This file is part of the <a href="index.html">Qt toolkit</a>.
99Copyright &copy; 1995-2007
100<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
101<table width=100% cellspacing=0 border=0><tr>
102<td>Copyright &copy; 2007
103<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
104<td align=right><div align=right>Qt 3.3.8</div>
105</table></div></address></body>
106</html>
Note: See TracBrowser for help on using the repository browser.