1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtWheel Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtWheel Class Reference</h1><!-- doxytag: class="QwtWheel" --><!-- doxytag: inherits="QwtAbstractSlider" -->Inheritance diagram for QwtWheel:<p><center><img src="class_qwt_wheel__inherit__graph.png" border="0" usemap="#_qwt_wheel__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_wheel__inherit__map">
24
<area href="class_qwt_abstract_slider.html" shape="rect" coords="7,83,135,107" alt="">
25
<area href="class_qwt_double_range.html" shape="rect" coords="8,8,133,32" alt="">
27
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtWheel:<p><center><img src="class_qwt_wheel__coll__graph.png" border="0" usemap="#_qwt_wheel__coll__map" alt="Collaboration graph"></center>
28
<map name="_qwt_wheel__coll__map">
29
<area href="class_qwt_abstract_slider.html" shape="rect" coords="7,83,135,107" alt="">
30
<area href="class_qwt_double_range.html" shape="rect" coords="8,8,133,32" alt="">
32
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_wheel-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
35
The wheel widget can be used to change values over a very large range in very small steps. Using the setMass member, it can be configured as a flywheel.<p>
36
<dl class="see" compact><dt><b>See also:</b></dt><dd>The radio example. </dd></dl>
41
Definition at line <a class="el" href="qwt__wheel_8h-source.html#l00025">25</a> of file <a class="el" href="qwt__wheel_8h-source.html">qwt_wheel.h</a>.<table border="0" cellpadding="0" cellspacing="0">
43
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#98fc47123aac47168b5d98a73b87d0a7">QwtWheel</a> (QWidget *parent=NULL)</td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#57f465a31a9d2d88cb7a1d0e6391535e">~QwtWheel</a> ()</td></tr>
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#cae74c8161fd1df728f26253dd1defa8">setOrientation</a> (Qt::Orientation)</td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e88b6f36175c8af955fda61b2874c4d8"></a><!-- doxytag: member="QwtWheel::totalAngle" ref="e88b6f36175c8af955fda61b2874c4d8" args="() const" -->
51
double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e88b6f36175c8af955fda61b2874c4d8">totalAngle</a> () const</td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81f3e69d4b9cc5badc514d9d74c40f3b"></a><!-- doxytag: member="QwtWheel::viewAngle" ref="81f3e69d4b9cc5badc514d9d74c40f3b" args="() const" -->
54
double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#81f3e69d4b9cc5badc514d9d74c40f3b">viewAngle</a> () const</td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e25ebe1d5d7b9af8b00150aeacd73415"></a><!-- doxytag: member="QwtWheel::tickCnt" ref="e25ebe1d5d7b9af8b00150aeacd73415" args="() const" -->
57
int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e25ebe1d5d7b9af8b00150aeacd73415">tickCnt</a> () const</td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="443dff663b65855149145b94936cbbaf"></a><!-- doxytag: member="QwtWheel::internalBorder" ref="443dff663b65855149145b94936cbbaf" args="() const" -->
60
int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#443dff663b65855149145b94936cbbaf">internalBorder</a> () const</td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#805997f0b3fc520b721bdd11f3808b12">mass</a> () const</td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#3bf43e42e715577f05be9525be1a8e0e">setTotalAngle</a> (double angle)</td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#8a970c3b4f776217c284cdce15206530">setTickCnt</a> (int cnt)</td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#d90821d39ff243db547a1c9b0b0ef545">setViewAngle</a> (double angle)</td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#cb9358f6cf27f1552dd7f97ebfd2d3fb">setInternalBorder</a> (int width)</td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#811ef1cf04a3d39eb017fcfe808bbd4f">setMass</a> (double val)</td></tr>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#fc5416139e1c962b950a8d48fe465209">setWheelWidth</a> (int w)</td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e57b5aa2da03df6c0ac78b896a91e1ba">sizeHint</a> () const</td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#da93a1ea593834beb546474bca0991cb">minimumSizeHint</a> () const</td></tr>
80
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
81
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#f4fda101be95e70803127cc94fc1e337">resizeEvent</a> (QResizeEvent *e)</td></tr>
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#c2bc645171e2c1dd34acff3d122ab4ba">paintEvent</a> (QPaintEvent *e)</td></tr>
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#03a6adc4f6516143501c8114f164d47c">layoutWheel</a> (bool update=true)</td></tr>
87
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e08370e0e6a82ab3539d073ced3bc313">draw</a> (QPainter *p, const QRect &update_rect)</td></tr>
89
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#d1feb5d4c2a9b410c4d5d108a5630904">drawWheel</a> (QPainter *p, const QRect &r)</td></tr>
91
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#33b95a78f006f36fee8dafea9531afa9">drawWheelBackground</a> (QPainter *p, const QRect &r)</td></tr>
93
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#f7d32d9b65d1f55913656a44b2a20646">setColorArray</a> ()</td></tr>
95
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#0fa3d4f4189f7bb6ee0944cd30060eb5">valueChange</a> ()</td></tr>
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#358aae0c56eda43f5c9fdb74b89de60a">paletteChange</a> (const QPalette &)</td></tr>
99
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#6bb116593e63e724059c894a6fc41097">getValue</a> (const QPoint &p)</td></tr>
101
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#2655146c5d017756566691e8142b8fcd">getScrollMode</a> (const QPoint &p, int &scrollMode, int &direction)</td></tr>
104
<hr><h2>Constructor & Destructor Documentation</h2>
105
<a class="anchor" name="98fc47123aac47168b5d98a73b87d0a7"></a><!-- doxytag: member="QwtWheel::QwtWheel" ref="98fc47123aac47168b5d98a73b87d0a7" args="(QWidget *parent=NULL)" -->
106
<div class="memitem">
107
<div class="memproto">
108
<table class="memname">
110
<td class="memname">QwtWheel::QwtWheel </td>
112
<td class="paramtype">QWidget * </td>
113
<td class="paramname"> <em>parent</em> = <code>NULL</code> </td>
114
<td> ) </td>
115
<td width="100%"><code> [explicit]</code></td>
126
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00051">51</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
129
<a class="anchor" name="57f465a31a9d2d88cb7a1d0e6391535e"></a><!-- doxytag: member="QwtWheel::~QwtWheel" ref="57f465a31a9d2d88cb7a1d0e6391535e" args="()" -->
130
<div class="memitem">
131
<div class="memproto">
132
<table class="memname">
134
<td class="memname">QwtWheel::~QwtWheel </td>
136
<td class="paramname"> </td>
137
<td> ) </td>
138
<td width="100%"><code> [virtual]</code></td>
149
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00086">86</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
152
<hr><h2>Member Function Documentation</h2>
153
<a class="anchor" name="cae74c8161fd1df728f26253dd1defa8"></a><!-- doxytag: member="QwtWheel::setOrientation" ref="cae74c8161fd1df728f26253dd1defa8" args="(Qt::Orientation)" -->
154
<div class="memitem">
155
<div class="memproto">
156
<table class="memname">
158
<td class="memname">void QwtWheel::setOrientation </td>
160
<td class="paramtype">Qt::Orientation </td>
161
<td class="paramname"> <em>o</em> </td>
162
<td> ) </td>
163
<td width="100%"><code> [virtual]</code></td>
170
Set the wheel's orientation.
172
<dl compact><dt><b>Parameters:</b></dt><dd>
173
<table border="0" cellspacing="2" cellpadding="0">
174
<tr><td valign="top"></td><td valign="top"><em>o</em> </td><td>Orientation. Allowed values are Qt::Horizontal and Qt::Vertical. Defaults to Qt::Horizontal. </td></tr>
177
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_slider.html#5191a5ae69ab34e24463d23a32dbd02f">QwtAbstractSlider::orientation()</a> </dd></dl>
180
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#6b0fdc50bfbb0a8bb40f0dc6bf493b2c">QwtAbstractSlider</a>.
182
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00325">325</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
184
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00108">QwtAbstractSlider::setOrientation()</a>.
187
<a class="anchor" name="805997f0b3fc520b721bdd11f3808b12"></a><!-- doxytag: member="QwtWheel::mass" ref="805997f0b3fc520b721bdd11f3808b12" args="() const" -->
188
<div class="memitem">
189
<div class="memproto">
190
<table class="memname">
192
<td class="memname">double QwtWheel::mass </td>
194
<td class="paramname"> </td>
195
<td> ) </td>
196
<td width="100%"> const<code> [virtual]</code></td>
203
<dl class="return" compact><dt><b>Returns:</b></dt><dd>mass </dd></dl>
206
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#a9681d70bfbd568d076a916c020b2507">QwtAbstractSlider</a>.
208
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00168">168</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
210
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00521">QwtAbstractSlider::mass()</a>.
213
<a class="anchor" name="3bf43e42e715577f05be9525be1a8e0e"></a><!-- doxytag: member="QwtWheel::setTotalAngle" ref="3bf43e42e715577f05be9525be1a8e0e" args="(double angle)" -->
214
<div class="memitem">
215
<div class="memproto">
216
<table class="memname">
218
<td class="memname">void QwtWheel::setTotalAngle </td>
220
<td class="paramtype">double </td>
221
<td class="paramname"> <em>angle</em> </td>
222
<td> ) </td>
223
<td width="100%"></td>
230
Set the total angle which the wheel can be turned.
232
One full turn of the wheel corresponds to an angle of 360 degrees. A total angle of n*360 degrees means that the wheel has to be turned n times around its axis to get from the minimum value to the maximum value.<p>
233
The default setting of the total angle is 360 degrees. <dl compact><dt><b>Parameters:</b></dt><dd>
234
<table border="0" cellspacing="2" cellpadding="0">
235
<tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>total angle in degrees </td></tr>
240
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00304">304</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
243
<a class="anchor" name="8a970c3b4f776217c284cdce15206530"></a><!-- doxytag: member="QwtWheel::setTickCnt" ref="8a970c3b4f776217c284cdce15206530" args="(int cnt)" -->
244
<div class="memitem">
245
<div class="memproto">
246
<table class="memname">
248
<td class="memname">void QwtWheel::setTickCnt </td>
250
<td class="paramtype">int </td>
251
<td class="paramname"> <em>cnt</em> </td>
252
<td> ) </td>
253
<td width="100%"></td>
260
Adjust the number of grooves in the wheel's surface.
262
The number of grooves is limited to 6 <= cnt <= 50. Values outside this range will be clipped. The default value is 10. <dl compact><dt><b>Parameters:</b></dt><dd>
263
<table border="0" cellspacing="2" cellpadding="0">
264
<tr><td valign="top"></td><td valign="top"><em>cnt</em> </td><td>Number of grooves per 360 degrees </td></tr>
269
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00154">154</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
272
<a class="anchor" name="d90821d39ff243db547a1c9b0b0ef545"></a><!-- doxytag: member="QwtWheel::setViewAngle" ref="d90821d39ff243db547a1c9b0b0ef545" args="(double angle)" -->
273
<div class="memitem">
274
<div class="memproto">
275
<table class="memname">
277
<td class="memname">void QwtWheel::setViewAngle </td>
279
<td class="paramtype">double </td>
280
<td class="paramname"> <em>angle</em> </td>
281
<td> ) </td>
282
<td width="100%"></td>
289
Specify the visible portion of the wheel.
291
You may use this function for fine-tuning the appearance of the wheel. The default value is 175 degrees. The value is limited from 10 to 175 degrees. <dl compact><dt><b>Parameters:</b></dt><dd>
292
<table border="0" cellspacing="2" cellpadding="0">
293
<tr><td valign="top"></td><td valign="top"><em>angle</em> </td><td>Visible angle in degrees </td></tr>
298
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00359">359</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
301
<a class="anchor" name="cb9358f6cf27f1552dd7f97ebfd2d3fb"></a><!-- doxytag: member="QwtWheel::setInternalBorder" ref="cb9358f6cf27f1552dd7f97ebfd2d3fb" args="(int width)" -->
302
<div class="memitem">
303
<div class="memproto">
304
<table class="memname">
306
<td class="memname">void QwtWheel::setInternalBorder </td>
308
<td class="paramtype">int </td>
309
<td class="paramname"> <em>w</em> </td>
310
<td> ) </td>
311
<td width="100%"></td>
318
Set the internal border width of the wheel.
320
The internal border must not be smaller than 1 and is limited in dependence on the wheel's size. Values outside the allowed range will be clipped.<p>
321
The internal border defaults to 2. <dl compact><dt><b>Parameters:</b></dt><dd>
322
<table border="0" cellspacing="2" cellpadding="0">
323
<tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>border width </td></tr>
328
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00183">183</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
330
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.
333
<a class="anchor" name="811ef1cf04a3d39eb017fcfe808bbd4f"></a><!-- doxytag: member="QwtWheel::setMass" ref="811ef1cf04a3d39eb017fcfe808bbd4f" args="(double val)" -->
334
<div class="memitem">
335
<div class="memproto">
336
<table class="memname">
338
<td class="memname">void QwtWheel::setMass </td>
340
<td class="paramtype">double </td>
341
<td class="paramname"> <em>val</em> </td>
342
<td> ) </td>
343
<td width="100%"><code> [virtual]</code></td>
350
Set the mass of the wheel.
352
Assigning a mass turns the wheel into a flywheel. <dl compact><dt><b>Parameters:</b></dt><dd>
353
<table border="0" cellspacing="2" cellpadding="0">
354
<tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>the wheel's mass </td></tr>
359
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#305b137fe4dd80cba307fe1b4bd46272">QwtAbstractSlider</a>.
361
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00612">612</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
363
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00507">QwtAbstractSlider::setMass()</a>.
366
<a class="anchor" name="fc5416139e1c962b950a8d48fe465209"></a><!-- doxytag: member="QwtWheel::setWheelWidth" ref="fc5416139e1c962b950a8d48fe465209" args="(int w)" -->
367
<div class="memitem">
368
<div class="memproto">
369
<table class="memname">
371
<td class="memname">void QwtWheel::setWheelWidth </td>
373
<td class="paramtype">int </td>
374
<td class="paramname"> <em>w</em> </td>
375
<td> ) </td>
376
<td width="100%"></td>
383
Set the width of the wheel.
385
Corresponds to the wheel height for horizontal orientation, and the wheel width for vertical orientation. <dl compact><dt><b>Parameters:</b></dt><dd>
386
<table border="0" cellspacing="2" cellpadding="0">
387
<tr><td valign="top"></td><td valign="top"><em>w</em> </td><td>the wheel's width </td></tr>
392
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00624">624</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
394
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.
397
<a class="anchor" name="e57b5aa2da03df6c0ac78b896a91e1ba"></a><!-- doxytag: member="QwtWheel::sizeHint" ref="e57b5aa2da03df6c0ac78b896a91e1ba" args="() const" -->
398
<div class="memitem">
399
<div class="memproto">
400
<table class="memname">
402
<td class="memname">QSize QwtWheel::sizeHint </td>
404
<td class="paramname"> </td>
405
<td> ) </td>
406
<td width="100%"> const<code> [virtual]</code></td>
413
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a size hint </dd></dl>
416
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00633">633</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
418
References <a class="el" href="qwt__wheel_8cpp-source.html#l00642">minimumSizeHint()</a>.
421
<a class="anchor" name="da93a1ea593834beb546474bca0991cb"></a><!-- doxytag: member="QwtWheel::minimumSizeHint" ref="da93a1ea593834beb546474bca0991cb" args="() const" -->
422
<div class="memitem">
423
<div class="memproto">
424
<table class="memname">
426
<td class="memname">QSize QwtWheel::minimumSizeHint </td>
428
<td class="paramname"> </td>
429
<td> ) </td>
430
<td width="100%"> const<code> [virtual]</code></td>
437
Return a minimum size hint.
439
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The return value is based on the wheel width. </dd></dl>
442
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00642">642</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
444
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>.
446
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00633">sizeHint()</a>.
449
<a class="anchor" name="f4fda101be95e70803127cc94fc1e337"></a><!-- doxytag: member="QwtWheel::resizeEvent" ref="f4fda101be95e70803127cc94fc1e337" args="(QResizeEvent *e)" -->
450
<div class="memitem">
451
<div class="memproto">
452
<table class="memname">
454
<td class="memname">void QwtWheel::resizeEvent </td>
456
<td class="paramtype">QResizeEvent * </td>
457
<td class="paramname"> <em>e</em> </td>
458
<td> ) </td>
459
<td width="100%"><code> [protected, virtual]</code></td>
470
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00524">524</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
472
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.
475
<a class="anchor" name="c2bc645171e2c1dd34acff3d122ab4ba"></a><!-- doxytag: member="QwtWheel::paintEvent" ref="c2bc645171e2c1dd34acff3d122ab4ba" args="(QPaintEvent *e)" -->
476
<div class="memitem">
477
<div class="memproto">
478
<table class="memname">
480
<td class="memname">void QwtWheel::paintEvent </td>
482
<td class="paramtype">QPaintEvent * </td>
483
<td class="paramname"> <em>e</em> </td>
484
<td> ) </td>
485
<td width="100%"><code> [protected, virtual]</code></td>
496
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00547">547</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
498
References <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>.
501
<a class="anchor" name="03a6adc4f6516143501c8114f164d47c"></a><!-- doxytag: member="QwtWheel::layoutWheel" ref="03a6adc4f6516143501c8114f164d47c" args="(bool update=true)" -->
502
<div class="memitem">
503
<div class="memproto">
504
<table class="memname">
506
<td class="memname">void QwtWheel::layoutWheel </td>
508
<td class="paramtype">bool </td>
509
<td class="paramname"> <em>update</em> = <code>true</code> </td>
510
<td> ) </td>
511
<td width="100%"><code> [protected]</code></td>
518
Recalculate the slider's geometry and layout based on.
522
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00533">533</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
524
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00524">resizeEvent()</a>, <a class="el" href="qwt__wheel_8cpp-source.html#l00183">setInternalBorder()</a>, <a class="el" href="qwt__wheel_8cpp-source.html#l00325">setOrientation()</a>, and <a class="el" href="qwt__wheel_8cpp-source.html#l00624">setWheelWidth()</a>.
527
<a class="anchor" name="e08370e0e6a82ab3539d073ced3bc313"></a><!-- doxytag: member="QwtWheel::draw" ref="e08370e0e6a82ab3539d073ced3bc313" args="(QPainter *p, const QRect &update_rect)" -->
528
<div class="memitem">
529
<div class="memproto">
530
<table class="memname">
532
<td class="memname">void QwtWheel::draw </td>
534
<td class="paramtype">QPainter * </td>
535
<td class="paramname"> <em>p</em>, </td>
538
<td class="paramkey"></td>
540
<td class="paramtype">const QRect & </td>
541
<td class="paramname"> <em>update_rect</em></td><td> </td>
546
<td></td><td></td><td width="100%"><code> [protected]</code></td>
553
Redraw panel and wheel.
557
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00564">564</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
559
References <a class="el" href="qwt__painter_8cpp-source.html#l00580">QwtPainter::drawFocusRect()</a>, and <a class="el" href="qwt__wheel_8cpp-source.html#l00375">drawWheel()</a>.
561
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00547">paintEvent()</a>.
564
<a class="anchor" name="d1feb5d4c2a9b410c4d5d108a5630904"></a><!-- doxytag: member="QwtWheel::drawWheel" ref="d1feb5d4c2a9b410c4d5d108a5630904" args="(QPainter *p, const QRect &r)" -->
565
<div class="memitem">
566
<div class="memproto">
567
<table class="memname">
569
<td class="memname">void QwtWheel::drawWheel </td>
571
<td class="paramtype">QPainter * </td>
572
<td class="paramname"> <em>p</em>, </td>
575
<td class="paramkey"></td>
577
<td class="paramtype">const QRect & </td>
578
<td class="paramname"> <em>r</em></td><td> </td>
583
<td></td><td></td><td width="100%"><code> [protected]</code></td>
592
<dl compact><dt><b>Parameters:</b></dt><dd>
593
<table border="0" cellspacing="2" cellpadding="0">
594
<tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>painter </td></tr>
595
<tr><td valign="top"></td><td valign="top"><em>r</em> </td><td>contents rectangle </td></tr>
600
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00375">375</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
602
References <a class="el" href="qwt__wheel_8cpp-source.html#l00197">drawWheelBackground()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00329">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00342">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>, and <a class="el" href="qwt__double__range_8cpp-source.html#l00363">QwtDoubleRange::value()</a>.
604
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>.
607
<a class="anchor" name="33b95a78f006f36fee8dafea9531afa9"></a><!-- doxytag: member="QwtWheel::drawWheelBackground" ref="33b95a78f006f36fee8dafea9531afa9" args="(QPainter *p, const QRect &r)" -->
608
<div class="memitem">
609
<div class="memproto">
610
<table class="memname">
612
<td class="memname">void QwtWheel::drawWheelBackground </td>
614
<td class="paramtype">QPainter * </td>
615
<td class="paramname"> <em>p</em>, </td>
618
<td class="paramkey"></td>
620
<td class="paramtype">const QRect & </td>
621
<td class="paramname"> <em>r</em></td><td> </td>
626
<td></td><td></td><td width="100%"><code> [protected]</code></td>
633
Draw the Wheel's background gradient.
637
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00197">197</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
639
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>, and <a class="el" href="qwt__wheel_8cpp-source.html#l00096">setColorArray()</a>.
641
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00375">drawWheel()</a>.
644
<a class="anchor" name="f7d32d9b65d1f55913656a44b2a20646"></a><!-- doxytag: member="QwtWheel::setColorArray" ref="f7d32d9b65d1f55913656a44b2a20646" args="()" -->
645
<div class="memitem">
646
<div class="memproto">
647
<table class="memname">
649
<td class="memname">void QwtWheel::setColorArray </td>
651
<td class="paramname"> </td>
652
<td> ) </td>
653
<td width="100%"><code> [protected]</code></td>
660
Set up the color array for the background pixmap.
664
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00096">96</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
666
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00197">drawWheelBackground()</a>.
669
<a class="anchor" name="0fa3d4f4189f7bb6ee0944cd30060eb5"></a><!-- doxytag: member="QwtWheel::valueChange" ref="0fa3d4f4189f7bb6ee0944cd30060eb5" args="()" -->
670
<div class="memitem">
671
<div class="memproto">
672
<table class="memname">
674
<td class="memname">void QwtWheel::valueChange </td>
676
<td class="paramname"> </td>
677
<td> ) </td>
678
<td width="100%"><code> [protected, virtual]</code></td>
689
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#2f04dc51e4402b51fef3250bcc99dc7f">QwtAbstractSlider</a>.
691
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00582">582</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
693
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00484">QwtAbstractSlider::valueChange()</a>.
696
<a class="anchor" name="358aae0c56eda43f5c9fdb74b89de60a"></a><!-- doxytag: member="QwtWheel::paletteChange" ref="358aae0c56eda43f5c9fdb74b89de60a" args="(const QPalette &)" -->
697
<div class="memitem">
698
<div class="memproto">
699
<table class="memname">
701
<td class="memname">void QwtWheel::paletteChange </td>
703
<td class="paramtype">const QPalette & </td>
704
<td class="paramname"> </td>
705
<td> ) </td>
706
<td width="100%"><code> [protected, virtual]</code></td>
713
Call update() when the palette changes.
717
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00654">654</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
720
<a class="anchor" name="6bb116593e63e724059c894a6fc41097"></a><!-- doxytag: member="QwtWheel::getValue" ref="6bb116593e63e724059c894a6fc41097" args="(const QPoint &p)" -->
721
<div class="memitem">
722
<div class="memproto">
723
<table class="memname">
725
<td class="memname">double QwtWheel::getValue </td>
727
<td class="paramtype">const QPoint & </td>
728
<td class="paramname"> <em>p</em> </td>
729
<td> ) </td>
730
<td width="100%"><code> [protected, virtual]</code></td>
737
Determine the value corresponding to a specified point.
741
Implements <a class="el" href="class_qwt_abstract_slider.html#6e26a993536813c2d9846a28f3c27aa7">QwtAbstractSlider</a>.
743
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00494">494</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
745
References <a class="el" href="qwt__double__range_8cpp-source.html#l00329">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00342">QwtDoubleRange::minValue()</a>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>.
748
<a class="anchor" name="2655146c5d017756566691e8142b8fcd"></a><!-- doxytag: member="QwtWheel::getScrollMode" ref="2655146c5d017756566691e8142b8fcd" args="(const QPoint &p, int &scrollMode, int &direction)" -->
749
<div class="memitem">
750
<div class="memproto">
751
<table class="memname">
753
<td class="memname">void QwtWheel::getScrollMode </td>
755
<td class="paramtype">const QPoint & </td>
756
<td class="paramname"> <em>p</em>, </td>
759
<td class="paramkey"></td>
761
<td class="paramtype">int & </td>
762
<td class="paramname"> <em>scrollMode</em>, </td>
765
<td class="paramkey"></td>
767
<td class="paramtype">int & </td>
768
<td class="paramname"> <em>direction</em></td><td> </td>
773
<td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
780
Determine the scrolling mode and direction corresponding to a specified point.
782
<dl compact><dt><b>Parameters:</b></dt><dd>
783
<table border="0" cellspacing="2" cellpadding="0">
784
<tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>point </td></tr>
785
<tr><td valign="top"></td><td valign="top"><em>scrollMode</em> </td><td>scrolling mode </td></tr>
786
<tr><td valign="top"></td><td valign="top"><em>direction</em> </td><td>direction </td></tr>
791
Implements <a class="el" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b">QwtAbstractSlider</a>.
793
Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00596">596</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.
796
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:55:27 2009 for Qwt User's Guide by
797
<a href="http://www.doxygen.org/index.html">
798
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>