~l3on/ubuntu/oneiric/qwt/fix-921430

« back to all changes in this revision

Viewing changes to qwt-5.0.1/doc/man/man3/QwtAbstractSlider.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "QwtAbstractSlider" 3 "26 Feb 2007" "Version 5.0.1" "Qwt User's Guide" \" -*- nroff -*-
2
 
.ad l
3
 
.nh
4
 
.SH NAME
5
 
QwtAbstractSlider \- 
6
 
.SH SYNOPSIS
7
 
.br
8
 
.PP
9
 
Inherits \fBQwtDoubleRange\fP.
10
 
.PP
11
 
Inherited by \fBQwtDial\fP, \fBQwtKnob\fP, \fBQwtSlider\fP, and \fBQwtWheel\fP.
12
 
.PP
13
 
.SH "Detailed Description"
14
 
.PP 
15
 
An abstract base class for slider widgets. 
16
 
 
17
 
\fBQwtAbstractSlider\fP is a base class for slider widgets. It handles mouse events and updates the slider's value accordingly. Derived classes only have to implement the \fBgetValue()\fP and \fBgetScrollMode()\fP members, and should react to a \fBvalueChange()\fP, which normally requires repainting. 
18
 
.PP
19
 
Definition at line 28 of file qwt_abstract_slider.h.
20
 
.SS "Public Types"
21
 
 
22
 
.in +1c
23
 
.ti -1c
24
 
.RI "enum \fBScrollMode\fP { \fBScrNone\fP, \fBScrMouse\fP, \fBScrTimer\fP, \fBScrDirect\fP, \fBScrPage\fP }"
25
 
.br
26
 
.in -1c
27
 
.SS "Public Slots"
28
 
 
29
 
.in +1c
30
 
.ti -1c
31
 
.RI "virtual void \fBsetValue\fP (double val)"
32
 
.br
33
 
.ti -1c
34
 
.RI "virtual void \fBfitValue\fP (double val)"
35
 
.br
36
 
.ti -1c
37
 
.RI "virtual void \fBincValue\fP (int steps)"
38
 
.br
39
 
.ti -1c
40
 
.RI "virtual void \fBsetReadOnly\fP (bool)"
41
 
.br
42
 
.in -1c
43
 
.SS "Signals"
44
 
 
45
 
.in +1c
46
 
.ti -1c
47
 
.RI "void \fBvalueChanged\fP (double value)"
48
 
.br
49
 
.ti -1c
50
 
.RI "void \fBsliderPressed\fP ()"
51
 
.br
52
 
.ti -1c
53
 
.RI "void \fBsliderReleased\fP ()"
54
 
.br
55
 
.ti -1c
56
 
.RI "void \fBsliderMoved\fP (double value)"
57
 
.br
58
 
.in -1c
59
 
.SS "Public Member Functions"
60
 
 
61
 
.in +1c
62
 
.ti -1c
63
 
.RI "\fBQwtAbstractSlider\fP (Qt::Orientation, QWidget *parent=NULL)"
64
 
.br
65
 
.ti -1c
66
 
.RI "virtual \fB~QwtAbstractSlider\fP ()"
67
 
.br
68
 
.ti -1c
69
 
.RI "void \fBsetUpdateTime\fP (int t)"
70
 
.br
71
 
.ti -1c
72
 
.RI "void \fBstopMoving\fP ()"
73
 
.br
74
 
.ti -1c
75
 
.RI "void \fBsetTracking\fP (bool enable)"
76
 
.br
77
 
.ti -1c
78
 
.RI "virtual void \fBsetMass\fP (double val)"
79
 
.br
80
 
.ti -1c
81
 
.RI "virtual double \fBmass\fP () const "
82
 
.br
83
 
.ti -1c
84
 
.RI "virtual void \fBsetOrientation\fP (Qt::Orientation o)"
85
 
.br
86
 
.ti -1c
87
 
.RI "Qt::Orientation \fBorientation\fP () const "
88
 
.br
89
 
.ti -1c
90
 
.RI "bool \fBisReadOnly\fP () const "
91
 
.br
92
 
