File: class_qwt_double_range.html

package info (click to toggle)
qwt5 5.2.2-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 13,340 kB
  • sloc: cpp: 32,645; makefile: 23; sh: 4
file content (633 lines) | stat: -rw-r--r-- 33,039 bytes parent folder | download
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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Qwt User&#39;s Guide: QwtDoubleRange Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">5.2.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtDoubleRange Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtDoubleRange" -->
<p>A class which controls a value within an interval.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__double__range_8h_source.html">qwt_double_range.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtDoubleRange:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_double_range__inherit__graph.png" border="0" usemap="#_qwt_double_range_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_double_range_inherit__map" id="_qwt_double_range_inherit__map">
<area shape="rect" id="node3" href="class_qwt_abstract_slider.html" title="An abstract base class for slider widgets." alt="" coords="211,86,336,117"/><area shape="rect" id="node17" href="class_qwt_counter.html" title="The Counter Widget." alt="" coords="360,86,451,117"/><area shape="rect" id="node5" href="class_qwt_dial.html" title="QwtDial class provides a rounded range control." alt="" coords="96,166,163,197"/><area shape="rect" id="node11" href="class_qwt_knob.html" title="The Knob Widget." alt="" coords="187,166,261,197"/><area shape="rect" id="node13" href="class_qwt_slider.html" title="The Slider Widget." alt="" coords="285,166,363,197"/><area shape="rect" id="node15" href="class_qwt_wheel.html" title="The Wheel Widget." alt="" coords="387,166,467,197"/><area shape="rect" id="node7" href="class_qwt_analog_clock.html" title="An analog clock." alt="" coords="5,246,123,277"/><area shape="rect" id="node9" href="class_qwt_compass.html" title="A Compass Widget." alt="" coords="147,246,245,277"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_qwt_double_range-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a63bc8ea5e7ecd776b7d32d21db1ea668">fitValue</a> (double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a19b85337d4ab0b5f0579b02e4fb29a8f">incPages</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a299c35c72e9b69f5a0e3dcd2b7da775b">incValue</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#afc4921deb3f68a64cc08b0654a040bc6">isValid</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a215275a1a8b4218a424ee8444c7fe409">maxValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a8b8650a6f8a96144d3af21207ee71637">minValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#ac12a5c43dc5839913379982ec40a39d8">pageSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#ad1efbcbf29dbc74f3f378292b76b007b">periodic</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a86f9f76df03d7917d88a95d1667f2d72">QwtDoubleRange</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a95fa6a4e44fc47726d939155bb6f6f1f">setPeriodic</a> (bool tf)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a43891011664b74b8e5454763a3f5ff21">setRange</a> (double vmin, double vmax, double vstep=0.0, int pagesize=1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a29ed5fc66439def424a8ad773eea285d">setStep</a> (double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a50a9c386663e170016a74cf8ee28ab8f">setValid</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#af6a3aa74c970a2bef29f0c1af99720e8">setValue</a> (double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a0cb8cc60548c10cb1d98e54387961967">step</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a7777cf257c812579c4891512f1b6cad0">value</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#abdcecda4b14ba81cfdaf063e2b98a22d">~QwtDoubleRange</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a595c04ed863eb7f0adaf94440087fe0a">exactPrevValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a705b76d28882d37bc5313d6c38c9a720">exactValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a38768187bef94dd5e5a2c8664746b365">prevValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a3583134a1ac32706aa4742088bb9d4dc">rangeChange</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a86641f8755ed172ca4cf72d36df539ca">stepChange</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_double_range.html#a1d50398342d6aa1d9cd86650ee29aff8">valueChange</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class which controls a value within an interval. </p>
<p>This class is useful as a base class or a member for sliders. It represents an interval of type double within which a value can be moved. The value can be either an arbitrary point inside the interval (see <a class="el" href="class_qwt_double_range.html#af6a3aa74c970a2bef29f0c1af99720e8" title="Set a new value without adjusting to the step raster.">QwtDoubleRange::setValue</a>), or it can be fitted into a step raster (see <a class="el" href="class_qwt_double_range.html#a63bc8ea5e7ecd776b7d32d21db1ea668" title="Adjust the value to the closest point in the step raster.">QwtDoubleRange::fitValue</a> and <a class="el" href="class_qwt_double_range.html#a299c35c72e9b69f5a0e3dcd2b7da775b" title="Increment the value by a specified number of steps.">QwtDoubleRange::incValue</a>).</p>
<p>As a special case, a <a class="el" href="class_qwt_double_range.html" title="A class which controls a value within an interval.">QwtDoubleRange</a> can be periodic, which means that a value outside the interval will be mapped to a value inside the interval when <a class="el" href="class_qwt_double_range.html#af6a3aa74c970a2bef29f0c1af99720e8" title="Set a new value without adjusting to the step raster.">QwtDoubleRange::setValue()</a>, <a class="el" href="class_qwt_double_range.html#a63bc8ea5e7ecd776b7d32d21db1ea668" title="Adjust the value to the closest point in the step raster.">QwtDoubleRange::fitValue()</a>, <a class="el" href="class_qwt_double_range.html#a299c35c72e9b69f5a0e3dcd2b7da775b" title="Increment the value by a specified number of steps.">QwtDoubleRange::incValue()</a> or <a class="el" href="class_qwt_double_range.html#a19b85337d4ab0b5f0579b02e4fb29a8f" title="Increment the value by a specified number of pages.">QwtDoubleRange::incPages()</a> are called. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a86f9f76df03d7917d88a95d1667f2d72"></a><!-- doxytag: member="QwtDoubleRange::QwtDoubleRange" ref="a86f9f76df03d7917d88a95d1667f2d72" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtDoubleRange::QwtDoubleRange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The range is initialized to [0.0, 100.0], the step size to 1.0, and the value to 0.0. </p>

