File: class_qwt_knob.html

package info (click to toggle)
libqwt 4.2.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,832 kB
  • ctags: 5,512
  • sloc: cpp: 22,973; ansic: 244; makefile: 64
file content (719 lines) | stat: -rw-r--r-- 30,430 bytes parent folder | download | duplicates (5)
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
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Qwt User&apos;s Guide: QwtKnob Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.8 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>QwtKnob Class Reference</h1>Inheritance diagram for QwtKnob:<p><center><img src="class_qwt_knob__inherit__graph.png" border="0" usemap="#_qwt_knob__inherit__map" alt="Inheritance graph"></center>
<map name="_qwt_knob__inherit__map">
<area href="class_qwt_slider_base.html" shape="rect" coords="6,93,108,117" alt="">
<area href="class_qwt_dbl_range.html" shape="rect" coords="9,18,105,42" alt="">
<area href="class_qwt_scale_if.html" shape="rect" coords="131,93,209,117" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtKnob:<p><center><img src="class_qwt_knob__coll__graph.png" border="0" usemap="#_qwt_knob__coll__map" alt="Collaboration graph"></center>
<map name="_qwt_knob__coll__map">
<area href="class_qwt_slider_base.html" shape="rect" coords="6,199,108,223" alt="">
<area href="class_qwt_dbl_range.html" shape="rect" coords="6,109,102,133" alt="">
<area href="class_qwt_scale_if.html" shape="rect" coords="133,199,210,223" alt="">
<area href="class_qwt_scale_draw.html" shape="rect" coords="126,109,227,133" alt="">
<area href="class_qwt_di_map.html" shape="rect" coords="86,18,161,42" alt="">
<area href="class_qwt_scale_div.html" shape="rect" coords="185,18,275,42" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_knob-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The Knob Widget. 
<p>
The QwtKnob widget imitates look and behaviour of a volume knob on a radio. It contains a scale around the knob which is set up automatically or can be configured manually (see <a class="el" href="class_qwt_scale_if.html">QwtScaleIf</a>). Automatic scrolling is enabled when the user presses a mouse button on the scale. For a description of signals, slots and other members, see <a class="el" href="class_qwt_slider_base.html">QwtSliderBase</a>.<p>
<div align="center">
<img src="knob.gif" alt="knob.gif">
</div>
 <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_slider_base.html">QwtSliderBase</a> and <a class="el" href="class_qwt_scale_if.html">QwtScaleIf</a> for the descriptions of the inherited members. </dd></dl>

<p>
Definition at line <a class="el" href="qwt__knob_8h-source.html#l00032">32</a> of file <a class="el" href="qwt__knob_8h-source.html">qwt_knob.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#w2">Symbol</a> { <br>
&nbsp;&nbsp;<b>Line</b>, 
<br>
&nbsp;&nbsp;<b>Dot</b>
<br>
 }</td></tr>

<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a0">QwtKnob</a> (QWidget *parent=0, const char *name=0)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a1">~QwtKnob</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a2">setKnobWidth</a> (int w)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a3">setTotalAngle</a> (double angle)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a4">setBorderWidth</a> (int bw)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a5">knobWidth</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a6">totalAngle</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a7">borderWidth</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a8">setSymbol</a> (<a class="el" href="class_qwt_knob.html#w2">Symbol</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="class_qwt_knob.html#w2">Symbol</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a9">symbol</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual QSize&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a10">sizeHint</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual QSize&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#a11">minimumSizeHint</a> () const</td></tr>

<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#b0">paintEvent</a> (QPaintEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#b1">resizeEvent</a> (QResizeEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#b2">draw</a> (QPainter *p, const QRect &amp;ur)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#b3">drawKnob</a> (QPainter *p, const QRect &amp;r)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_knob.html#b4">drawMarker</a> (QPainter *p, double arc, const QColor &amp;c)</td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="w2" doxytag="QwtKnob::Symbol" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> enum <a class="el" href="class_qwt_knob.html#w2">QwtKnob::Symbol</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Symbol <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_knob.html#a0">QwtKnob::QwtKnob()</a> </dd></dl>
Definition at line <a class="el" href="qwt__knob_8h-source.html#l00047">47</a> of file <a class="el" href="qwt__knob_8h-source.html">qwt_knob.h</a>.
<p>
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00070">symbol()</a>.    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="QwtKnob::QwtKnob" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QwtKnob::QwtKnob           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QWidget *&nbsp;</td>
          <td class="mdname" nowrap> <em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em> = <code>0</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>parent</em>&nbsp;</td><td>Parent widget </td></tr>
    <tr><td></td><td valign=top><em>name</em>&nbsp;</td><td>Name </td></tr>
  </table>
</dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00023">23</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__sclif_8cpp-source.html#l00177">QwtScaleIf::scaleDraw()</a>, <a class="el" href="qwt__scldraw_8cpp-source.html#l00448">QwtScaleDraw::setGeometry()</a>, <a class="el" href="qwt__knob_8cpp-source.html#l00083">setTotalAngle()</a>, and <a class="el" href="qwt__sldbase_8cpp-source.html#l00106">QwtSliderBase::setUpdateTime()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="QwtKnob::~QwtKnob" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QwtKnob::~<a class="el" href="class_qwt_knob.html">QwtKnob</a>           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destructor. 
<p>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00049">49</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a7" doxytag="QwtKnob::borderWidth" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int QwtKnob::borderWidth           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the border width. 
<p>
Definition at line <a class="el" href="qwt__knob_8h-source.html#l00061">61</a> of file <a class="el" href="qwt__knob_8h-source.html">qwt_knob.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b2" doxytag="QwtKnob::draw" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::draw           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
          <td class="mdname" nowrap> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>ur</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Repaint the knob. 