.ti -1c
93
 
.RI "bool \fBisValid\fP () const "
94
 
.br
95
 
.ti -1c
96
 
.RI "void \fBsetValid\fP (bool valid)"
97
 
.br
98
 
.in -1c
99
 
.SS "Protected Member Functions"
100
 
 
101
 
.in +1c
102
 
.ti -1c
103
 
.RI "virtual void \fBsetPosition\fP (const QPoint &)"
104
 
.br
105
 
.ti -1c
106
 
.RI "virtual void \fBvalueChange\fP ()"
107
 
.br
108
 
.ti -1c
109
 
.RI "virtual void \fBtimerEvent\fP (QTimerEvent *e)"
110
 
.br
111
 
.ti -1c
112
 
.RI "virtual void \fBmousePressEvent\fP (QMouseEvent *e)"
113
 
.br
114
 
.ti -1c
115
 
.RI "virtual void \fBmouseReleaseEvent\fP (QMouseEvent *e)"
116
 
.br
117
 
.ti -1c
118
 
.RI "virtual void \fBmouseMoveEvent\fP (QMouseEvent *e)"
119
 
.br
120
 
.ti -1c
121
 
.RI "virtual void \fBkeyPressEvent\fP (QKeyEvent *e)"
122
 
.br
123
 
.ti -1c
124
 
.RI "virtual void \fBwheelEvent\fP (QWheelEvent *e)"
125
 
.br
126
 
.ti -1c
127
 
.RI "virtual double \fBgetValue\fP (const QPoint &p)=0"
128
 
.br
129
 
.ti -1c
130
 
.RI "virtual void \fBgetScrollMode\fP (const QPoint &p, int &scrollMode, int &direction)=0"
131
 
.br
132
 
.ti -1c
133
 
.RI "void \fBsetMouseOffset\fP (double)"
134
 
.br
135
 
.ti -1c
136
 
.RI "double \fBmouseOffset\fP () const "
137
 
.br
138
 
.ti -1c
139
 
.RI "int \fBscrollMode\fP () const "
140
 
.br
141
 
.in -1c
142
 
.SH "Member Enumeration Documentation"
143
 
.PP 
144
 
.SS "enum \fBQwtAbstractSlider::ScrollMode\fP"
145
 
.PP
146
 
Scroll mode 
147
 
.PP
148
 
\fBSee also:\fP
149
 
.RS 4
150
 
\fBgetScrollMode()\fP 
151
 
.RE
152
 
.PP
153
 
 
154
 
.PP
155
 
Definition at line 50 of file qwt_abstract_slider.h.
156
 
.SH "Constructor & Destructor Documentation"
157
 
.PP 
158
 
.SS "QwtAbstractSlider::QwtAbstractSlider (Qt::Orientation orientation, QWidget * parent = \fCNULL\fP)\fC [explicit]\fP"
159
 
.PP
160
 
Constructor. 
161
 
.PP
162
 
\fBParameters:\fP
163
 
.RS 4
164
 
\fIorientation\fP Orientation 
165
 
.br
166
 
\fIparent\fP Parent widget 
167
 
.RE
168
 
.PP
169
 
 
170
 
.PP
171
 
Definition at line 54 of file qwt_abstract_slider.cpp.
172
 
.SS "QwtAbstractSlider::~QwtAbstractSlider ()\fC [virtual]\fP"
173
 
.PP
174
 
Destructor. 
175
 
.PP
176
 
Definition at line 68 of file qwt_abstract_slider.cpp.
177
 
.SH "Member Function Documentation"
178
 
.PP 
179
 
.SS "void QwtAbstractSlider::fitValue (double value)\fC [virtual, slot]\fP"
180
 
.PP
181
 
Set the slider's value to the nearest integer multiple of the step size. 
182
 
.PP
183
 
\fBParameters:\fP
184
 
.RS 4
185
 
\fIvaleu\fP Value 
186
 
.RE
187
 
.PP
188
 
\fBSee also:\fP
189
 
.RS 4
190
 
\fBsetValue()\fP, \fBincValue()\fP 
191
 