</div>
</div>
<a class="anchor" id="abdcecda4b14ba81cfdaf063e2b98a22d"></a><!-- doxytag: member="QwtDoubleRange::~QwtDoubleRange" ref="abdcecda4b14ba81cfdaf063e2b98a22d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtDoubleRange::~QwtDoubleRange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destroys the <a class="el" href="class_qwt_double_range.html" title="A class which controls a value within an interval.">QwtDoubleRange</a>. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a595c04ed863eb7f0adaf94440087fe0a"></a><!-- doxytag: member="QwtDoubleRange::exactPrevValue" ref="a595c04ed863eb7f0adaf94440087fe0a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::exactPrevValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the exact previous value. </p>

</div>
</div>
<a class="anchor" id="a705b76d28882d37bc5313d6c38c9a720"></a><!-- doxytag: member="QwtDoubleRange::exactValue" ref="a705b76d28882d37bc5313d6c38c9a720" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::exactValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the exact value. </p>
<p>The exact value is the value which <a class="el" href="class_qwt_double_range.html#a7777cf257c812579c4891512f1b6cad0" title="Returns the current value.">QwtDoubleRange::value</a> would return if the value were not adjusted to the step raster. It differs from the current value only if <a class="el" href="class_qwt_double_range.html#a63bc8ea5e7ecd776b7d32d21db1ea668" title="Adjust the value to the closest point in the step raster.">QwtDoubleRange::fitValue</a> or <a class="el" href="class_qwt_double_range.html#a299c35c72e9b69f5a0e3dcd2b7da775b" title="Increment the value by a specified number of steps.">QwtDoubleRange::incValue</a> have been used before. This function is intended for internal use in derived classes. </p>

</div>
</div>
<a class="anchor" id="a63bc8ea5e7ecd776b7d32d21db1ea668"></a><!-- doxytag: member="QwtDoubleRange::fitValue" ref="a63bc8ea5e7ecd776b7d32d21db1ea668" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::fitValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adjust the value to the closest point in the step raster. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>value </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The value is clipped when it lies outside the range. When the range is <a class="el" href="class_qwt_double_range.html#ad1efbcbf29dbc74f3f378292b76b007b" title="Returns true if the range is periodic.">QwtDoubleRange::periodic</a>, it will be mapped to a point in the interval such that <div class="fragment"><pre class="fragment">new value := x + n * (max. value - min. value)</pre></div> with an integer number n. </dd></dl>

<p>Reimplemented in <a class="el" href="class_qwt_abstract_slider.html#a50ed1e265beaa1c8adbe718caa023e50">QwtAbstractSlider</a>.</p>

</div>
</div>
<a class="anchor" id="a19b85337d4ab0b5f0579b02e4fb29a8f"></a><!-- doxytag: member="QwtDoubleRange::incPages" ref="a19b85337d4ab0b5f0579b02e4fb29a8f" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::incPages </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPages</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Increment the value by a specified number of pages. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">nPages</td><td>Number of pages to increment. A negative number decrements the value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The Page size is specified in the constructor. </dd></dl>

</div>
</div>
<a class="anchor" id="a299c35c72e9b69f5a0e3dcd2b7da775b"></a><!-- doxytag: member="QwtDoubleRange::incValue" ref="a299c35c72e9b69f5a0e3dcd2b7da775b" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::incValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nSteps</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Increment the value by a specified number of steps. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">nSteps</td><td>Number of steps to increment </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>As a result of this operation, the new value will always be adjusted to the step raster. </dd></dl>

<p>Reimplemented in <a class="el" href="class_qwt_abstract_slider.html#a5fccdb2ca370bba9ed4d29864fd80788">QwtAbstractSlider</a>.</p>

