~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/q3groupbox.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/qt3support/widgets/q3groupbox.cpp -->
 
5
<!-- q3groupbox.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: Q3GroupBox Class Reference</title>
 
7
  <title>Qt 4.6: Q3GroupBox Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//Q3GroupBox" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">Q3GroupBox Class Reference<br /><span class="small-subtitle">[<a href="qt3support.html">Qt3Support</a> module]</span>
 
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">Q3GroupBox Class Reference<br /><span class="small-subtitle">[<a href="qt3support.html">Qt3Support</a> module]</span>
16
17
</h1>
17
18
<p>The Q3GroupBox widget provides a group box frame with a title. <a href="#details">More...</a></p>
18
19
<pre> #include &lt;Q3GroupBox&gt;</pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See <a href="porting4.html#qgroupbox">Porting to Qt 4</a> for more information.</p>
21
22
<ul>
22
23
<li><a href="q3groupbox-members.html">List of all members, including inherited members</a></li>
23
24
</ul>
 
25
<hr />
24
26
<a name="properties"></a>
25
 
<h3>Properties</h3>
26
 
<p><table width="100%" border="0" cellpadding="0" cellspacing="0">
 
27
<h2>Properties</h2>
 
28
<p><table class="propsummary" width="100%" border="0" cellpadding="0" cellspacing="0">
27
29
<tr><td width="45%" valign="top"><ul>
28
 
<li><div class="fn"></div><b><a href="q3groupbox.html#columns-prop">columns</a></b> : int</li>
29
 
<li><div class="fn"></div><b><a href="q3groupbox.html#frameRect-prop">frameRect</a></b> : const QRect</li>
30
 
<li><div class="fn"></div><b><a href="q3groupbox.html#frameShadow-prop">frameShadow</a></b> : FrameShape</li>
31
 
<li><div class="fn"></div><b><a href="q3groupbox.html#frameShape-prop">frameShape</a></b> : FrameShape</li>
 
30
<li><div class="fn"><b><a href="q3groupbox.html#columns-prop">columns</a></b> : int</div></li>
 
31
<li><div class="fn"><b><a href="q3groupbox.html#frameRect-prop">frameRect</a></b> : const QRect</div></li>
 
32
<li><div class="fn"><b><a href="q3groupbox.html#frameShadow-prop">frameShadow</a></b> : FrameShape</div></li>
 
33
<li><div class="fn"><b><a href="q3groupbox.html#frameShape-prop">frameShape</a></b> : FrameShape</div></li>
32
34
</ul></td><td valign="top"><ul>
33
 
<li><div class="fn"></div><b><a href="q3groupbox.html#lineWidth-prop">lineWidth</a></b> : int</li>
34
 
<li><div class="fn"></div><b><a href="q3groupbox.html#margin-prop">margin</a></b> : int</li>
35
 
<li><div class="fn"></div><b><a href="q3groupbox.html#midLineWidth-prop">midLineWidth</a></b> : int</li>
36
 
<li><div class="fn"></div><b><a href="q3groupbox.html#orientation-prop">orientation</a></b> : Qt::Orientation</li>
 
35
<li><div class="fn"><b><a href="q3groupbox.html#lineWidth-prop">lineWidth</a></b> : int</div></li>
 
36
<li><div class="fn"><b><a href="q3groupbox.html#margin-prop">margin</a></b> : int</div></li>
 
37
<li><div class="fn"><b><a href="q3groupbox.html#midLineWidth-prop">midLineWidth</a></b> : int</div></li>
 
38
<li><div class="fn"><b><a href="q3groupbox.html#orientation-prop">orientation</a></b> : Qt::Orientation</div></li>
37
39
</ul>
38
40
</td></tr>
39
41
</table></p>
40
42
<ul>
41
 
<li><div class="fn"></div>5 properties inherited from <a href="qgroupbox.html#properties">QGroupBox</a></li>
42
 
<li><div class="fn"></div>57 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
43
 
<li><div class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
 
43
<li><div bar="2" class="fn"></div>5 properties inherited from <a href="qgroupbox.html#properties">QGroupBox</a></li>
 
44
<li><div bar="2" class="fn"></div>58 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
 