.RE
192
 
.PP
193
 
 
194
 
.PP
195
 
Reimplemented from \fBQwtDoubleRange\fP.
196
 
.PP
197
 
Definition at line 550 of file qwt_abstract_slider.cpp.
198
 
.PP
199
 
References QwtDoubleRange::fitValue(), and stopMoving().
200
 
.SS "virtual void QwtAbstractSlider::getScrollMode (const QPoint & p, int & scrollMode, int & direction)\fC [protected, pure virtual]\fP"
201
 
.PP
202
 
Determine what to do when the user presses a mouse button. 
203
 
.PP
204
 
This function is abstract and has to be implemented by derived classes. It is called on a mousePress event. The derived class can determine what should happen next in dependence of the position where the mouse was pressed by returning scrolling mode and direction. \fBQwtAbstractSlider\fP knows the following modes:
205
 
.IP "\fBQwtAbstractSlider::ScrNone \fP" 1c
206
 
Scrolling switched off. Don't change the value. 
207
 
.IP "\fBQwtAbstractSlider::ScrMouse \fP" 1c
208
 
Change the value while the user keeps the button pressed and moves the mouse. 
209
 
.IP "\fBQwtAbstractSlider::ScrTimer \fP" 1c
210
 
Automatic scrolling. Increment the value in the specified direction as long as the user keeps the button pressed. 
211
 
.IP "\fBQwtAbstractSlider::ScrPage \fP" 1c
212
 
Automatic scrolling. Same as ScrTimer, but increment by page size.
213
 
.PP
214
 
.PP
215
 
\fBParameters:\fP
216
 
.RS 4
217
 
\fIp\fP point where the mouse was pressed 
218
 
.RE
219
 
.PP
220
 
\fBReturn values:\fP
221
 
.RS 4
222
 
\fIscrollMode\fP The scrolling mode 
223
 
.br
224
 
\fIdirection\fP direction: 1, 0, or -1. 
225
 
.RE
226
 
.PP
227
 
 
228
 
.PP
229
 
Implemented in \fBQwtDial\fP, \fBQwtSlider\fP, and \fBQwtWheel\fP.
230
 
.PP
231
 
Referenced by mousePressEvent(), and wheelEvent().
232
 
.SS "virtual double QwtAbstractSlider::getValue (const QPoint & p)\fC [protected, pure virtual]\fP"
233
 
.PP
234
 
Determine the value corresponding to a specified poind. 
235
 
.PP
236
 
This is an abstract virtual function which is called when the user presses or releases a mouse button or moves the mouse. It has to be implemented by the derived class. 
237
 
.PP
238
 
\fBParameters:\fP
239
 
.RS 4
240
 
\fIp\fP point 
241
 
.RE
242
 
.PP
243
 
 
244
 
.PP
245
 
Implemented in \fBQwtDial\fP, \fBQwtSlider\fP, and \fBQwtWheel\fP.
246
 
.PP
247
 
Referenced by mousePressEvent(), and setPosition().
248
 
.SS "void QwtAbstractSlider::incValue (int steps)\fC [virtual, slot]\fP"
249
 
.PP
250
 
Increment the value by a specified number of steps. 
251
 
.PP
252
 
\fBParameters:\fP
253
 
.RS 4
254
 
\fIsteps\fP number of steps 
255
 
.RE
256
 
.PP
257
 
\fBSee also:\fP
258
 
.RS 4
259
 
\fBsetValue()\fP 
260
 
.RE
261
 
.PP
262
 
 
263
 
.PP
264
 
Reimplemented from \fBQwtDoubleRange\fP.
265
 
.PP
266
 
Definition at line 562 of file qwt_abstract_slider.cpp.
267
 
.PP
268
 
References QwtDoubleRange::incValue(), and stopMoving().
269
 
.SS "bool QwtAbstractSlider::isReadOnly () const"
270
 
.PP
271
 
In read only mode the slider can't be controlled by mouse or keyboard.
272
 
.PP
273
 
\fBReturns:\fP
274
 
.RS 4
275
 
true if read only 
276
 
.RE
277
 
.PP
278
 