</div>
</div>
<a class="anchor" id="afc4921deb3f68a64cc08b0654a040bc6"></a><!-- doxytag: member="QwtDoubleRange::isValid" ref="afc4921deb3f68a64cc08b0654a040bc6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtDoubleRange::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indicates if the value is valid. </p>

<p>Reimplemented in <a class="el" href="class_qwt_abstract_slider.html#a87c750f098cb5f70306a7908339cb88e">QwtAbstractSlider</a>.</p>

</div>
</div>
<a class="anchor" id="a215275a1a8b4218a424ee8444c7fe409"></a><!-- doxytag: member="QwtDoubleRange::maxValue" ref="a215275a1a8b4218a424ee8444c7fe409" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::maxValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the value of the second border of the range. </p>
<p>maxValue returns the value which has been specified as the second parameter in <a class="el" href="class_qwt_double_range.html#a43891011664b74b8e5454763a3f5ff21" title="Specify range and step size.">QwtDoubleRange::setRange</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#a43891011664b74b8e5454763a3f5ff21" title="Specify range and step size.">setRange()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8b8650a6f8a96144d3af21207ee71637"></a><!-- doxytag: member="QwtDoubleRange::minValue" ref="a8b8650a6f8a96144d3af21207ee71637" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::minValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the value at the first border of the range. </p>
<p>minValue returns the value which has been specified as the first parameter in <a class="el" href="class_qwt_double_range.html#a43891011664b74b8e5454763a3f5ff21" title="Specify range and step size.">setRange()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#a43891011664b74b8e5454763a3f5ff21" title="Specify range and step size.">setRange()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac12a5c43dc5839913379982ec40a39d8"></a><!-- doxytag: member="QwtDoubleRange::pageSize" ref="ac12a5c43dc5839913379982ec40a39d8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtDoubleRange::pageSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the page size in steps. </p>

</div>
</div>
<a class="anchor" id="ad1efbcbf29dbc74f3f378292b76b007b"></a><!-- doxytag: member="QwtDoubleRange::periodic" ref="ad1efbcbf29dbc74f3f378292b76b007b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtDoubleRange::periodic </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the range is periodic. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#a95fa6a4e44fc47726d939155bb6f6f1f" title="Make the range periodic.">setPeriodic()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a38768187bef94dd5e5a2c8664746b365"></a><!-- doxytag: member="QwtDoubleRange::prevValue" ref="a38768187bef94dd5e5a2c8664746b365" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::prevValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the previous value. </p>

</div>
</div>
<a class="anchor" id="a3583134a1ac32706aa4742088bb9d4dc"></a><!-- doxytag: member="QwtDoubleRange::rangeChange" ref="a3583134a1ac32706aa4742088bb9d4dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::rangeChange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notify a change of the range. </p>
<p>This virtual function is called whenever the range changes. The default implementation does nothing. </p>

<p>Reimplemented in <a class="el" href="class_qwt_counter.html#a4fd4e750b1f5a852250e57778a3e4159">QwtCounter</a>, <a class="el" href="class_qwt_dial.html#a81b21a9954c5561af549214ee153573c">QwtDial</a>, and <a class="el" href="class_qwt_slider.html#ae8eff3a30ef4086cac42d244cef81ac0">QwtSlider</a>.</p>

</div>
</div>
<a class="anchor" id="a95fa6a4e44fc47726d939155bb6f6f1f"></a><!-- doxytag: member="QwtDoubleRange::setPeriodic" ref="a95fa6a4e44fc47726d939155bb6f6f1f" args="(bool tf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::setPeriodic </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make the range periodic. </p>
<p>When the range is periodic, the value will be set to a point inside the interval such that</p>
<div class="fragment"><pre class="fragment">point = value + n * width </pre></div><p>if the user tries to set a new value which is outside the range. If the range is nonperiodic (the default), values outside the range will be clipped.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">tf</td><td>true for a periodic range </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a43891011664b74b8e5454763a3f5ff21"></a><!-- doxytag: member="QwtDoubleRange::setRange" ref="a43891011664b74b8e5454763a3f5ff21" args="(double vmin, double vmax, double vstep=0.0, int pagesize=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::setRange </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vstep</em> = <code>0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pageSize</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify range and step size. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vmin</td><td>lower boundary of the interval </td></tr>
    <tr><td class="paramname">vmax</td><td>higher boundary of the interval </td></tr>
    <tr><td class="paramname">vstep</td><td>step width </td></tr>
    <tr><td class="paramname">pageSize</td><td>page size in steps </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd><ul>
