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

« back to all changes in this revision

Viewing changes to doc/html/qstyleoptionspinbox.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">QStyleOptionSpinBox Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QStyleOptionSpinBox class is used to describe the parameters necessary for drawing a spin box. <a href="#details">More...</a></p>
10
 
<p>Inherits <a href="qstyleoptioncomplex.html">QStyleOptionComplex</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qstyleoptionspinbox.html#StyleOptionType-enum">StyleOptionType</a></b> { Type }</li><li><div class="fn" />enum <b><a href="qstyleoptionspinbox.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qstyleoptionspinbox.html#QStyleOptionSpinBox">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qstyleoptionspinbox.html#QStyleOptionSpinBox-2">__init__</a></b> (<i>self</i>, QStyleOptionSpinBox)</li></ul><h3>Members</h3><ul><li><div class="fn" />QAbstractSpinBox.ButtonSymbols <b><a href="qstyleoptionspinbox.html#buttonSymbols-var">buttonSymbols</a></b></li><li><div class="fn" />bool <b><a href="qstyleoptionspinbox.html#frame-var">frame</a></b></li><li><div class="fn" />QAbstractSpinBox.StepEnabled <b><a href="qstyleoptionspinbox.html#stepEnabled-var">stepEnabled</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QStyleOptionSpinBox class is used to describe the parameters necessary for drawing a spin box.</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">QStyleOptionSpinBox Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QStyleOptionSpinBox class is used to describe the parameters
 
10
necessary for drawing a spin box. <a href="#details">More...</a></p>
 
11
 
 
12
<p>Inherits <a href="qstyleoptioncomplex.html">QStyleOptionComplex</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qstyleoptionspinbox.html#StyleOptionType-enum">StyleOptionType</a></b> { Type }</li><li><div class="fn" />enum <b><a href="qstyleoptionspinbox.html#StyleOptionVersion-enum">StyleOptionVersion</a></b> { Version }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qstyleoptionspinbox.html#QStyleOptionSpinBox">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qstyleoptionspinbox.html#QStyleOptionSpinBox-2">__init__</a></b> (<i>self</i>, QStyleOptionSpinBox)</li></ul><h3>Members</h3><ul><li><div class="fn" />QAbstractSpinBox.ButtonSymbols <b><a href="qstyleoptionspinbox.html#buttonSymbols-var">buttonSymbols</a></b></li><li><div class="fn" />bool <b><a href="qstyleoptionspinbox.html#frame-var">frame</a></b></li><li><div class="fn" />QAbstractSpinBox.StepEnabled <b><a href="qstyleoptionspinbox.html#stepEnabled-var">stepEnabled</a></b></li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QStyleOptionSpinBox class is used to describe the parameters
 
13
necessary for drawing a spin box.</p>
11
14
<p>QStyleOptionSpinBox contains all the information that <a href="qstyle.html">QStyle</a> functions need to draw <a href="qspinbox.html">QSpinBox</a> and <a href="qdatetimeedit.html">QDateTimeEdit</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>For an example demonstrating how style options can be used, see the <a href="widgets-styles.html">Styles</a> example.</p>
14
 
<p>See also <a href="qstyleoption.html">QStyleOption</a> and <a href="qstyleoptioncomplex.html">QStyleOptionComplex</a>.</p>
15
 
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="StyleOptionType-enum" />QStyleOptionSpinBox.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>
16
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
17
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
18
 
<tr><td valign="top"><tt>QStyleOptionSpinBox.Type</tt></td><td align="center" valign="top"><tt>SO_SpinBox</tt></td><td valign="top">The type of style option provided (<a href="qstyleoption.html#OptionType-enum">SO_SpinBox</a> for this class).</td></tr>
19
 
</table></p>
20
 
<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>For an example demonstrating how style options can be used, see
 
21
the <a href="widgets-styles.html">Styles</a> example.</p>
 
22
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="StyleOptionType-enum" />QStyleOptionSpinBox.StyleOptionType</h3><p>This enum is used to hold information about the type of the
 
23
style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
 
24
<table class="valuelist">
 
25
<tr class="odd">
 
26
<td />
 
27
</tr>
 
28
<tr>
 
29
<th class="tblConst">Constant</th>
 
30
<th class="tblval">Value</th>
 
31
<th class="tbldscr">Description</th>
 
32
</tr>
 
33
<tr>
 
34
<td class="topAlign"><tt>QStyleOptionSpinBox.Type</tt></td>
 
35
<td class=" topAlign"><tt>SO_SpinBox</tt></td>
 
36
<td class="topAlign">The type of style option provided (<a href="qstyleoption.html#OptionType-enum">SO_SpinBox</a> for this
 
37
class).</td>
 
38
</tr>
 
39
</table>
 
40
<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
 
41
determine the type of style option. In general you do not need to
 
42
worry about this unless you want to create your own <a href="qstyleoption.html">QStyleOption</a> subclass and your own
 
43
styles.</p>
21
44
<p>See also <a href="qstyleoptionspinbox.html#StyleOptionVersion-enum">StyleOptionVersion</a>.</p>
22
 
<a name="//apple_ref/cpp/tag/QStyleOptionSpinBox/StyleOptionVersion" />
23
 
