~ubuntu-branches/ubuntu/precise/python-qt4/precise-proposed

« back to all changes in this revision

Viewing changes to doc/html/qstyleoptiontoolbar.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell, Jonathan Riddell
  • Date: 2010-11-08 16:13:33 UTC
  • mfrom: (1.5.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108161333-0nec4wu0nz3wpf9r
Tags: 4.8.1-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Build against python-sip-dev 4.11.2
* Remove kubuntu_02_fix-scpk-and-flag-issue.diff merged upstream
* Install __init__.py into /usr/lib/python3.2/dist-packages/PyQt4,
  fixes Python 3 support
* Add QtDeclarative to python-qt4
* Add kubuntu_03_uiparser.diff from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
 
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QStyleOptionToolBar Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QStyleOptionToolBar class is used to describe the parameters for drawing a toolbar. <a href="#details">More...</a></p>
10
 
<p>Inherits <a href="qstyleoption.html">QStyleOption</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#StyleOptionType-enum">StyleOptionType</a></b> { Type }</li><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</li><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#ToolBarFeature-enum">ToolBarFeature</a></b> { None, Movable }</li><li><div class="fn" />class <b><a href="qstyleoptiontoolbar-toolbarfeatures.html">ToolBarFeatures</a></b></li><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a></b> { Beginning, Middle, End, OnlyOne }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qstyleoptiontoolbar.html#QStyleOptionToolBar">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qstyleoptiontoolbar.html#QStyleOptionToolBar-2">__init__</a></b> (<i>self</i>, QStyleOptionToolBar)</li></ul><h3>Members</h3><ul><li><div class="fn" />ToolBarFeatures <b><a href="qstyleoptiontoolbar.html#features-var">features</a></b></li><li><div class="fn" />int <b><a href="qstyleoptiontoolbar.html#lineWidth-var">lineWidth</a></b></li><li><div class="fn" />int <b><a href="qstyleoptiontoolbar.html#midLineWidth-var">midLineWidth</a></b></li><li><div class="fn" />ToolBarPosition <b><a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a></b></li><li><div class="fn" />ToolBarPosition <b><a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a></b></li><li><div class="fn" />Qt.ToolBarArea <b><a href="qstyleoptiontoolbar.html#toolBarArea-var">toolBarArea</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QStyleOptionToolBar class is used to describe the parameters for drawing a toolbar.</p>
 
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QStyleOptionToolBar Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QStyleOptionToolBar class is used to describe the parameters
 
10
for drawing a toolbar. <a href="#details">More...</a></p>
 
11
 
 
12
<p>Inherits <a href="qstyleoption.html">QStyleOption</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#StyleOptionType-enum">StyleOptionType</a></b> { Type }</li><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</li><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#ToolBarFeature-enum">ToolBarFeature</a></b> { None, Movable }</li><li><div class="fn" />class <b><a href="qstyleoptiontoolbar-toolbarfeatures.html">ToolBarFeatures</a></b></li><li><div class="fn" />enum <b><a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a></b> { Beginning, Middle, End, OnlyOne }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qstyleoptiontoolbar.html#QStyleOptionToolBar">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qstyleoptiontoolbar.html#QStyleOptionToolBar-2">__init__</a></b> (<i>self</i>, QStyleOptionToolBar)</li></ul><h3>Members</h3><ul><li><div class="fn" />ToolBarFeatures <b><a href="qstyleoptiontoolbar.html#features-var">features</a></b></li><li><div class="fn" />int <b><a href="qstyleoptiontoolbar.html#lineWidth-var">lineWidth</a></b></li><li><div class="fn" />int <b><a href="qstyleoptiontoolbar.html#midLineWidth-var">midLineWidth</a></b></li><li><div class="fn" />ToolBarPosition <b><a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a></b></li><li><div class="fn" />ToolBarPosition <b><a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a></b></li><li><div class="fn" />Qt.ToolBarArea <b><a href="qstyleoptiontoolbar.html#toolBarArea-var">toolBarArea</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QStyleOptionToolBar class is used to describe the parameters
 
13
for drawing a toolbar.</p>
11
14
<p>QStyleOptionToolBar contains all the information that <a href="qstyle.html">QStyle</a> functions need to draw <a href="qtoolbar.html">QToolBar</a>.</p>
12
 
<p>For performance reasons, the access to the member variables is direct (i.e., using the <tt>.</tt> or <tt>-&gt;</tt> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.</p>
13
 
<p>The QStyleOptionToolBar class holds the <a href="qstyleoptiontoolbar.html#lineWidth-var">lineWidth</a> and the <a href="qstyleoptiontoolbar.html#midLineWidth-var">midLineWidth</a> for drawing the widget. It also stores information about which <a href="qstyleoptiontoolbar.html#toolBarArea-var">area</a> the toolbar should be located in, whether it is movable or not, which position the toolbar line should have (<a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a>), and the toolbar's position within the line (<a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a>).</p>
14
 
<p>In addition, the class provides a couple of enums: The <a href="qstyleoptiontoolbar.html#ToolBarFeature-enum">ToolBarFeature</a> enum is used to describe whether a toolbar is movable or not, and the <a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a> enum is used to describe the position of a toolbar line, as well as the toolbar's position within the line.</p>
15
 
<p>For an example demonstrating how style options can be used, see the <a href="widgets-styles.html">Styles</a> example.</p>
16
 
<p>See also <a href="qstyleoption.html">QStyleOption</a>.</p>
17
 
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="StyleOptionType-enum" />QStyleOptionToolBar.StyleOptionType</h3><p>This enum is used to hold information about the type of the style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
18
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
19
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
20
 
<tr><td valign="top"><tt>QStyleOptionToolBar.Type</tt></td><td align="center" valign="top"><tt>SO_ToolBar</tt></td><td valign="top">The type of style option provided (<a href="qstyleoption.html#OptionType-enum">SO_ToolBar</a> for this class).</td></tr>
21
 
</table></p>
22
 
<p>The type is used internally by <a href="qstyleoption.html">QStyleOption</a>, its subclasses, and <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>() to determine the type of style option. In general you do not need to worry about this unless you want to create your own <a href="qstyleoption.html">QStyleOption</a> subclass and your own styles.</p>
 
15
<p>For performance reasons, the access to the member variables is
 
16
direct (i.e., using the <tt>.</tt> or <tt>-&gt;</tt> operator).
 
17
This low-level feel makes the structures straightforward to use and
 
18
emphasizes that these are simply parameters used by the style
 
19
functions.</p>
 
20
<p>The QStyleOptionToolBar class holds the <a href="qstyleoptiontoolbar.html#lineWidth-var">lineWidth</a> and the
 
21
<a href="qstyleoptiontoolbar.html#midLineWidth-var">midLineWidth</a> for
 
22
drawing the widget. It also stores information about which <a href="qstyleoptiontoolbar.html#toolBarArea-var">area</a> the toolbar
 
23
should be located in, whether it is movable or not, which position
 
24
the toolbar line should have (<a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a>),
 
25
and the toolbar's position within the line (<a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a>).</p>
 
26
<p>In addition, the class provides a couple of enums: The <a href="qstyleoptiontoolbar.html#ToolBarFeature-enum">ToolBarFeature</a>
 
27
enum is used to describe whether a toolbar is movable or not, and
 
28
the <a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a>
 
29
enum is used to describe the position of a toolbar line, as well as
 
30
the toolbar's position within the line.</p>
 
31
<p>For an example demonstrating how style options can be used, see
 
32
the <a href="widgets-styles.html">Styles</a> example.</p>
 
33
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="StyleOptionType-enum" />QStyleOptionToolBar.StyleOptionType</h3><p>This enum is used to hold information about the type of the
 
34
style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
 
35
<table class="valuelist">
 
36
<tr class="odd">
 
37
<td />
 
38
</tr>
 
39
<tr>
 
40
<th class="tblConst">Constant</th>
 
41
<th class="tblval">Value</th>
 
42
<th class="tbldscr">Description</th>
 
43
</tr>
 
44
<tr>
 
45
<td class="topAlign"><tt>QStyleOptionToolBar.Type</tt></td>
 
46
<td class=" topAlign"><tt>SO_ToolBar</tt></td>
 
47
<td class="topAlign">The type of style option provided (<a href="qstyleoption.html#OptionType-enum">SO_ToolBar</a> for this
 
48
class).</td>
 
49
</tr>
 
50
</table>
 
51
<p>The type is used internally by <a href="qstyleoption.html">QStyleOption</a>, its subclasses, and <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>() to
 
52
determine the type of style option. In general you do not need to
 
53
worry about this unless you want to create your own <a href="qstyleoption.html">QStyleOption</a> subclass and your own
 
54
styles.</p>
23
55
<p>See also <a href="qstyleoptiontoolbar.html#StyleOptionVersion-enum">StyleOptionVersion</a>.</p>
24
 
<a name="//apple_ref/cpp/tag/QStyleOptionToolBar/StyleOptionVersion" />
25
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/Version" />
26
 
<h3 class="fn"><a name="StyleOptionVersion-enum" />QStyleOptionToolBar.StyleOptionVersion</h3><p>This enum is used to hold information about the version of the style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
27
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
28
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
29
 
<tr><td valign="top"><tt>QStyleOptionToolBar.Version</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">1</td></tr>
30
 
</table></p>
31
 
<p>The version is used by <a href="qstyleoption.html">QStyleOption</a> subclasses to implement extensions without breaking compatibility. If you use <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>(), you normally do not need to check it.</p>
 
56
 
 
57
 
 
58
<h3 class="fn"><a name="StyleOptionVersion-enum" />QStyleOptionToolBar.StyleOptionVersion</h3><p>This enum is used to hold information about the version of the
 
59
style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
 
60
<table class="valuelist">
 
61
<tr class="odd">
 
62
<td />
 
63
</tr>
 
64
<tr>
 
65
<th class="tblConst">Constant</th>
 
66
<th class="tblval">Value</th>
 
67
<th class="tbldscr">Description</th>
 
68
</tr>
 
69
<tr>
 
70
<td class="topAlign"><tt>QStyleOptionToolBar.Version</tt></td>
 
71
<td class=" topAlign"><tt>1</tt></td>
 
72
<td class="topAlign">1</td>
 
73
</tr>
 
74
</table>
 
75
<p>The version is used by <a href="qstyleoption.html">QStyleOption</a> subclasses to implement
 
76
extensions without breaking compatibility. If you use <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>(), you
 
77
normally do not need to check it.</p>
32
78
<p>See also <a href="qstyleoptiontoolbar.html#StyleOptionType-enum">StyleOptionType</a>.</p>
33
 
<a name="//apple_ref/cpp/tag/QStyleOptionToolBar/ToolBarFeature" />
34
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/None" />
35
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/Movable" />
36
 
<a name="//apple_ref/cpp/tdef/QStyleOptionToolBar/ToolBarFeatures" />
37
 
<h3 class="fn"><a name="ToolBarFeature-enum" />QStyleOptionToolBar.ToolBarFeature</h3><p>This enum is used to describe whether a toolbar is movable or not.</p>
38
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
39
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
40
 
<tr><td valign="top"><tt>QStyleOptionToolBar.None</tt></td><td align="center" valign="top"><tt>0x0</tt></td><td valign="top">The toolbar cannot be moved. The default value.</td></tr>
41
 
<tr><td valign="top"><tt>QStyleOptionToolBar.Movable</tt></td><td align="center" valign="top"><tt>0x1</tt></td><td valign="top">The toolbar is movable, and a handle will appear when holding the cursor over the toolbar's boundary.</td></tr>
42
 
</table></p>
43
 
<p>The ToolBarFeatures type is a typedef for <a href="qflags.html">QFlags</a>&lt;ToolBarFeature&gt;. It stores an OR combination of ToolBarFeature values.</p>
 
79
 
 
80
 
 
81
<h3 class="fn"><a name="ToolBarFeature-enum" />QStyleOptionToolBar.ToolBarFeature</h3><p>This enum is used to describe whether a toolbar is movable or
 
82
not.</p>
 
83
<table class="valuelist">
 
84
<tr class="odd">
 
85
<td />
 
86
</tr>
 
87
<tr>
 
88
<th class="tblConst">Constant</th>
 
89
<th class="tblval">Value</th>
 
90
<th class="tbldscr">Description</th>
 
91
</tr>
 
92
<tr>
 
93
<td class="topAlign"><tt>QStyleOptionToolBar.None</tt></td>
 
94
<td class=" topAlign"><tt>0x0</tt></td>
 
95
<td class="topAlign">The toolbar cannot be moved. The default
 
96
value.</td>
 
97
</tr>
 
98
<tr>
 
99
<td class="topAlign"><tt>QStyleOptionToolBar.Movable</tt></td>
 
100
<td class=" topAlign"><tt>0x1</tt></td>
 
101
<td class="topAlign">The toolbar is movable, and a handle will
 
102
appear when holding the cursor over the toolbar's boundary.</td>
 
103
</tr>
 
104
</table>
 
105
<p>The ToolBarFeatures type is a typedef for <a href="qflags.html">QFlags</a>&lt;ToolBarFeature&gt;. It stores an OR
 
106
combination of ToolBarFeature values.</p>
44
107
<p>See also <a href="qstyleoptiontoolbar.html#features-var">features</a> and <a href="qtoolbar.html#movable-prop">QToolBar.isMovable</a>().</p>
45
 
<a name="//apple_ref/cpp/tag/QStyleOptionToolBar/ToolBarPosition" />
46
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/Beginning" />
47
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/Middle" />
48
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/End" />
49
 
<a name="//apple_ref/cpp/econst/QStyleOptionToolBar/OnlyOne" />
50
 
<h3 class="fn"><a name="ToolBarPosition-enum" />QStyleOptionToolBar.ToolBarPosition</h3><p align="center"><img src="images/qstyleoptiontoolbar-position.png" /></p><p>This enum is used to describe the position of a toolbar line, as well as the toolbar's position within the line.</p>
51
 
<p>The order of the positions within a line starts at the top of a vertical line, and from the left within a horizontal line. The order of the positions for the lines is always from the the parent widget's boundary edges.</p>
52
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
53
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
54
 
<tr><td valign="top"><tt>QStyleOptionToolBar.Beginning</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The toolbar is located at the beginning of the line, or the toolbar line is the first of several lines. There can only be one toolbar (and only one line) with this position.</td></tr>
55
 
<tr><td valign="top"><tt>QStyleOptionToolBar.Middle</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The toolbar is located in the middle of the line, or the toolbar line is in the middle of several lines. There can several toolbars (and lines) with this position.</td></tr>
56
 
<tr><td valign="top"><tt>QStyleOptionToolBar.End</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The toolbar is located at the end of the line, or the toolbar line is the last of several lines. There can only be one toolbar (and only one line) with this position.</td></tr>
57
 
<tr><td valign="top"><tt>QStyleOptionToolBar.OnlyOne</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">There is only one toolbar or line. This is the default value of the <a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a> and <a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a> variables.</td></tr>
58
 
</table></p>
59
 
<p>See also <a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a> and <a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a>.</p>
60
 
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QStyleOptionToolBar" />QStyleOptionToolBar.__init__ (<i>self</i>)</h3><p>Constructs a <a href="qstyleoptiontoolbar.html">QStyleOptionToolBar</a>, initializing the members variables to their default values.</p>
 
108
 
 
109
 
 
110
<h3 class="fn"><a name="ToolBarPosition-enum" />QStyleOptionToolBar.ToolBarPosition</h3><p class="centerAlign"><img src="images/qstyleoptiontoolbar-position.png" /></p>
 
111
<p>This enum is used to describe the position of a toolbar line, as
 
112
well as the toolbar's position within the line.</p>
 
113
<p>The order of the positions within a line starts at the top of a
 
114
vertical line, and from the left within a horizontal line. The
 
115
order of the positions for the lines is always from the the parent
 
116
widget's boundary edges.</p>
 
117
<table class="valuelist">
 
118
<tr class="odd">
 
119
<td />
 
120
</tr>
 
121
<tr>
 
122
<th class="tblConst">Constant</th>
 
123
<th class="tblval">Value</th>
 
124
<th class="tbldscr">Description</th>
 
125
</tr>
 
126
<tr>
 
127
<td class="topAlign"><tt>QStyleOptionToolBar.Beginning</tt></td>
 
128
<td class=" topAlign"><tt>0</tt></td>
 
129
<td class="topAlign">The toolbar is located at the beginning of the
 
130
line, or the toolbar line is the first of several lines. There can
 
131
only be one toolbar (and only one line) with this position.</td>
 
132
</tr>
 
133
<tr>
 
134
<td class="topAlign"><tt>QStyleOptionToolBar.Middle</tt></td>
 
135
<td class=" topAlign"><tt>1</tt></td>
 
136
<td class="topAlign">The toolbar is located in the middle of the
 
137
line, or the toolbar line is in the middle of several lines. There
 
138
can several toolbars (and lines) with this position.</td>
 
139
</tr>
 
140
<tr>
 
141
<td class="topAlign"><tt>QStyleOptionToolBar.End</tt></td>
 
142
<td class=" topAlign"><tt>2</tt></td>
 
143
<td class="topAlign">The toolbar is located at the end of the line,
 
144
or the toolbar line is the last of several lines. There can only be
 
145
one toolbar (and only one line) with this position.</td>
 
146
</tr>
 
147
<tr>
 
148
<td class="topAlign"><tt>QStyleOptionToolBar.OnlyOne</tt></td>
 
149
<td class=" topAlign"><tt>3</tt></td>
 
150
<td class="topAlign">There is only one toolbar or line. This is the
 
151
default value of the <a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a>
 
152
and <a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a>
 
153
variables.</td>
 
154
</tr>
 
155
</table>
 
156
<p>See also <a href="qstyleoptiontoolbar.html#positionWithinLine-var">positionWithinLine</a>
 
157
and <a href="qstyleoptiontoolbar.html#positionOfLine-var">positionOfLine</a>.</p>
 
158
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QStyleOptionToolBar" />QStyleOptionToolBar.__init__ (<i>self</i>)</h3><p>Constructs a <a href="qstyleoptiontoolbar.html">QStyleOptionToolBar</a>, initializing
 
159
the members variables to their default values.</p>
 
160
 
 
161
 
61
162
<h3 class="fn"><a name="QStyleOptionToolBar-2" />QStyleOptionToolBar.__init__ (<i>self</i>, <a href="qstyleoptiontoolbar.html">QStyleOptionToolBar</a>)</h3><p>Constructs a copy of the <i>other</i> style option.</p>
62
163
<hr /><h2>Member Documentation</h2><h3 class="fn"><a name="features-var" /><a href="qstyleoptiontoolbar-toolbarfeatures.html">ToolBarFeatures</a> features</h3><p>This variable holds whether the toolbar is movable or not.</p>
63
164
<p>The default value is <a href="qstyleoptiontoolbar.html#ToolBarFeature-enum">None</a>.</p>
64
 
<a name="//apple_ref/cpp/data/QStyleOptionToolBar/lineWidth" />
 
165
 
 
166
 
65
167
<h3 class="fn"><a name="lineWidth-var" />int lineWidth</h3><p>This variable holds the line width for drawing the toolbar.</p>
66
168
<p>The default value is 0.</p>
67
 
<a name="//apple_ref/cpp/data/QStyleOptionToolBar/midLineWidth" />
68
 
<h3 class="fn"><a name="midLineWidth-var" />int midLineWidth</h3><p>This variable holds the mid-line width for drawing the toolbar.</p>
 
169
 
 
170
 
 
171
<h3 class="fn"><a name="midLineWidth-var" />int midLineWidth</h3><p>This variable holds the mid-line width for drawing the
 
172
toolbar.</p>
69
173
<p>The default value is 0.</p>
70
 
<a name="//apple_ref/cpp/data/QStyleOptionToolBar/positionOfLine" />
 
174
 
 
175
 
71
176
<h3 class="fn"><a name="positionOfLine-var" /><a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a> positionOfLine</h3><p>This variable holds the position of the toolbar line.</p>
72
177
<p>The default value is <a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">QStyleOptionToolBar.OnlyOne</a>.</p>
73
 
<a name="//apple_ref/cpp/data/QStyleOptionToolBar/positionWithinLine" />
74
 
<h3 class="fn"><a name="positionWithinLine-var" /><a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a> positionWithinLine</h3><p>This variable holds the position of the toolbar within a line.</p>
 
178
 
 
179
 
 
180
<h3 class="fn"><a name="positionWithinLine-var" /><a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">ToolBarPosition</a> positionWithinLine</h3><p>This variable holds the position of the toolbar within a
 
181
line.</p>
75
182
<p>The default value is <a href="qstyleoptiontoolbar.html#ToolBarPosition-enum">QStyleOptionToolBar.OnlyOne</a>.</p>
76
 
<a name="//apple_ref/cpp/data/QStyleOptionToolBar/toolBarArea" />
 
183
 
 
184
 
77
185
<h3 class="fn"><a name="toolBarArea-var" /><a href="qt.html#ToolBarArea-enum">Qt.ToolBarArea</a> toolBarArea</h3><p>This variable holds the location for drawing the toolbar.</p>
78
186
<p>The default value is <a href="qt.html#ToolBarArea-enum">Qt.TopToolBarArea</a>.</p>
79
187
<p>See also <a href="qt.html#ToolBarArea-enum">Qt.ToolBarArea</a>.</p>
80
 
<p /><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.7.7 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.6.3</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'
 
188
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.8.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.7.0</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'