This file is indexed.

/usr/share/qt3/doc/html/qslider.html is in qt3-doc 3:3.3.8-b-8ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/qslider.cpp:61 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>QSlider Class</title>
<style type="text/css"><!--
fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
 <a href="index.html">
<font color="#004faf">Home</font></a>
 | <a href="classes.html">
<font color="#004faf">All&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;Classes</font></a>
 | <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QSlider Class Reference</h1>

<p>The QSlider widget provides a vertical or horizontal slider.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qslider-h.html">qslider.h</a>&gt;</tt>
<p>Inherits <a href="qwidget.html">QWidget</a> and <a href="qrangecontrol.html">QRangeControl</a>.
<p><a href="qslider-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li class=fn>enum <a href="#TickSetting-enum"><b>TickSetting</b></a> { NoMarks = 0, Above = 1, Left = Above, Below = 2, Right = Below, Both = 3 }</li>
<li class=fn><a href="#QSlider"><b>QSlider</b></a> ( QWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#QSlider-2"><b>QSlider</b></a> ( Orientation&nbsp;orientation, QWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#QSlider-3"><b>QSlider</b></a> ( int&nbsp;minValue, int&nbsp;maxValue, int&nbsp;pageStep, int&nbsp;value, Orientation&nbsp;orientation, QWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#~QSlider"><b>~QSlider</b></a> ()</li>
<li class=fn>virtual void <a href="#setOrientation"><b>setOrientation</b></a> ( Orientation )</li>
<li class=fn>Orientation <a href="#orientation"><b>orientation</b></a> () const</li>
<li class=fn>virtual void <a href="#setTracking"><b>setTracking</b></a> ( bool&nbsp;enable )</li>
<li class=fn>bool <a href="#tracking"><b>tracking</b></a> () const</li>
<li class=fn>virtual void <a href="#setPalette"><b>setPalette</b></a> ( const&nbsp;QPalette&nbsp;&amp;&nbsp;p )</li>
<li class=fn>int <a href="#sliderStart"><b>sliderStart</b></a> () const</li>
<li class=fn>QRect <a href="#sliderRect"><b>sliderRect</b></a> () const</li>
<li class=fn>virtual void <a href="#setTickmarks"><b>setTickmarks</b></a> ( TickSetting )</li>
<li class=fn>TickSetting <a href="#tickmarks"><b>tickmarks</b></a> () const</li>
<li class=fn>virtual void <a href="#setTickInterval"><b>setTickInterval</b></a> ( int )</li>
<li class=fn>int <a href="#tickInterval"><b>tickInterval</b></a> () const</li>
<li class=fn>int <a href="#minValue"><b>minValue</b></a> () const</li>
<li class=fn>int <a href="#maxValue"><b>maxValue</b></a> () const</li>
<li class=fn>void <a href="#setMinValue"><b>setMinValue</b></a> ( int )</li>
<li class=fn>void <a href="#setMaxValue"><b>setMaxValue</b></a> ( int )</li>
<li class=fn>int <a href="#lineStep"><b>lineStep</b></a> () const</li>
<li class=fn>int <a href="#pageStep"><b>pageStep</b></a> () const</li>
<li class=fn>void <a href="#setLineStep"><b>setLineStep</b></a> ( int )</li>
<li class=fn>void <a href="#setPageStep"><b>setPageStep</b></a> ( int )</li>
<li class=fn>int <a href="#value"><b>value</b></a> () const</li>
</ul>
<h2>Public Slots</h2>
<ul>
<li class=fn>virtual void <a href="#setValue"><b>setValue</b></a> ( int )</li>
<li class=fn>void <a href="#addStep"><b>addStep</b></a> ()</li>
<li class=fn>void <a href="#subtractStep"><b>subtractStep</b></a> ()</li>
</ul>
<h2>Signals</h2>
<ul>
<li class=fn>void <a href="#valueChanged"><b>valueChanged</b></a> ( int&nbsp;value )</li>
<li class=fn>void <a href="#sliderPressed"><b>sliderPressed</b></a> ()</li>
<li class=fn>void <a href="#sliderMoved"><b>sliderMoved</b></a> ( int&nbsp;value )</li>
<li class=fn>void <a href="#sliderReleased"><b>sliderReleased</b></a> ()</li>
</ul>
<h2>Important Inherited Members</h2>
<ul>
<li class=fn>void <a href="#setRange"><b>setRange</b></a> ( int&nbsp;minValue, int&nbsp;maxValue )</li>
</ul>
<h2>Properties</h2>
<ul>
<li class=fn>int <a href="#lineStep-prop"><b>lineStep</b></a>&nbsp;- the current line step</li>
<li class=fn>int <a href="#maxValue-prop"><b>maxValue</b></a>&nbsp;- the current maximum value of the slider</li>
<li class=fn>int <a href="#minValue-prop"><b>minValue</b></a>&nbsp;- the current minimum value of the slider</li>
<li class=fn>Orientation <a href="#orientation-prop"><b>orientation</b></a>&nbsp;- the slider's orientation</li>
<li class=fn>int <a href="#pageStep-prop"><b>pageStep</b></a>&nbsp;- the current page step</li>
<li class=fn>int <a href="#tickInterval-prop"><b>tickInterval</b></a>&nbsp;- the interval between tickmarks</li>
<li class=fn>TickSetting <a href="#tickmarks-prop"><b>tickmarks</b></a>&nbsp;- the tickmark settings for this slider</li>
<li class=fn>bool <a href="#tracking-prop"><b>tracking</b></a>&nbsp;- whether slider tracking is enabled</li>
<li class=fn>int <a href="#value-prop"><b>value</b></a>&nbsp;- the current slider value</li>
</ul>
<h2>Protected Members</h2>
<ul>
<li class=fn>virtual void <a href="#valueChange"><b>valueChange</b></a> ()</li>
<li class=fn>virtual void <a href="#rangeChange"><b>rangeChange</b></a> ()</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>


The QSlider widget provides a vertical or horizontal slider.
<p> 

<p> The slider is the classic widget for controlling a bounded value.
It lets the user move a slider along a horizontal or vertical
groove and translates the slider's position into an integer value
within the legal range.
<p> QSlider inherits <a href="qrangecontrol.html">QRangeControl</a>, which provides the "integer" side
of the slider. <a href="qrangecontrol.html#setRange">setRange</a>() and <a href="#value">value</a>() are likely to be used by
practically all slider users; see the <a href="qrangecontrol.html">QRangeControl</a>
documentation for information about the many other functions that
class provides.
<p> The main functions offered by the slider itself are tickmark and
orientation control; you can use <a href="#setTickmarks">setTickmarks</a>() to indicate where
you want the tickmarks to be, <a href="#setTickInterval">setTickInterval</a>() to indicate how
many of them you want and <a href="#setOrientation">setOrientation</a>() to indicate whether the
slider is to be horizontal or vertical.
<p> A slider accepts focus on Tab and uses the mouse wheel and a
suitable keyboard interface.
<p> <img src=qslider-m.png> <img src=qslider-w.png>
<p> 
<p> <p>See also <a href="qscrollbar.html">QScrollBar</a>, <a href="qspinbox.html">QSpinBox</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Slider</a>, and <a href="basic.html">Basic Widgets</a>.

<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="TickSetting-enum"></a>QSlider::TickSetting</h3>

<p> This enum specifies where the tickmarks are to be drawn relative
to the slider's groove and the handle the user moves.
<ul>
<li><tt>QSlider::NoMarks</tt> - do not draw any tickmarks.
<li><tt>QSlider::Both</tt> - draw tickmarks on both sides of the groove.
<li><tt>QSlider::Above</tt> - draw tickmarks above the (horizontal) slider
<li><tt>QSlider::Below</tt> - draw tickmarks below the (horizontal) slider
<li><tt>QSlider::Left</tt> - draw tickmarks to the left of the (vertical) slider
<li><tt>QSlider::Right</tt> - draw tickmarks to the right of the (vertical) slider
</ul>
<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="QSlider"></a>QSlider::QSlider ( <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a vertical slider.
<p> The <em>parent</em> and <em>name</em> arguments are sent on to the <a href="qwidget.html">QWidget</a>
constructor.

<h3 class=fn><a name="QSlider-2"></a>QSlider::QSlider ( <a href="qt.html#Orientation-enum">Orientation</a>&nbsp;orientation, <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a slider.
<p> The <em>orientation</em> must be <a href="qt.html#Orientation-enum">Qt::Vertical</a> or <a href="qt.html#Orientation-enum">Qt::Horizontal</a>.
<p> The <em>parent</em> and <em>name</em> arguments are sent on to the <a href="qwidget.html">QWidget</a>
constructor.

<h3 class=fn><a name="QSlider-3"></a>QSlider::QSlider ( int&nbsp;minValue, int&nbsp;maxValue, int&nbsp;pageStep, int&nbsp;value, <a href="qt.html#Orientation-enum">Orientation</a>&nbsp;orientation, <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Constructs a slider whose value can never be smaller than <em>minValue</em> or greater than <em>maxValue</em>, whose page step size is <em>pageStep</em> and whose value is initially <em>value</em> (which is
guaranteed to be in range using <a href="qrangecontrol.html#bound">bound</a>()).
<p> If <em>orientation</em> is <a href="qt.html#Orientation-enum">Qt::Vertical</a> the slider is vertical and if it
is <a href="qt.html#Orientation-enum">Qt::Horizontal</a> the slider is horizontal.
<p> The <em>parent</em> and <em>name</em> arguments are sent on to the <a href="qwidget.html">QWidget</a>
constructor.

<h3 class=fn><a name="~QSlider"></a>QSlider::~QSlider ()
</h3>
Destructor.

<h3 class=fn>void <a name="addStep"></a>QSlider::addStep ()<tt> [slot]</tt>
</h3>
Moves the slider one <a href="#pageStep">pageStep</a>() up or right.

<h3 class=fn>int <a name="lineStep"></a>QSlider::lineStep () const
</h3><p>Returns the current line step.
See the <a href="qslider.html#lineStep-prop">"lineStep"</a> property for details.
<h3 class=fn>int <a name="maxValue"></a>QSlider::maxValue () const
</h3><p>Returns the current maximum value of the slider.
See the <a href="qslider.html#maxValue-prop">"maxValue"</a> property for details.
<h3 class=fn>int <a name="minValue"></a>QSlider::minValue () const
</h3><p>Returns the current minimum value of the slider.
See the <a href="qslider.html#minValue-prop">"minValue"</a> property for details.
<h3 class=fn><a href="qt.html#Orientation-enum">Orientation</a> <a name="orientation"></a>QSlider::orientation () const
</h3><p>Returns the slider's orientation.
See the <a href="qslider.html#orientation-prop">"orientation"</a> property for details.
<h3 class=fn>int <a name="pageStep"></a>QSlider::pageStep () const
</h3><p>Returns the current page step.
See the <a href="qslider.html#pageStep-prop">"pageStep"</a> property for details.
<h3 class=fn>void <a name="rangeChange"></a>QSlider::rangeChange ()<tt> [virtual protected]</tt>
</h3>
Implements the virtual <a href="qrangecontrol.html">QRangeControl</a> function.

<p>Reimplemented from <a href="qrangecontrol.html#rangeChange">QRangeControl</a>.
<h3 class=fn>void <a name="setLineStep"></a>QSlider::setLineStep ( int )
</h3><p>Sets the current line step.
See the <a href="qslider.html#lineStep-prop">"lineStep"</a> property for details.
<h3 class=fn>void <a name="setMaxValue"></a>QSlider::setMaxValue ( int )
</h3><p>Sets the current maximum value of the slider.
See the <a href="qslider.html#maxValue-prop">"maxValue"</a> property for details.
<h3 class=fn>void <a name="setMinValue"></a>QSlider::setMinValue ( int )
</h3><p>Sets the current minimum value of the slider.
See the <a href="qslider.html#minValue-prop">"minValue"</a> property for details.
<h3 class=fn>void <a name="setOrientation"></a>QSlider::setOrientation ( <a href="qt.html#Orientation-enum">Orientation</a> )<tt> [virtual]</tt>
</h3><p>Sets the slider's orientation.
See the <a href="qslider.html#orientation-prop">"orientation"</a> property for details.
<h3 class=fn>void <a name="setPageStep"></a>QSlider::setPageStep ( int )
</h3><p>Sets the current page step.
See the <a href="qslider.html#pageStep-prop">"pageStep"</a> property for details.
<h3 class=fn>void <a name="setPalette"></a>QSlider::setPalette ( const&nbsp;<a href="qpalette.html">QPalette</a>&nbsp;&amp;&nbsp;p )<tt> [virtual]</tt>
</h3>
Reimplements the virtual function <a href="qwidget.html#setPalette">QWidget::setPalette</a>().
<p> Sets the background color to the mid color for <a href="motif-extension.html#Motif">Motif</a> style sliders
using palette <em>p</em>.

<p>Reimplemented from <a href="qwidget.html#setPalette">QWidget</a>.
<h3 class=fn>void <a name="setRange"></a>QRangeControl::setRange ( int&nbsp;minValue, int&nbsp;maxValue )
</h3>
Sets the range control's minimum value to <em>minValue</em> and its
maximum value to <em>maxValue</em>.
<p> Calls the virtual <a href="#rangeChange">rangeChange</a>() function if one or both of the new
minimum and maximum values are different from the previous
setting. Calls the virtual <a href="#valueChange">valueChange</a>() function if the current
value is adjusted because it was outside the new range.
<p> If <em>maxValue</em> is smaller than <em>minValue</em>, <em>minValue</em> becomes
the only legal value.
<p> <p>See also <a href="#minValue-prop">minValue</a> and <a href="#maxValue-prop">maxValue</a>.

<p>Examples: <a href="listbox-example.html#x1441">listbox/listbox.cpp</a>, <a href="tutorial1-12.html#x2387">t12/lcdrange.cpp</a>, <a href="tutorial1-05.html#x2315">t5/main.cpp</a>, <a href="tutorial1-06.html#x2325">t6/main.cpp</a>, <a href="tutorial1-08.html#x2334">t8/lcdrange.cpp</a>, and <a href="xform-example.html#x1250">xform/xform.cpp</a>.
<h3 class=fn>void <a name="setTickInterval"></a>QSlider::setTickInterval ( int )<tt> [virtual]</tt>
</h3><p>Sets the interval between tickmarks.
See the <a href="qslider.html#tickInterval-prop">"tickInterval"</a> property for details.
<h3 class=fn>void <a name="setTickmarks"></a>QSlider::setTickmarks ( <a href="qslider.html#TickSetting-enum">TickSetting</a> )<tt> [virtual]</tt>
</h3><p>Sets the tickmark settings for this slider.
See the <a href="qslider.html#tickmarks-prop">"tickmarks"</a> property for details.
<h3 class=fn>void <a name="setTracking"></a>QSlider::setTracking ( bool&nbsp;enable )<tt> [virtual]</tt>
</h3><p>Sets whether slider tracking is enabled to <em>enable</em>.
See the <a href="qslider.html#tracking-prop">"tracking"</a> property for details.
<h3 class=fn>void <a name="setValue"></a>QSlider::setValue ( int )<tt> [virtual slot]</tt>
</h3><p>Sets the current slider value.
See the <a href="qslider.html#value-prop">"value"</a> property for details.
<h3 class=fn>void <a name="sliderMoved"></a>QSlider::sliderMoved ( int&nbsp;value )<tt> [signal]</tt>
</h3>

<p> This signal is emitted when the slider is dragged, with the new
slider <em>value</em> as its argument.

<h3 class=fn>void <a name="sliderPressed"></a>QSlider::sliderPressed ()<tt> [signal]</tt>
</h3>

<p> This signal is emitted when the user presses the slider with the
mouse.

<h3 class=fn><a href="qrect.html">QRect</a> <a name="sliderRect"></a>QSlider::sliderRect () const
</h3>
Returns the slider handle rectangle. (This is the visual marker
that the user can move.)

<h3 class=fn>void <a name="sliderReleased"></a>QSlider::sliderReleased ()<tt> [signal]</tt>
</h3>

<p> This signal is emitted when the user releases the slider with the mouse.

<h3 class=fn>int <a name="sliderStart"></a>QSlider::sliderStart () const
</h3>

<p> Returns the start position of the slider.

<h3 class=fn>void <a name="subtractStep"></a>QSlider::subtractStep ()<tt> [slot]</tt>
</h3>
Moves the slider one <a href="#pageStep">pageStep</a>() down or left.

<h3 class=fn>int <a name="tickInterval"></a>QSlider::tickInterval () const
</h3><p>Returns the interval between tickmarks.
See the <a href="qslider.html#tickInterval-prop">"tickInterval"</a> property for details.
<h3 class=fn><a href="qslider.html#TickSetting-enum">TickSetting</a> <a name="tickmarks"></a>QSlider::tickmarks () const
</h3><p>Returns the tickmark settings for this slider.
See the <a href="qslider.html#tickmarks-prop">"tickmarks"</a> property for details.
<h3 class=fn>bool <a name="tracking"></a>QSlider::tracking () const
</h3><p>Returns TRUE if slider tracking is enabled; otherwise returns FALSE.
See the <a href="qslider.html#tracking-prop">"tracking"</a> property for details.
<h3 class=fn>int <a name="value"></a>QSlider::value () const
</h3><p>Returns the current slider value.
See the <a href="qslider.html#value-prop">"value"</a> property for details.
<h3 class=fn>void <a name="valueChange"></a>QSlider::valueChange ()<tt> [virtual protected]</tt>
</h3>
Implements the virtual <a href="qrangecontrol.html">QRangeControl</a> function.

<p>Reimplemented from <a href="qrangecontrol.html#valueChange">QRangeControl</a>.
<h3 class=fn>void <a name="valueChanged"></a>QSlider::valueChanged ( int&nbsp;value )<tt> [signal]</tt>
</h3>

<p> This signal is emitted when the slider value is changed, with the
new slider <em>value</em> as its argument.

<p>Examples: <a href="rangecontrols-example.html#x1386">rangecontrols/rangecontrols.cpp</a>, <a href="qaxserver-example-simple.html#x2528">simple/main.cpp</a>, <a href="tutorial1-12.html#x2389">t12/lcdrange.cpp</a>, <a href="tutorial1-05.html#x2317">t5/main.cpp</a>, <a href="tutorial1-06.html#x2327">t6/main.cpp</a>, <a href="tutorial1-07.html#x2333">t7/lcdrange.cpp</a>, and <a href="xform-example.html#x1263">xform/xform.cpp</a>.
<hr><h2>Property Documentation</h2>
<h3 class=fn>int <a name="lineStep-prop"></a>lineStep</h3>
<p>This property holds the current line step.
<p>When setting lineStep, the virtual <a href="qrangecontrol.html#stepChange">stepChange</a>() function will be
called if the new line step is different from the previous
setting.
<p> <p>See also <a href="qrangecontrol.html#setSteps">setSteps</a>(), <a href="qrangecontrol.html#pageStep">QRangeControl::pageStep</a>(), and <a href="qrangecontrol.html#setRange">setRange</a>().

<p>Set this property's value with <a href="#setLineStep">setLineStep</a>() and get this property's value with <a href="#lineStep">lineStep</a>().
<h3 class=fn>int <a name="maxValue-prop"></a>maxValue</h3>
<p>This property holds the current maximum value of the slider.
<p>When setting this property, the <a href="#minValue-prop">QSlider::minValue</a> is adjusted,
if necessary, to ensure that the range remains valid.
<p> <p>See also <a href="qrangecontrol.html#setRange">setRange</a>().

<p>Set this property's value with <a href="#setMaxValue">setMaxValue</a>() and get this property's value with <a href="#maxValue">maxValue</a>().
<h3 class=fn>int <a name="minValue-prop"></a>minValue</h3>
<p>This property holds the current minimum value of the slider.
<p>When setting this property, the <a href="#maxValue-prop">QSlider::maxValue</a> is adjusted,
if necessary, to ensure that the range remains valid.
<p> <p>See also <a href="qrangecontrol.html#setRange">setRange</a>().

<p>Set this property's value with <a href="#setMinValue">setMinValue</a>() and get this property's value with <a href="#minValue">minValue</a>().
<h3 class=fn><a href="qt.html#Orientation-enum">Orientation</a> <a name="orientation-prop"></a>orientation</h3>
<p>This property holds the slider's orientation.
<p>The orientation must be <a href="qt.html#Orientation-enum">Qt::Vertical</a> (the default) or <a href="qt.html#Orientation-enum">Qt::Horizontal</a>.

<p>Set this property's value with <a href="#setOrientation">setOrientation</a>() and get this property's value with <a href="#orientation">orientation</a>().
<h3 class=fn>int <a name="pageStep-prop"></a>pageStep</h3>
<p>This property holds the current page step.
<p>When setting pageStep, the virtual <a href="qrangecontrol.html#stepChange">stepChange</a>() function will be
called if the new page step is different from the previous
setting.
<p> <p>See also <a href="qrangecontrol.html#setSteps">QRangeControl::setSteps</a>(), <a href="#lineStep-prop">lineStep</a>, and <a href="qrangecontrol.html#setRange">setRange</a>().

<p>Set this property's value with <a href="#setPageStep">setPageStep</a>() and get this property's value with <a href="#pageStep">pageStep</a>().
<h3 class=fn>int <a name="tickInterval-prop"></a>tickInterval</h3>
<p>This property holds the interval between tickmarks.
<p>This is a value interval, not a pixel interval. If it is 0, the
slider will choose between <a href="#lineStep">lineStep</a>() and <a href="#pageStep">pageStep</a>(). The initial
value of tickInterval is 0.
<p> <p>See also <a href="qrangecontrol.html#lineStep">QRangeControl::lineStep</a>() and <a href="qrangecontrol.html#pageStep">QRangeControl::pageStep</a>().

<p>Set this property's value with <a href="#setTickInterval">setTickInterval</a>() and get this property's value with <a href="#tickInterval">tickInterval</a>().
<h3 class=fn><a href="qslider.html#TickSetting-enum">TickSetting</a> <a name="tickmarks-prop"></a>tickmarks</h3>
<p>This property holds the tickmark settings for this slider.
<p>The valid values are in <a href="#TickSetting-enum">QSlider::TickSetting</a>. The default is
<a href="#TickSetting-enum">NoMarks</a>.
<p> <p>See also <a href="#tickInterval-prop">tickInterval</a>.

<p>Set this property's value with <a href="#setTickmarks">setTickmarks</a>() and get this property's value with <a href="#tickmarks">tickmarks</a>().
<h3 class=fn>bool <a name="tracking-prop"></a>tracking</h3>
<p>This property holds whether slider tracking is enabled.
<p>If tracking is enabled (the default), the slider emits the
<a href="#valueChanged">valueChanged</a>() signal whenever the slider is being dragged. If
tracking is disabled, the slider emits the valueChanged() signal
when the user releases the mouse button (unless the value happens
to be the same as before).

<p>Set this property's value with <a href="#setTracking">setTracking</a>() and get this property's value with <a href="#tracking">tracking</a>().
<h3 class=fn>int <a name="value-prop"></a>value</h3>
<p>This property holds the current slider value.
<p>Set this property's value with <a href="#setValue">setValue</a>() and get this property's value with <a href="#value">value</a>().
<p><p>See also <a href="qrangecontrol.html#value">QRangeControl::value</a>() and <a href="qrangecontrol.html#prevValue">prevValue</a>().

<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">Qt toolkit</a>.
Copyright &copy; 1995-2007
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt 3.3.8</div>
</table></div></address></body>
</html>