<a name="//apple_ref/cpp/econst/QStyleOptionSpinBox/Version" />
24
 
<h3 class="fn"><a name="StyleOptionVersion-enum" />QStyleOptionSpinBox.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>
25
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
26
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
27
 
<tr><td valign="top"><tt>QStyleOptionSpinBox.Version</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">1</td></tr>
28
 
</table></p>
29
 
<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>
 
45
 
 
46
 
 
47
<h3 class="fn"><a name="StyleOptionVersion-enum" />QStyleOptionSpinBox.StyleOptionVersion</h3><p>This enum is used to hold information about the version of the
 
48
style option, and is defined for each <a href="qstyleoption.html">QStyleOption</a> subclass.</p>
 
49
<table class="valuelist">
 
50
<tr class="odd">
 
51
<td />
 
52
</tr>
 
53
<tr>
 
54
<th class="tblConst">Constant</th>
 
55
<th class="tblval">Value</th>
 
56
<th class="tbldscr">Description</th>
 
57
</tr>
 
58
<tr>
 
59
<td class="topAlign"><tt>QStyleOptionSpinBox.Version</tt></td>
 
60
<td class=" topAlign"><tt>1</tt></td>
 
61
<td class="topAlign">1</td>
 
62
</tr>
 
63
</table>
 
64
<p>The version is used by <a href="qstyleoption.html">QStyleOption</a> subclasses to implement
 
65
extensions without breaking compatibility. If you use <a href="qstyleoption.html#qstyleoption_cast">qstyleoption_cast</a>(), you
 
66
normally do not need to check it.</p>
30
67
<p>See also <a href="qstyleoptionspinbox.html#StyleOptionType-enum">StyleOptionType</a>.</p>
31
 
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QStyleOptionSpinBox" />QStyleOptionSpinBox.__init__ (<i>self</i>)</h3><p>Constructs a <a href="qstyleoptionspinbox.html">QStyleOptionSpinBox</a>, initializing the members variables to their default values.</p>
 
68
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QStyleOptionSpinBox" />QStyleOptionSpinBox.__init__ (<i>self</i>)</h3><p>Constructs a <a href="qstyleoptionspinbox.html">QStyleOptionSpinBox</a>, initializing
 
69
the members variables to their default values.</p>
 
70
 
 
71
 
32
72
<h3 class="fn"><a name="QStyleOptionSpinBox-2" />QStyleOptionSpinBox.__init__ (<i>self</i>, <a href="qstyleoptionspinbox.html">QStyleOptionSpinBox</a>)</h3><p>Constructs a copy of the <i>other</i> style option.</p>
33
 
<hr /><h2>Member Documentation</h2><h3 class="fn"><a name="buttonSymbols-var" /><a href="qabstractspinbox.html#ButtonSymbols-enum">QAbstractSpinBox.ButtonSymbols</a> buttonSymbols</h3><p>This variable holds the type of button symbols to draw for the spin box.</p>
34
 
<p>The default value is <a href="qabstractspinbox.html#ButtonSymbols-enum">QAbstractSpinBox.UpDownArrows</a> specufying little arrows in the classic style.</p>
 
73
<hr /><h2>Member Documentation</h2><h3 class="fn"><a name="buttonSymbols-var" /><a href="qabstractspinbox.html#ButtonSymbols-enum">QAbstractSpinBox.ButtonSymbols</a> buttonSymbols</h3><p>This variable holds the type of button symbols to draw for the
 
74
spin box.</p>
 
75
<p>The default value is <a href="qabstractspinbox.html#ButtonSymbols-enum">QAbstractSpinBox.UpDownArrows</a>
 
76
specufying little arrows in the classic style.</p>
35
77
<p>See also <a href="qabstractspinbox.html#ButtonSymbols-enum">QAbstractSpinBox.ButtonSymbols</a>.</p>
36
 
<a name="//apple_ref/cpp/data/QStyleOptionSpinBox/frame" />
 
78
 
 
79
 
37
80
<h3 class="fn"><a name="frame-var" />bool frame</h3><p>This variable holds whether the spin box has a frame.</p>
38
81
<p>The default value is false, i.e. the spin box has no frame.</p>
39
 
<a name="//apple_ref/cpp/data/QStyleOptionSpinBox/stepEnabled" />
40
 
<h3 class="fn"><a name="stepEnabled-var" /><a href="qabstractspinbox-stepenabled.html">QAbstractSpinBox.StepEnabled</a> stepEnabled</h3><p>This variable holds which buttons of the spin box that are enabled.</p>
 
82
 
 
83
 
 
84
<h3 class="fn"><a name="stepEnabled-var" /><a href="qabstractspinbox-stepenabled.html">QAbstractSpinBox.StepEnabled</a> stepEnabled</h3><p>This variable holds which buttons of the spin box that are
 
85
enabled.</p>
41
86
<p>The default value is <a href="qabstractspinbox.html#StepEnabledFlag-enum">QAbstractSpinBox.StepNone</a>.</p>
42
87
<p>See also <a href="qabstractspinbox.html#StepEnabledFlag-enum">QAbstractSpinBox.StepEnabled</a>.</p>
43
 
<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'
 
88
<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'