45
<li><div bar="2" class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
44
46
</ul>
 
47
<hr />
45
48
<a name="public-functions"></a>
46
 
<h3>Public Functions</h3>
 
49
<h2>Public Functions</h2>
 
50
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
51
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#Q3GroupBox">Q3GroupBox</a></b> ( QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
 
52
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#Q3GroupBox-2">Q3GroupBox</a></b> ( const QString &amp; <i>title</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
 
53
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#Q3GroupBox-3">Q3GroupBox</a></b> ( int <i>strips</i>, Qt::Orientation <i>orientation</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
 
54
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#Q3GroupBox-4">Q3GroupBox</a></b> ( int <i>strips</i>, Qt::Orientation <i>orientation</i>, const QString &amp; <i>title</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</td></tr>
 
55
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#dtor.Q3GroupBox">~Q3GroupBox</a></b> ()</td></tr>
 
56
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#addSpace">addSpace</a></b> ( int <i>size</i> )</td></tr>
 
57
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#columns-prop">columns</a></b> () const</td></tr>
 
58
<tr><td class="memItemLeft" align="right" valign="top">FrameShape </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#frameShadow-prop">frameShadow</a></b> () const</td></tr>
 
59
<tr><td class="memItemLeft" align="right" valign="top">FrameShape </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#frameShape-prop">frameShape</a></b> () const</td></tr>
 
60
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#frameStyle">frameStyle</a></b> () const</td></tr>
 
61
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#insideMargin">insideMargin</a></b> () const</td></tr>
 
62
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#insideSpacing">insideSpacing</a></b> () const</td></tr>
 
63
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#lineWidth-prop">lineWidth</a></b> () const</td></tr>
 
64
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#margin-prop">margin</a></b> () const</td></tr>
 
65
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#midLineWidth-prop">midLineWidth</a></b> () const</td></tr>
 
66
<tr><td class="memItemLeft" align="right" valign="top">Qt::Orientation </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#orientation-prop">orientation</a></b> () const</td></tr>
 
67
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#setColumnLayout">setColumnLayout</a></b> ( int <i>strips</i>, Qt::Orientation <i>direction</i> )</td></tr>
 
68
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#columns-prop">setColumns</a></b> ( int )</td></tr>
 
69
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#frameShadow-prop">setFrameShadow</a></b> ( FrameShape )</td></tr>
 
70
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#frameShape-prop">setFrameShape</a></b> ( FrameShape )</td></tr>
 
71
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#setFrameStyle">setFrameStyle</a></b> ( int <i>style</i> )</td></tr>
 
72
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#setInsideMargin">setInsideMargin</a></b> ( int <i>m</i> )</td></tr>
 
73
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#setInsideSpacing">setInsideSpacing</a></b> ( int <i>s</i> )</td></tr>
 
74
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#lineWidth-prop">setLineWidth</a></b> ( int )</td></tr>
 
75
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#margin-prop">setMargin</a></b> ( int <i>margin</i> )</td></tr>
 
76
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#midLineWidth-prop">setMidLineWidth</a></b> ( int )</td></tr>
 
77
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#orientation-prop">setOrientation</a></b> ( Qt::Orientation )</td></tr>
 
78
</table>
47
79
<ul>
48
 
