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

« back to all changes in this revision

Viewing changes to doc/html/qstyleoptionslider.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/gui/styles/qstyleoption.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: QStyleOptionSlider Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<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="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QStyleOptionSlider Class Reference</h1>
 
21
<p>The QStyleOptionSlider class is used to describe the parameters needed for drawing a slider. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QStyleOptionSlider&gt;</pre><p>Part of the <a href="qtgui.html">QtGui</a> module.</p>
 
23
<p>Inherits <a href="qstyleoptioncomplex.html">QStyleOptionComplex</a>.</p>
 
24
<ul>
 
25
<li><a href="qstyleoptionslider-members.html">List of all members, including inherited members</a></li>
 
26
</ul>
 
27
<a name="public-functions"></a>
 
28
<h3>Public Functions</h3>
 
29
<ul>
 
30
<li><div class="fn"/><b><a href="qstyleoptionslider.html#QStyleOptionSlider">QStyleOptionSlider</a></b> ()</li>
 
31
<li><div class="fn"/><b><a href="qstyleoptionslider.html#QStyleOptionSlider-2">QStyleOptionSlider</a></b> ( const QStyleOptionSlider &amp; <i>other</i> )</li>
 
32
</ul>
 
33
<ul>
 
34
<li><div class="fn"/>2 public functions inherited from <a href="qstyleoption.html#public-functions">QStyleOption</a></li>
 
35
</ul>
 
36
<a name="public-variables"></a>
 
37
<h3>Public Variables</h3>
 
38
<ul>
 
39
<li><div class="fn"/>bool <b><a href="qstyleoptionslider.html#dialWrapping-var">dialWrapping</a></b></li>
 
40
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#maximum-var">maximum</a></b></li>
 
41
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#minimum-var">minimum</a></b></li>
 
42
<li><div class="fn"/>qreal <b><a href="qstyleoptionslider.html#notchTarget-var">notchTarget</a></b></li>
 
43
<li><div class="fn"/>Qt::Orientation <b><a href="qstyleoptionslider.html#orientation-var">orientation</a></b></li>
 
44
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#pageStep-var">pageStep</a></b></li>
 
45
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#singleStep-var">singleStep</a></b></li>
 
46
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#sliderPosition-var">sliderPosition</a></b></li>
 
47
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#sliderValue-var">sliderValue</a></b></li>
 
48
<li><div class="fn"/>int <b><a href="qstyleoptionslider.html#tickInterval-var">tickInterval</a></b></li>
 
49
<li><div class="fn"/>QSlider::TickPosition <b><a href="qstyleoptionslider.html#tickPosition-var">tickPosition</a></b></li>
 
50
<li><div class="fn"/>bool <b><a href="qstyleoptionslider.html#upsideDown-var">upsideDown</a></b></li>
 
51
</ul>
 
52
<ul>
 
53
<li><div class="fn"/>2 public variables inherited from <a href="qstyleoptioncomplex.html#public-variables">QStyleOptionComplex</a></li>
 
54
<li><div class="fn"/>7 public variables inherited from <a href="qstyleoption.html#public-variables">QStyleOption</a></li>
 
55
</ul>
 
56
<a name="static-public-members"></a>
 
57
<h3>Static Public Members</h3>
 
58
<ul>
 
59
<li><div class="fn"/>const int <b><a href="qstyleoptionslider.html#Type-var">Type</a></b></li>
 
60
<li><div class="fn"/>const int <b><a href="qstyleoptionslider.html#Version-var">Version</a></b></li>
 
61
</ul>
 
62
<ul>
 
63
<li><div class="fn"/>2 static public members inherited from <a href="qstyleoptioncomplex.html#static-public-members">QStyleOptionComplex</a></li>
 
64
<li><div class="fn"/>2 static public members inherited from <a href="qstyleoption.html#static-public-members">QStyleOption</a></li>
 
65
</ul>
 
66
<a name="details"></a>
 
67
<hr />
 
68
<h2>Detailed Description</h2>
 
69
<p>The QStyleOptionSlider class is used to describe the parameters needed for drawing a slider.</p>
 
70
<p>The QStyleOptionSlider class is used for drawing <a href="qslider.html">QSlider</a> and <a href="qscrollbar.html">QScrollBar</a>.</p>
 
71
<hr />
 
72
<h2>Member Function Documentation</h2>
 
73
<h3 class="fn"><a name="QStyleOptionSlider"></a>QStyleOptionSlider::QStyleOptionSlider ()</h3>
 
74
<p>Constructs a <a href="qstyleoptionslider.html">QStyleOptionSlider</a>. The members variables are initialized to default values.</p>
 
75
<h3 class="fn"><a name="QStyleOptionSlider-2"></a>QStyleOptionSlider::QStyleOptionSlider ( const QStyleOptionSlider &amp; <i>other</i> )</h3>
 
76
<p>Constructs a copy of the <i>other</i> style option.</p>
 
77
<hr />
 
78
<h2>Member Variable Documentation</h2>
 
79
<h3 class="fn"><a name="Type-var"></a>const int QStyleOptionSlider::Type</h3>
 