<li>A change of the range changes the value if it lies outside the new range. The current value will *not* be adjusted to the new step raster. </li>
<li>vmax &lt; vmin is allowed. </li>
<li>If the step size is left out or set to zero, it will be set to 1/100 of the interval length. </li>
<li>If the step size has an absurd value, it will be corrected to a better one. </li>
</ul>
</dd></dl>

</div>
</div>
<a class="anchor" id="a29ed5fc66439def424a8ad773eea285d"></a><!-- doxytag: member="QwtDoubleRange::setStep" ref="a29ed5fc66439def424a8ad773eea285d" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::setStep </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vstep</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change the step raster. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vstep</td><td>new step width </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The value will <em>not</em> be adjusted to the new step raster. </dd></dl>

<p>Reimplemented in <a class="el" href="class_qwt_counter.html#ab885e97d0071877dfefb73feb0adc0cd">QwtCounter</a>.</p>

</div>
</div>
<a class="anchor" id="a50a9c386663e170016a74cf8ee28ab8f"></a><!-- doxytag: member="QwtDoubleRange::setValid" ref="a50a9c386663e170016a74cf8ee28ab8f" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::setValid </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isValid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the value to be valid/invalid. </p>

<p>Reimplemented in <a class="el" href="class_qwt_abstract_slider.html#a79d99f14ebd47dfede8135845c90cedb">QwtAbstractSlider</a>.</p>

</div>
</div>
<a class="anchor" id="af6a3aa74c970a2bef29f0c1af99720e8"></a><!-- doxytag: member="QwtDoubleRange::setValue" ref="af6a3aa74c970a2bef29f0c1af99720e8" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::setValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a new value without adjusting to the step raster. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>new value </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The value is clipped when it lies outside the range. When the range is <a class="el" href="class_qwt_double_range.html#ad1efbcbf29dbc74f3f378292b76b007b" title="Returns true if the range is periodic.">QwtDoubleRange::periodic</a>, it will be mapped to a point in the interval such that <div class="fragment"><pre class="fragment">new value := x + n * (max. value - min. value)</pre></div> with an integer number n. </dd></dl>

<p>Reimplemented in <a class="el" href="class_qwt_abstract_slider.html#ac3713f8989b647cb79f0a5894991e36a">QwtAbstractSlider</a>, and <a class="el" href="class_qwt_counter.html#a429a2e986aa46c1231643df5d4c78970">QwtCounter</a>.</p>

</div>
</div>
<a class="anchor" id="a0cb8cc60548c10cb1d98e54387961967"></a><!-- doxytag: member="QwtDoubleRange::step" ref="a0cb8cc60548c10cb1d98e54387961967" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::step </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the step size </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_double_range.html#a29ed5fc66439def424a8ad773eea285d" title="Change the step raster.">setStep()</a>, <a class="el" href="class_qwt_double_range.html#a43891011664b74b8e5454763a3f5ff21" title="Specify range and step size.">setRange()</a> </dd></dl>

<p>Reimplemented in <a class="el" href="class_qwt_counter.html#ab3496bdd6bdb093462bca588880d8c1b">QwtCounter</a>.</p>

</div>
</div>
<a class="anchor" id="a86641f8755ed172ca4cf72d36df539ca"></a><!-- doxytag: member="QwtDoubleRange::stepChange" ref="a86641f8755ed172ca4cf72d36df539ca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::stepChange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notify a change of the step size. </p>
<p>This virtual function is called whenever the step size changes. The default implementation does nothing. </p>

</div>
</div>
<a class="anchor" id="a7777cf257c812579c4891512f1b6cad0"></a><!-- doxytag: member="QwtDoubleRange::value" ref="a7777cf257c812579c4891512f1b6cad0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtDoubleRange::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the current value. </p>

<p>Reimplemented in <a class="el" href="class_qwt_counter.html#a121194fadd8cea929c1ac9509f27fe58">QwtCounter</a>.</p>

</div>
</div>
<a class="anchor" id="a1d50398342d6aa1d9cd86650ee29aff8"></a><!-- doxytag: member="QwtDoubleRange::valueChange" ref="a1d50398342d6aa1d9cd86650ee29aff8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtDoubleRange::valueChange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notify a change of value. </p>
<p>This virtual function is called whenever the value changes. The default implementation does nothing. </p>

<p>Reimplemented in <a class="el" href="class_qwt_abstract_slider.html#a2f04dc51e4402b51fef3250bcc99dc7f">QwtAbstractSlider</a>, <a class="el" href="class_qwt_dial.html#ad8803d79d9fbefdae55907728bb01894">QwtDial</a>, <a class="el" href="class_qwt_slider.html#a62380259b0831ad98a1b0ad011f32bea">QwtSlider</a>, and <a class="el" href="class_qwt_wheel.html#a0fa3d4f4189f7bb6ee0944cd30060eb5">QwtWheel</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>