<p>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00275">275</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__scldraw_8cpp-source.html#l00104">QwtScaleDraw::draw()</a>, <a class="el" href="qwt__knob_8cpp-source.html#l00099">drawKnob()</a>, and <a class="el" href="qwt__sclif_8cpp-source.html#l00177">QwtScaleIf::scaleDraw()</a>.
<p>
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00262">paintEvent()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b3" doxytag="QwtKnob::drawKnob" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::drawKnob           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
          <td class="mdname" nowrap> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>r</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draw the knob. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>p</em>&nbsp;</td><td>painter </td></tr>
    <tr><td></td><td valign=top><em>r</em>&nbsp;</td><td>borders of the knob </td></tr>
  </table>
</dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00099">99</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__knob_8cpp-source.html#l00301">drawMarker()</a>, and <a class="el" href="qwt__sldbase_8h-source.html#l00066">QwtSliderBase::isValid()</a>.
<p>
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00275">draw()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b4" doxytag="QwtKnob::drawMarker" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::drawMarker           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
          <td class="mdname" nowrap> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap> <em>arc</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QColor &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>c</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draw the marker at the knob's front. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>p</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td></td><td valign=top><em>arc</em>&nbsp;</td><td>Angle of the marker </td></tr>
    <tr><td></td><td valign=top><em>c</em>&nbsp;</td><td>Marker color </td></tr>
  </table>
</dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00301">301</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00099">drawKnob()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5" doxytag="QwtKnob::knobWidth" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int QwtKnob::knobWidth           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the width of the knob. 
<p>
Definition at line <a class="el" href="qwt__knob_8h-source.html#l00057">57</a> of file <a class="el" href="qwt__knob_8h-source.html">qwt_knob.h</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11" doxytag="QwtKnob::minimumSizeHint" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QSize QwtKnob::minimumSizeHint           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return a minimum size hint. 
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The return value of <a class="el" href="class_qwt_knob.html#a11">QwtKnob::minimumSizeHint()</a> depends on the font and the scale. </dd></dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00424">424</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__scldraw_8cpp-source.html#l00960">QwtScaleDraw::minHeight()</a>, and <a class="el" href="qwt__sclif_8cpp-source.html#l00177">QwtScaleIf::scaleDraw()</a>.
<p>
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00414">sizeHint()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b0" doxytag="QwtKnob::paintEvent" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::paintEvent           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPaintEvent *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>e</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Repaint the knob. 
<p>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00262">262</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__knob_8cpp-source.html#l00275">draw()</a>, and <a class="el" href="qwt__paint__buffer_8cpp-source.html#l00058">QwtPaintBuffer::painter()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b1" doxytag="QwtKnob::resizeEvent" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::resizeEvent           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QResizeEvent *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>e</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Qt Resize Event. 
<p>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00228">228</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="QwtKnob::setBorderWidth" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::setBorderWidth           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>bw</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the knob's border width. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>bw</em>&nbsp;</td><td>new border width </td></tr>
  </table>
</dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00360">360</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="QwtKnob::setKnobWidth" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::setKnobWidth           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>w</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Change the knob's width. 
<p>
The specified width must be &gt;= 5, or it will be clipped. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>w</em>&nbsp;</td><td>New width </td></tr>
  </table>
</dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00350">350</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8" doxytag="QwtKnob::setSymbol" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::setSymbol           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_knob.html#w2">QwtKnob::Symbol</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>s</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the symbol of the knob. 
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_knob.html#a9">QwtKnob::symbol()</a> </dd></dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00057">57</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="QwtKnob::setTotalAngle" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtKnob::setTotalAngle           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">double&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>angle</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the total angle by which the knob can be turned. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>angle</em>&nbsp;</td><td>Angle in degrees.</td></tr>
  </table>
</dl>
The default angle is 270 degrees. It is possible to specify an angle of more than 360 degrees so that the knob can be turned several times around its axis. Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00083">83</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__sclif_8cpp-source.html#l00177">QwtScaleIf::scaleDraw()</a>, and <a class="el" href="qwt__scldraw_8cpp-source.html#l00611">QwtScaleDraw::setAngleRange()</a>.
<p>
Referenced by <a class="el" href="qwt__knob_8cpp-source.html#l00023">QwtKnob()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a10" doxytag="QwtKnob::sizeHint" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QSize QwtKnob::sizeHint           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="class_qwt_knob.html#a11">QwtKnob::minimumSizeHint()</a> </dd></dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00414">414</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__knob_8cpp-source.html#l00424">minimumSizeHint()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9" doxytag="QwtKnob::symbol" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="class_qwt_knob.html#w2">QwtKnob::Symbol</a> QwtKnob::symbol           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Returns:</b></dt><dd>symbol of the knob </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_knob.html#a8">QwtKnob::setSymbol()</a> </dd></dl>
Definition at line <a class="el" href="qwt__knob_8cpp-source.html#l00070">70</a> of file <a class="el" href="qwt__knob_8cpp-source.html">qwt_knob.cpp</a>.
<p>
References <a class="el" href="qwt__knob_8h-source.html#l00047">Symbol</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6" doxytag="QwtKnob::totalAngle" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> double QwtKnob::totalAngle           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the total angle. 
<p>
Definition at line <a class="el" href="qwt__knob_8h-source.html#l00059">59</a> of file <a class="el" href="qwt__knob_8h-source.html">qwt_knob.h</a>.    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Nov 16 21:12:29 2004 for Qwt User's Guide by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>