80
<p>Equals <a href="qstyleoption.html#OptionType-enum">SO_Slider</a>.</p>
 
81
<h3 class="fn"><a name="Version-var"></a>const int QStyleOptionSlider::Version</h3>
 
82
<p>Equals 1.</p>
 
83
<h3 class="fn"><a name="dialWrapping-var"></a>bool QStyleOptionSlider::dialWrapping</h3>
 
84
<p>This variable holds indicates whether or not the dial should wrap or not.</p>
 
85
<p>See also <a href="qdial.html#wrapping-prop">QDial::wrapping</a>().</p>
 
86
<h3 class="fn"><a name="maximum-var"></a>int QStyleOptionSlider::maximum</h3>
 
87
<p>This variable holds the maximum value for the slider.</p>
 
88
<h3 class="fn"><a name="minimum-var"></a>int QStyleOptionSlider::minimum</h3>
 
89
<p>This variable holds the minimum value for the slider.</p>
 
90
<h3 class="fn"><a name="notchTarget-var"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QStyleOptionSlider::notchTarget</h3>
 
91
<p>This variable holds the number of pixel between notches.</p>
 
92
<p>See also <a href="qdial.html#notchTarget-prop">QDial::notchTarget</a>().</p>
 
93
<h3 class="fn"><a name="orientation-var"></a><a href="qt.html#Orientation-enum">Qt::Orientation</a> QStyleOptionSlider::orientation</h3>
 
94
<p>This variable holds the slider's orientation (horizontal or vertical).</p>
 
95
<p>See also <a href="qt.html#Orientation-enum">Qt::Orientation</a>.</p>
 
96
<h3 class="fn"><a name="pageStep-var"></a>int QStyleOptionSlider::pageStep</h3>
 
97
<p>This variable holds the size of the page step of the slider.</p>
 
98
<p>See also <a href="qabstractslider.html#pageStep-prop">QAbstractSlider::pageStep</a>.</p>
 
99
<h3 class="fn"><a name="singleStep-var"></a>int QStyleOptionSlider::singleStep</h3>
 
100
<p>This variable holds the size of the single step of the slider.</p>
 
101
<p>See also <a href="qabstractslider.html#singleStep-prop">QAbstractSlider::singleStep</a>.</p>
 
102
<h3 class="fn"><a name="sliderPosition-var"></a>int QStyleOptionSlider::sliderPosition</h3>
 
103
<p>This variable holds the position of the slider handle.</p>
 
104
<p>If the slider has active feedback (i.e., <a href="qabstractslider.html#tracking-prop">QAbstractSlider::tracking</a> is true), this value will be the same as <a href="qstyleoptionslider.html#sliderValue-var">sliderValue</a>. Otherwise, it will have the current position of the handle.</p>
 
105
<p>See also <a href="qabstractslider.html#tracking-prop">QAbstractSlider::tracking</a> and <a href="qstyleoptionslider.html#sliderValue-var">sliderValue</a>.</p>
 
106
<h3 class="fn"><a name="sliderValue-var"></a>int QStyleOptionSlider::sliderValue</h3>
 
107
<p>This variable holds the value of the slider.</p>
 
108
<p>If the slider has active feedback (i.e., <a href="qabstractslider.html#tracking-prop">QAbstractSlider::tracking</a> is true), this value will be the same as <a href="qstyleoptionslider.html#sliderPosition-var">sliderPosition</a>. Otherwise, it will have the value the slider had before the mouse was pressed.</p>
 
109
<p>See also <a href="qabstractslider.html#tracking-prop">QAbstractSlider::tracking</a> and <a href="qstyleoptionslider.html#sliderPosition-var">sliderPosition</a>.</p>
 
110
<h3 class="fn"><a name="tickInterval-var"></a>int QStyleOptionSlider::tickInterval</h3>
 
111
<p>This variable holds the interval that should be drawn between tick marks.</p>
 
112
<h3 class="fn"><a name="tickPosition-var"></a><a href="qslider.html#TickPosition-enum">QSlider::TickPosition</a> QStyleOptionSlider::tickPosition</h3>
 
113
<p>This variable holds the position of the slider's tick marks, if any.</p>
 
114
<p>See also <a href="qslider.html#TickPosition-enum">QSlider::TickPosition</a>.</p>
 
115
<h3 class="fn"><a name="upsideDown-var"></a>bool QStyleOptionSlider::upsideDown</h3>
 
116
<p>This variable holds indicates slider control orientation.</p>
 
117
<p>Normally a slider increases as it moves up or to the right; upsideDown indicates that it should do the opposite (increase as it moves down or to the left).</p>
 
118
<p>See also <a href="qstyle.html#sliderPositionFromValue">QStyle::sliderPositionFromValue</a>(), <a href="qstyle.html#sliderValueFromPosition">QStyle::sliderValueFromPosition</a>(), and <a href="qabstractslider.html#invertedAppearance-prop">QAbstractSlider::invertedAppearance</a>.</p>
 
119
<p /><address><hr /><div align="center">
 
120
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
121
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
122
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
123
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
124
</tr></table></div></address></body>
 
125
</html>