<li><div class="fn"></div><b><a href="q3groupbox.html#Q3GroupBox">Q3GroupBox</a></b> ( QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</li>
49
 
<li><div class="fn"></div><b><a href="q3groupbox.html#Q3GroupBox-2">Q3GroupBox</a></b> ( const QString &amp; <i>title</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</li>
50
 
<li><div class="fn"></div><b><a href="q3groupbox.html#Q3GroupBox-3">Q3GroupBox</a></b> ( int <i>strips</i>, Qt::Orientation <i>orientation</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</li>
51
 
<li><div class="fn"></div><b><a href="q3groupbox.html#Q3GroupBox-4">Q3GroupBox</a></b> ( int <i>strips</i>, Qt::Orientation <i>orientation</i>, const QString &amp; <i>title</i>, QWidget * <i>parent</i> = 0, const char * <i>name</i> = 0 )</li>
52
 
<li><div class="fn"></div><b><a href="q3groupbox.html#dtor.Q3GroupBox">~Q3GroupBox</a></b> ()</li>
53
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#addSpace">addSpace</a></b> ( int <i>size</i> )</li>
54
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#columns-prop">columns</a></b> () const</li>
55
 
<li><div class="fn"></div>FrameShape <b><a href="q3groupbox.html#frameShadow-prop">frameShadow</a></b> () const</li>
56
 
<li><div class="fn"></div>FrameShape <b><a href="q3groupbox.html#frameShape-prop">frameShape</a></b> () const</li>
57
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#frameStyle">frameStyle</a></b> () const</li>
58
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#insideMargin">insideMargin</a></b> () const</li>
59
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#insideSpacing">insideSpacing</a></b> () const</li>
60
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#lineWidth-prop">lineWidth</a></b> () const</li>
61
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#margin-prop">margin</a></b> () const</li>
62
 
<li><div class="fn"></div>int <b><a href="q3groupbox.html#midLineWidth-prop">midLineWidth</a></b> () const</li>
63
 
<li><div class="fn"></div>Qt::Orientation <b><a href="q3groupbox.html#orientation-prop">orientation</a></b> () const</li>
64
 
<li><div class="fn"></div>virtual void <b><a href="q3groupbox.html#setColumnLayout">setColumnLayout</a></b> ( int <i>strips</i>, Qt::Orientation <i>direction</i> )</li>
65
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#columns-prop">setColumns</a></b> ( int )</li>
66
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#frameShadow-prop">setFrameShadow</a></b> ( FrameShape )</li>
67
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#frameShape-prop">setFrameShape</a></b> ( FrameShape )</li>
68
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#setFrameStyle">setFrameStyle</a></b> ( int <i>style</i> )</li>
69
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#setInsideMargin">setInsideMargin</a></b> ( int <i>m</i> )</li>
70
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#setInsideSpacing">setInsideSpacing</a></b> ( int <i>s</i> )</li>
71
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#lineWidth-prop">setLineWidth</a></b> ( int )</li>
72
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#margin-prop">setMargin</a></b> ( int <i>margin</i> )</li>
73
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#midLineWidth-prop">setMidLineWidth</a></b> ( int )</li>
74
 
<li><div class="fn"></div>void <b><a href="q3groupbox.html#orientation-prop">setOrientation</a></b> ( Qt::Orientation )</li>
 
80
<li><div bar="2" class="fn"></div>10 public functions inherited from <a href="qgroupbox.html#public-functions">QGroupBox</a></li>
 
81
<li><div bar="2" class="fn"></div>215 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
 
82
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
 
83
<li><div bar="2" class="fn"></div>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
75
84
</ul>
 
85
<hr />
 
86
<a name="reimplemented-protected-functions"></a>
 
87
<h2>Reimplemented Protected Functions</h2>
 
88
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
89
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#changeEvent">changeEvent</a></b> ( QEvent * <i>ev</i> )</td></tr>
 
90
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#childEvent">childEvent</a></b> ( QChildEvent * <i>c</i> )</td></tr>
 
91
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#event">event</a></b> ( QEvent * <i>e</i> )</td></tr>
 
92
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="q3groupbox.html#resizeEvent">resizeEvent</a></b> ( QResizeEvent * <i>e</i> )</td></tr>
 
93
</table>
76
94
<ul>
77
 
<li><div class="fn"></div>9 public functions inherited from <a href="qgroupbox.html#public-functions">QGroupBox</a></li>
78
 
<li><div class="fn"></div>207 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
79
 
<li><div class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
80
 
<li><div class="fn"></div>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
 
95
<li><div bar="2" class="fn"></div>10 protected functions inherited from <a href="qgroupbox.html#protected-functions">QGroupBox</a></li>
 
96
<li><div bar="2" class="fn"></div>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
 
97
<li><div bar="2" class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
98
<li><div bar="2" class="fn"></div>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
81
99
</ul>
82
100
<h3>Additional Inherited Members</h3>
83
101
<ul>
89
107
<li><div class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
90
108
<li><div class="fn"></div>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
91
109
<li><div class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
92
 
<li><div class="fn"></div>1 protected function inherited from <a href="qgroupbox.html#protected-functions">QGroupBox</a></li>
 
110
<li><div class="fn"></div>10 protected functions inherited from <a href="qgroupbox.html#protected-functions">QGroupBox</a></li>
93
111
<li><div class="fn"></div>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
94
112
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
95
113
<li><div class="fn"></div>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
107
125
<p>See also <a href="qbuttongroup.html">QButtonGroup</a>.</p>
108
126
<hr />
109
127
<h2>Property Documentation</h2>
 
128
<a name="//apple_ref/cpp/instm/Q3GroupBox/columns" />
 
129
<a name="//apple_ref/cpp/instm/Q3GroupBox/setColumns" />
110
130
<h3 class="fn"><a name="columns-prop"></a>columns : int</h3>
111
131
<p>This property holds the number of columns or rows (depending on Q3GroupBox::orientation) in the group box.</p>
112
132
<p>Usually it is not a good idea to set this property because it is slow (it does a complete layout). It is best to set the number of columns directly in the constructor.</p>
113
 
<p>Access functions:</p>
114
 
<ul>
115
 
<li><div class="fn"></div><b>int columns () const</b></li>
116
 
<li><div class="fn"></div><b>void setColumns ( int )</b></li>
117
 
</ul>
 
133
<p><b>Access functions:</b></p>
 
134
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
135
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>columns</b> () const</td></tr>
 
136
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setColumns</b> ( int )</td></tr>
 
137
</table>
118
138
<h3 class="fn"><a name="frameRect-prop"></a>frameRect : const <a href="qrect.html">QRect</a></h3>
119
139
<p>This property holds the bounding rectangle of the frame of the group box.</p>
 
140
<a name="//apple_ref/cpp/instm/Q3GroupBox/frameShadow" />
 
141
<a name="//apple_ref/cpp/instm/Q3GroupBox/setFrameShadow" />
120
142
<h3 class="fn"><a name="frameShadow-prop"></a>frameShadow : FrameShape</h3>
121
143
<p>This property holds the frame shadow value from the frame style.</p>
122
 
<p>Access functions:</p>
123
 
<ul>
124
 
<li><div class="fn"></div><b>FrameShape frameShadow () const</b></li>
125
 
<li><div class="fn"></div><b>void setFrameShadow ( FrameShape )</b></li>
126
 
</ul>
 
144
<p><b>Access functions:</b></p>
 
145
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
146
<tr><td class="memItemLeft" align="right" valign="top">FrameShape </td><td class="memItemRight" valign="bottom"><b>frameShadow</b> () const</td></tr>
 
147
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setFrameShadow</b> ( FrameShape )</td></tr>
 
148
</table>
127
149
<p>See also <a href="q3groupbox.html#frameStyle">frameStyle</a>().</p>
 
150
<a name="//apple_ref/cpp/instm/Q3GroupBox/frameShape" />
 
151
<a name="//apple_ref/cpp/instm/Q3GroupBox/setFrameShape" />
128
152
<h3 class="fn"><a name="frameShape-prop"></a>frameShape : FrameShape</h3>
129
153
<p>This property holds the frame shape value from the frame style.</p>
130
 
<p>Access functions:</p>
131
 
<ul>
132
 
<li><div class="fn"></div><b>FrameShape frameShape () const</b></li>
133
 
<li><div class="fn"></div><b>void setFrameShape ( FrameShape )</b></li>
134
 
</ul>
 
154
<p><b>Access functions:</b></p>
 
155
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
156
<tr><td class="memItemLeft" align="right" valign="top">FrameShape </td><td class="memItemRight" valign="bottom"><b>frameShape</b> () const</td></tr>
 
157
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setFrameShape</b> ( FrameShape )</td></tr>
 
158
</table>
135
159
<p>See also <a href="q3groupbox.html#frameStyle">frameStyle</a>() and <a href="q3groupbox.html#frameShadow-prop">frameShadow</a>().</p>
 
160
<a name="//apple_ref/cpp/instm/Q3GroupBox/lineWidth" />
 
161
<a name="//apple_ref/cpp/instm/Q3GroupBox/setLineWidth" />
136
162
<h3 class="fn"><a name="lineWidth-prop"></a>lineWidth : int</h3>
137
163
<p>This property holds this property holds the width of the line.</p>
138
 
<p>Access functions:</p>
139
 
<ul>
140
 
<li><div class="fn"></div><b>int lineWidth () const</b></li>
141
 
<li><div class="fn"></div><b>void setLineWidth ( int )</b></li>
142
 
</ul>
 
164
<p><b>Access functions:</b></p>
 
165
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
166
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>lineWidth</b> () const</td></tr>
 
167
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setLineWidth</b> ( int )</td></tr>
 
168
</table>
143
169
<p>See also <a href="q3groupbox.html#frameStyle">frameStyle</a>() and <a href="q3groupbox.html#frameShadow-prop">frameShadow</a>().</p>
 
170
<a name="//apple_ref/cpp/instm/Q3GroupBox/margin" />
 
171
<a name="//apple_ref/cpp/instm/Q3GroupBox/setMargin" />
144
172
<h3 class="fn"><a name="margin-prop"></a>margin : int</h3>
145
173
<p>This property holds the width of the margin around the contents of the group box.</p>
146
 
<p>Access functions:</p>
147
 
<ul>
148
 
<li><div class="fn"></div><b>int margin () const</b></li>
149
 
<li><div class="fn"></div><b>void setMargin ( int <i>margin</i> )</b></li>
150
 
</ul>
 
174
<p><b>Access functions:</b></p>
 
175
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
176
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>margin</b> () const</td></tr>
 
177
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setMargin</b> ( int <i>margin</i> )</td></tr>
 
178
</table>
 
179
<a name="//apple_ref/cpp/instm/Q3GroupBox/midLineWidth" />
 
180
<a name="//apple_ref/cpp/instm/Q3GroupBox/setMidLineWidth" />
151
181
<h3 class="fn"><a name="midLineWidth-prop"></a>midLineWidth : int</h3>
152
182
<p>This property holds this property holds the width of the mid-line.</p>
153
 
<p>Access functions:</p>
154
 
<ul>
155
 
<li><div class="fn"></div><b>int midLineWidth () const</b></li>
156
 
<li><div class="fn"></div><b>void setMidLineWidth ( int )</b></li>
157
 
</ul>
 
183
<p><b>Access functions:</b></p>
 
184
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
185
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>midLineWidth</b> () const</td></tr>
 
186
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setMidLineWidth</b> ( int )</td></tr>
 
187
</table>
158
188
<p>See also <a href="q3groupbox.html#frameStyle">frameStyle</a>() and <a href="q3groupbox.html#frameShadow-prop">frameShadow</a>().</p>
 
189
<a name="//apple_ref/cpp/instm/Q3GroupBox/orientation" />
 
190
<a name="//apple_ref/cpp/instm/Q3GroupBox/setOrientation" />
159
191
<h3 class="fn"><a name="orientation-prop"></a>orientation : <a href="qt.html#Orientation-enum">Qt::Orientation</a></h3>
160
192
<p>This property holds the group box's orientation.</p>
161
193
<p>A horizontal group box arranges its children in columns, while a vertical group box arranges them in rows.</p>
162
194
<p>Usually it is not a good idea to set this property because it is slow (it does a complete layout). It is better to set the orientation directly in the constructor.</p>
163
 
<p>Access functions:</p>
164
 
<ul>
165
 
<li><div class="fn"></div><b>Qt::Orientation orientation () const</b></li>
166
 
<li><div class="fn"></div><b>void setOrientation ( Qt::Orientation )</b></li>
167
 
</ul>
 
195
<p><b>Access functions:</b></p>
 
196
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
197
<tr><td class="memItemLeft" align="right" valign="top">Qt::Orientation </td><td class="memItemRight" valign="bottom"><b>orientation</b> () const</td></tr>
 
198
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setOrientation</b> ( Qt::Orientation )</td></tr>
 
199
</table>
168
200
<hr />
169
201
<h2>Member Function Documentation</h2>
 
202
<a name="//apple_ref/cpp/instm/Q3GroupBox/Q3GroupBox" />
170
203
<h3 class="fn"><a name="Q3GroupBox"></a>Q3GroupBox::Q3GroupBox ( <a href="qwidget.html">QWidget</a> * <i>parent</i> = 0, const char * <i>name</i> = 0 )</h3>
171
204
<p>Constructs a group box widget with no title.</p>
172
205
<p>The <i>parent</i> and <i>name</i> arguments are passed to the <a href="qwidget.html">QWidget</a> constructor.</p>
181
214
<h3 class="fn"><a name="Q3GroupBox-4"></a>Q3GroupBox::Q3GroupBox ( int <i>strips</i>, <a href="qt.html#Orientation-enum">Qt::Orientation</a> <i>orientation</i>, const <a href="qstring.html">QString</a> &amp; <i>title</i>, <a href="qwidget.html">QWidget</a> * <i>parent</i> = 0, const char * <i>name</i> = 0 )</h3>
182
215
<p>Constructs a group box titled <i>title</i>. Child widgets will be arranged in <i>strips</i> rows or columns (depending on <i>orientation</i>).</p>
183
216
<p>The <i>parent</i> and <i>name</i> arguments are passed to the <a href="qwidget.html">QWidget</a> constructor.</p>
 
217
<a name="//apple_ref/cpp/instm/Q3GroupBox/~Q3GroupBox" />
184
218
<h3 class="fn"><a name="dtor.Q3GroupBox"></a>Q3GroupBox::~Q3GroupBox ()</h3>
185
219
<p>Destroys the group box.</p>
 
220
<a name="//apple_ref/cpp/instm/Q3GroupBox/addSpace" />
186
221
<h3 class="fn"><a name="addSpace"></a>void Q3GroupBox::addSpace ( int <i>size</i> )</h3>
187
222
<p>Adds an empty cell at the next free position. If <i>size</i> is greater than 0, the empty cell takes <i>size</i> to be its fixed width (if <a href="q3groupbox.html#orientation-prop">orientation</a>() is <tt>Horizontal</tt>) or height (if <a href="q3groupbox.html#orientation-prop">orientation</a>() is <tt>Vertical</tt>).</p>
188
223
<p>Use this method to separate the widgets in the group box or to skip the next free cell. For performance reasons, call this method after calling <a href="q3groupbox.html#setColumnLayout">setColumnLayout</a>() or by changing the <a href="q3groupbox.html#columns-prop">Q3GroupBox::columns</a> or <a href="q3groupbox.html#orientation-prop">Q3GroupBox::orientation</a> properties. It is generally a good idea to call these methods first (if needed at all), and insert the widgets and spaces afterwards.</p>
 
224
<a name="//apple_ref/cpp/instm/Q3GroupBox/changeEvent" />
 
225
<h3 class="fn"><a name="changeEvent"></a>void Q3GroupBox::changeEvent ( <a href="qevent.html">QEvent</a> * <i>ev</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
226
<p>Reimplemented from <a href="qwidget.html#changeEvent">QWidget::changeEvent</a>().</p>
 
227
<a name="//apple_ref/cpp/instm/Q3GroupBox/childEvent" />
 
228
<h3 class="fn"><a name="childEvent"></a>void Q3GroupBox::childEvent ( <a href="qchildevent.html">QChildEvent</a> * <i>c</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
229
<p>Reimplemented from <a href="qobject.html#childEvent">QObject::childEvent</a>().</p>
 
230
<a name="//apple_ref/cpp/instm/Q3GroupBox/event" />
 
231
<h3 class="fn"><a name="event"></a>bool Q3GroupBox::event ( <a href="qevent.html">QEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
232
<p>Reimplemented from <a href="qobject.html#event">QObject::event</a>().</p>
 
233
<a name="//apple_ref/cpp/instm/Q3GroupBox/frameStyle" />
189
234
<h3 class="fn"><a name="frameStyle"></a>int Q3GroupBox::frameStyle () const</h3>
190
235
<p>Returns the frame style.</p>
191
236
<p>See also <a href="q3groupbox.html#setFrameStyle">setFrameStyle</a>().</p>
 
237
<a name="//apple_ref/cpp/instm/Q3GroupBox/insideMargin" />
192
238
<h3 class="fn"><a name="insideMargin"></a>int Q3GroupBox::insideMargin () const</h3>
193
239
<p>Returns the width of the empty space between the items in the group and the frame of the group.</p>
194
240
<p>Only applies if the group box has a defined orientation.</p>
195
241
<p>The default is usually 11, by may vary depending on the platform and style.</p>
196
242
<p>See also <a href="q3groupbox.html#setInsideMargin">setInsideMargin</a>() and <a href="q3groupbox.html#orientation-prop">orientation</a>.</p>
 
243
<a name="//apple_ref/cpp/instm/Q3GroupBox/insideSpacing" />
197
244
<h3 class="fn"><a name="insideSpacing"></a>int Q3GroupBox::insideSpacing () const</h3>
198
245
<p>Returns the width of the empty space between each of the items in the group.</p>
199
246
<p>Only applies if the group box has a defined orientation.</p>
200
247
<p>The default is usually 5, by may vary depending on the platform and style.</p>
201
248
<p>See also <a href="q3groupbox.html#setInsideSpacing">setInsideSpacing</a>() and <a href="q3groupbox.html#orientation-prop">orientation</a>.</p>
 
249
<a name="//apple_ref/cpp/instm/Q3GroupBox/resizeEvent" />
 
250
<h3 class="fn"><a name="resizeEvent"></a>void Q3GroupBox::resizeEvent ( <a href="qresizeevent.html">QResizeEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
251
<p>Reimplemented from <a href="qwidget.html#resizeEvent">QWidget::resizeEvent</a>().</p>
 
252
<a name="//apple_ref/cpp/instm/Q3GroupBox/setColumnLayout" />
202
253
<h3 class="fn"><a name="setColumnLayout"></a>void Q3GroupBox::setColumnLayout ( int <i>strips</i>, <a href="qt.html#Orientation-enum">Qt::Orientation</a> <i>direction</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
203
254
<p>Changes the layout of the group box. This function is only useful in combination with the default constructor that does not take any layout information. This function will put all existing children in the new layout. It is not good Qt programming style to call this function after children have been inserted. Sets the number of columns or rows to be <i>strips</i>, depending on <i>direction</i>.</p>
204
255
<p>See also <a href="q3groupbox.html#orientation-prop">orientation</a> and <a href="q3groupbox.html#columns-prop">columns</a>.</p>
 
256
<a name="//apple_ref/cpp/instm/Q3GroupBox/setFrameStyle" />
205
257
<h3 class="fn"><a name="setFrameStyle"></a>void Q3GroupBox::setFrameStyle ( int <i>style</i> )</h3>
206
258
<p>Sets the frame style to <i>style</i>. The style is the bitwise OR between a frame shape and a frame shadow style.</p>
207
259
<p>See also <a href="q3groupbox.html#frameStyle">frameStyle</a>().</p>
 
260
<a name="//apple_ref/cpp/instm/Q3GroupBox/setInsideMargin" />
208
261
<h3 class="fn"><a name="setInsideMargin"></a>void Q3GroupBox::setInsideMargin ( int <i>m</i> )</h3>
209
262
<p>Sets the width of the inside margin to <i>m</i> pixels.</p>
210
263
<p>See also <a href="q3groupbox.html#insideMargin">insideMargin</a>().</p>
 
264
<a name="//apple_ref/cpp/instm/Q3GroupBox/setInsideSpacing" />
211
265
<h3 class="fn"><a name="setInsideSpacing"></a>void Q3GroupBox::setInsideSpacing ( int <i>s</i> )</h3>
212
266
<p>Sets the width of the empty space between each of the items in the group to <i>s</i> pixels.</p>
213
267
<p>See also <a href="q3groupbox.html#insideSpacing">insideSpacing</a>().</p>
214
268
<p /><address><hr /><div align="center">
215
269
<table width="100%" cellspacing="0" border="0"><tr class="address">
216
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
217
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
218
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
219
 
</tr></table></div></address></body>
 
270
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
271
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
272
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
273
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
220
274
</html>