\fBSee also:\fP
279
 
.RS 4
280
 
\fBsetReadOnly()\fP 
281
 
.RE
282
 
.PP
283
 
 
284
 
.PP
285
 
Definition at line 98 of file qwt_abstract_slider.cpp.
286
 
.PP
287
 
Referenced by QwtDial::drawFocusIndicator(), QwtDial::keyPressEvent(), QwtCompass::keyPressEvent(), keyPressEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and wheelEvent().
288
 
.SS "bool QwtAbstractSlider::isValid () const\fC [inline]\fP"
289
 
.PP
290
 
\fBSee also:\fP
291
 
.RS 4
292
 
QwtDblRange::isValid 
293
 
.RE
294
 
.PP
295
 
 
296
 
.PP
297
 
Reimplemented from \fBQwtDoubleRange\fP.
298
 
.PP
299
 
Definition at line 87 of file qwt_abstract_slider.h.
300
 
.PP
301
 
References QwtDoubleRange::isValid().
302
 
.PP
303
 
Referenced by QwtDial::drawContents(), QwtKnob::drawKnob(), QwtAnalogClock::drawNeedle(), QwtCompass::drawScaleContents(), QwtSlider::drawSlider(), QwtDial::keyPressEvent(), keyPressEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and wheelEvent().
304
 
.SS "void QwtAbstractSlider::keyPressEvent (QKeyEvent * e)\fC [protected, virtual]\fP"
305
 
.PP
306
 
Handles key events
307
 
.PP
308
 
.IP "\(bu" 2
309
 
Key_Down, KeyLeft
310
 
.br
311
 
 Decrement by 1
312
 
.IP "\(bu" 2
313
 
Key_Up, Key_Right
314
 
.br
315
 
 Increment by 1
316
 
.PP
317
 
.PP
318
 
\fBParameters:\fP
319
 
.RS 4
320
 
\fIe\fP Key event 
321
 
.RE
322
 
.PP
323
 
\fBSee also:\fP
324
 
.RS 4
325
 
\fBisReadOnly()\fP 
326
 
.RE
327
 
.PP
328
 
 
329
 
.PP
330
 
Reimplemented in \fBQwtCompass\fP, and \fBQwtDial\fP.
331
 
.PP
332
 
Definition at line 371 of file qwt_abstract_slider.cpp.
333
 
.PP
334
 
References isReadOnly(), isValid(), and orientation().
335
 
.SS "double QwtAbstractSlider::mass () const\fC [virtual]\fP"
336
 
.PP
337
 
\fBReturns:\fP
338
 
.RS 4
339
 
mass 
340
 
.RE
341
 
.PP
342
 
\fBSee also:\fP
343
 
.RS 4
344
 
\fBsetMass()\fP 
345
 
.RE
346
 
.PP
347
 
 
348
 
.PP
349
 
Reimplemented in \fBQwtWheel\fP.
350
 
.PP
351
 
Definition at line 521 of file qwt_abstract_slider.cpp.
352
 
.PP
353
 
Referenced by QwtWheel::mass().
354
 
.SS "void QwtAbstractSlider::mouseMoveEvent (QMouseEvent * e)\fC [protected, virtual]\fP"
355
 
.PP
356
 
Mouse Move Event handler 
357
 
.PP
358
 
\fBParameters:\fP
359
 
.RS 4
360
 
\fIe\fP Mouse event 
361
 
.RE
362
 
.PP
363
 
 
364
 
.PP
365
 
Definition at line 305 of file qwt_abstract_slider.cpp.
366
 
.PP
367
 
References QwtDoubleRange::exactPrevValue(), QwtDoubleRange::exactValue(), isReadOnly(), isValid(), QwtDoubleRange::prevValue(), setPosition(), sliderMoved(), and QwtDoubleRange::value().
368
 
.SS "void QwtAbstractSlider::mousePressEvent (QMouseEvent * e)\fC [protected, virtual]\fP"
369
 
.PP
370
 
Mouse press event handler. 
371
 
.PP
372
 
Definition at line 147 of file qwt_abstract_slider.cpp.
373
 
.PP
374
 
References getScrollMode(), getValue(), isReadOnly(), isValid(), sliderPressed(), stopMoving(), and QwtDoubleRange::value().
375
 
.SS "void QwtAbstractSlider::mouseReleaseEvent (QMouseEvent * e)\fC [protected, virtual]\fP"
376
 
.PP
377
 
Mouse Release Event handler. 
378
 
.PP
379
 
Definition at line 196 of file qwt_abstract_slider.cpp.
380
 
.PP
381
 
References QwtDoubleRange::fitValue(), QwtDoubleRange::incPages(), isReadOnly(), isValid(), setPosition(), sliderReleased(), QwtDoubleRange::step(), stopMoving(), and QwtDoubleRange::value().
382
 
.SS "Qt::Orientation QwtAbstractSlider::orientation () const"
383
 
.PP
384
 
\fBReturns:\fP
385
 
.RS 4
386
 
Orientation 
387
 
.RE
388
 
.PP
389
 
\fBSee also:\fP
390
 
.RS 4
391
 
\fBsetOrientation()\fP 
392
 
.RE
393
 
.PP
394
 
 
395
 
.PP
396
 
Definition at line 117 of file qwt_abstract_slider.cpp.
397
 
.PP
398
 
Referenced by QwtSlider::drawSlider(), QwtSlider::drawThumb(), QwtWheel::drawWheel(), QwtWheel::drawWheelBackground(), QwtWheel::getValue(), QwtSlider::getValue(), keyPressEvent(), QwtSlider::layoutSlider(), QwtWheel::minimumSizeHint(), QwtSlider::minimumSizeHint(), QwtWheel::setOrientation(), and QwtSlider::setOrientation().
399
 
.SS "void QwtAbstractSlider::setMass (double val)\fC [virtual]\fP"
400
 
.PP
401
 
Set the slider's mass for flywheel effect. 
402
 
.PP
403
 
If the slider's mass is greater then 0, it will continue to move after the mouse button has been released. Its speed decreases with time at a rate depending on the slider's mass. A large mass means that it will continue to move for a long time.
404
 
.PP
405
 
Derived widgets may overload this function to make it public.
406
 
.PP
407
 
\fBParameters:\fP
408
 
.RS 4
409
 
\fIval\fP New mass in kg
410
 
.RE
411
 
.PP
412
 
\fBSee also:\fP
413
 
.RS 4
414
 
\fBmass()\fP 
415
 
.RE
416
 
.PP
417
 
 
418
 
.PP
419
 
Reimplemented in \fBQwtWheel\fP.
420
 
.PP
421
 
Definition at line 507 of file qwt_abstract_slider.cpp.
422
 
.PP
423
 
Referenced by QwtWheel::setMass().
424
 
.SS "void QwtAbstractSlider::setOrientation (Qt::Orientation o)\fC [virtual]\fP"
425
 
.PP
426
 
Set the orientation. 
427
 
.PP
428
 
\fBParameters:\fP
429
 
.RS 4
430
 
\fIo\fP Orientation. Allowed values are Qt::Horizontal and Qt::Vertical. 
431
 
.RE
432
 
.PP
433
 
 
434
 
.PP
435
 
Reimplemented in \fBQwtSlider\fP, and \fBQwtWheel\fP.
436
 
.PP
437
 
Definition at line 108 of file qwt_abstract_slider.cpp.
438
 
.PP
439
 
Referenced by QwtWheel::setOrientation(), and QwtSlider::setOrientation().
440
 
.SS "void QwtAbstractSlider::setPosition (const QPoint & p)\fC [protected, virtual]\fP"
441
 
.PP
442
 
Move the slider to a specified point, adjust the value and emit signals if necessary. 
443
 
.PP
444
 
Definition at line 276 of file qwt_abstract_slider.cpp.
445
 
.PP
446
 
References QwtDoubleRange::fitValue(), and getValue().
447
 
.PP
448
 
Referenced by mouseMoveEvent(), and mouseReleaseEvent().
449
 
.SS "void QwtAbstractSlider::setReadOnly (bool readOnly)\fC [virtual, slot]\fP"
450
 
.PP
451
 
En/Disable read only mode
452
 
.PP
453
 
In read only mode the slider can't be controlled by mouse or keyboard.
454
 
.PP
455
 
\fBParameters:\fP
456
 
.RS 4
457
 
\fIreadOnly\fP Enables in case of true 
458
 
.RE
459
 
.PP
460
 
\fBSee also:\fP
461
 
.RS 4
462
 
\fBisReadOnly()\fP 
463
 
.RE
464
 
.PP
465
 
 
466
 
.PP
467
 
Definition at line 85 of file qwt_abstract_slider.cpp.
468
 
.SS "void QwtAbstractSlider::setTracking (bool enable)"
469
 
.PP
470
 
Enables or disables tracking. 
471
 
.PP
472
 
If tracking is enabled, the slider emits a \fBvalueChanged()\fP signal whenever its value changes (the default behaviour). If tracking is disabled, the value changed() signal will only be emitted if:
473
 
.PD 0
474
 
 
475
 
.IP "\(bu" 2
476
 
the user releases the mouse button and the value has changed or 
477
 
.IP "\(bu" 2
478
 
at the end of automatic scrolling.
479
 
.PP
480
 
Tracking is enabled by default. 
481
 
.PP
482
 
\fBParameters:\fP
483
 
.RS 4
484
 
\fIenable\fP \fCtrue\fP (enable) or \fCfalse\fP (disable) tracking. 
485
 
.RE
486
 
.PP
487
 
 
488
 
.PP
489
 
Definition at line 296 of file qwt_abstract_slider.cpp.
490
 
.SS "void QwtAbstractSlider::setUpdateTime (int t)"
491
 
.PP
492
 
Specify the update interval for automatic scrolling. 
493
 
.PP
494
 
\fBParameters:\fP
495
 
.RS 4
496
 
\fIt\fP update interval in milliseconds 
497
 
.RE
498
 
.PP
499
 
\fBSee also:\fP
500
 
.RS 4
501
 
\fBgetScrollMode()\fP 
502
 
.RE
503
 
.PP
504
 
 
505
 
.PP
506
 
Definition at line 138 of file qwt_abstract_slider.cpp.
507
 
.SS "void QwtAbstractSlider::setValid (bool valid)\fC [inline]\fP"
508
 
.PP
509
 
\fBSee also:\fP
510
 
.RS 4
511
 
QwtDblRange::isValid 
512
 
.RE
513
 
.PP
514
 
 
515
 
.PP
516
 
Reimplemented from \fBQwtDoubleRange\fP.
517
 
.PP
518
 
Definition at line 92 of file qwt_abstract_slider.h.
519
 
.PP
520
 
References QwtDoubleRange::setValid().
521
 
.SS "void QwtAbstractSlider::setValue (double val)\fC [virtual, slot]\fP"
522
 
.PP
523
 
Move the slider to a specified value. 
524
 
.PP
525
 
This function can be used to move the slider to a value which is not an integer multiple of the step size. 
526
 
.PP
527
 
\fBParameters:\fP
528
 
.RS 4
529
 
\fIval\fP new value 
530
 
.RE
531
 
.PP
532
 
\fBSee also:\fP
533
 
.RS 4
534
 
\fBfitValue()\fP 
535
 
.RE
536
 
.PP
537
 
 
538
 
.PP
539
 
Reimplemented from \fBQwtDoubleRange\fP.
540
 
.PP
541
 
Definition at line 535 of file qwt_abstract_slider.cpp.
542
 
.PP
543
 
References QwtDoubleRange::setValue(), and stopMoving().
544
 
.PP
545
 
Referenced by QwtDial::keyPressEvent(), and QwtAnalogClock::setTime().
546
 
.SS "void QwtAbstractSlider::sliderMoved (double value)\fC [signal]\fP"
547
 
.PP
548
 
This signal is emitted when the user moves the slider with the mouse. 
549
 
.PP
550
 
\fBParameters:\fP
551
 
.RS 4
552
 
\fIvalue\fP new value 
553
 
.RE
554
 
.PP
555
 
 
556
 
.PP
557
 
Referenced by mouseMoveEvent(), and wheelEvent().
558
 
.SS "void QwtAbstractSlider::sliderPressed ()\fC [signal]\fP"
559
 
.PP
560
 
This signal is emitted when the user presses the movable part of the slider (start ScrMouse Mode). 
561
 
.PP
562
 
Referenced by mousePressEvent().
563
 
.SS "void QwtAbstractSlider::sliderReleased ()\fC [signal]\fP"
564
 
.PP
565
 
This signal is emitted when the user releases the movable part of the slider. 
566
 
.PP
567
 
Referenced by mouseReleaseEvent().
568
 
.SS "void QwtAbstractSlider::stopMoving ()"
569
 
.PP
570
 
Stop updating if automatic scrolling is active. 
571
 
.PP
572
 
Definition at line 124 of file qwt_abstract_slider.cpp.
573
 
.PP
574
 
Referenced by fitValue(), incValue(), mousePressEvent(), mouseReleaseEvent(), setValue(), and timerEvent().
575
 
.SS "void QwtAbstractSlider::timerEvent (QTimerEvent * e)\fC [protected, virtual]\fP"
576
 
.PP
577
 
Qt timer event 
578
 
.PP
579
 
\fBParameters:\fP
580
 
.RS 4
581
 
\fIe\fP Timer event 
582
 
.RE
583
 
.PP
584
 
 
585
 
.PP
586
 
Definition at line 417 of file qwt_abstract_slider.cpp.
587
 
.PP
588
 
References QwtDoubleRange::exactValue(), QwtDoubleRange::fitValue(), QwtDoubleRange::incPages(), QwtDoubleRange::step(), stopMoving(), and QwtDoubleRange::value().
589
 
.SS "void QwtAbstractSlider::valueChange ()\fC [protected, virtual]\fP"
590
 
.PP
591
 
Notify change of value
592
 
.PP
593
 
This function can be reimplemented by derived classes in order to keep track of changes, i.e. repaint the widget. The default implementation emits a \fBvalueChanged()\fP signal if tracking is enabled. 
594
 
.PP
595
 
Reimplemented from \fBQwtDoubleRange\fP.
596
 
.PP
597
 
Reimplemented in \fBQwtDial\fP, \fBQwtSlider\fP, and \fBQwtWheel\fP.
598
 
.PP
599
 
Definition at line 484 of file qwt_abstract_slider.cpp.
600
 
.PP
601
 
References QwtDoubleRange::value(), and valueChanged().
602
 
.PP
603
 
Referenced by QwtWheel::valueChange(), QwtSlider::valueChange(), and QwtDial::valueChange().
604
 
.SS "void QwtAbstractSlider::valueChanged (double value)\fC [signal]\fP"
605
 
.PP
606
 
Notify a change of value. 
607
 
.PP
608
 
In the default setting (tracking enabled), this signal will be emitted every time the value changes ( see \fBsetTracking()\fP ). 
609
 
.PP
610
 
\fBParameters:\fP
611
 
.RS 4
612
 
\fIvalue\fP new value 
613
 
.RE
614
 
.PP
615
 
 
616
 
.PP
617
 
Referenced by valueChange().
618
 
.SS "void QwtAbstractSlider::wheelEvent (QWheelEvent * e)\fC [protected, virtual]\fP"
619
 
.PP
620
 
Wheel Event handler 
621
 
.PP
622
 
\fBParameters:\fP
623
 
.RS 4
624
 
\fIe\fP Whell event 
625
 
.RE
626
 
.PP
627
 
 
628
 
.PP
629
 
Definition at line 336 of file qwt_abstract_slider.cpp.
630
 
.PP
631
 
References getScrollMode(), QwtDoubleRange::incPages(), isReadOnly(), isValid(), QwtDoubleRange::prevValue(), sliderMoved(), and QwtDoubleRange::value().
632
 
 
633
 
.SH "Author"
634
 
.PP 
635
 
Generated automatically by Doxygen for Qwt User's Guide from the source code.