~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.2/doc/html/class_qwt_wheel.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-04-12 23:25:58 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090412232558-3bl06x785yr8xm8u
Tags: 5.1.2-1
* New upstream release.
* Bump compat/debhelper to 7.
* Bump Standards-Version to 3.8.1. No changes needed.
* Invert Maintainers and Uploaders field.
* Fix lintian warnings:
  - dh_clean _k deprecated.
  - missing dependency on libc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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&apos;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">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.5.0 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;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&nbsp;Pages</span></a></li>
 
14
  </ul></div>
 
15
<div class="tabs">
 
16
  <ul>
 
17
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
18
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
19
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
20
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
21
  </ul></div>
 
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="">
 
26
</map>
 
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="">
 
31
</map>
 
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>
 
33
The Wheel Widget. 
 
34
<p>
 
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>
 
37
 
 
38
<p>
 
39
 
 
40
<p>
 
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">
 
42
<tr><td></td></tr>
 
43
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
44
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#98fc47123aac47168b5d98a73b87d0a7">QwtWheel</a> (QWidget *parent=NULL)</td></tr>
 
45
 
 
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#57f465a31a9d2d88cb7a1d0e6391535e">~QwtWheel</a> ()</td></tr>
 
47
 
 
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#cae74c8161fd1df728f26253dd1defa8">setOrientation</a> (Qt::Orientation)</td></tr>
 
49
 
 
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e88b6f36175c8af955fda61b2874c4d8">totalAngle</a> () const</td></tr>
 
52
 
 
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#81f3e69d4b9cc5badc514d9d74c40f3b">viewAngle</a> () const</td></tr>
 
55
 
 
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e25ebe1d5d7b9af8b00150aeacd73415">tickCnt</a> () const</td></tr>
 
58
 
 
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#443dff663b65855149145b94936cbbaf">internalBorder</a> () const</td></tr>
 
61
 
 
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#805997f0b3fc520b721bdd11f3808b12">mass</a> () const</td></tr>
 
63
 
 
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#3bf43e42e715577f05be9525be1a8e0e">setTotalAngle</a> (double angle)</td></tr>
 
65
 
 
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#8a970c3b4f776217c284cdce15206530">setTickCnt</a> (int cnt)</td></tr>
 
67
 
 
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#d90821d39ff243db547a1c9b0b0ef545">setViewAngle</a> (double angle)</td></tr>
 
69
 
 
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#cb9358f6cf27f1552dd7f97ebfd2d3fb">setInternalBorder</a> (int width)</td></tr>
 
71
 
 
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#811ef1cf04a3d39eb017fcfe808bbd4f">setMass</a> (double val)</td></tr>
 
73
 
 
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#fc5416139e1c962b950a8d48fe465209">setWheelWidth</a> (int w)</td></tr>
 
75
 
 
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e57b5aa2da03df6c0ac78b896a91e1ba">sizeHint</a> () const</td></tr>
 
77
 
 
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#da93a1ea593834beb546474bca0991cb">minimumSizeHint</a> () const</td></tr>
 
79
 
 
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#f4fda101be95e70803127cc94fc1e337">resizeEvent</a> (QResizeEvent *e)</td></tr>
 
82
 
 
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#c2bc645171e2c1dd34acff3d122ab4ba">paintEvent</a> (QPaintEvent *e)</td></tr>
 
84
 
 
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#03a6adc4f6516143501c8114f164d47c">layoutWheel</a> (bool update=true)</td></tr>
 
86
 
 
87
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#e08370e0e6a82ab3539d073ced3bc313">draw</a> (QPainter *p, const QRect &amp;update_rect)</td></tr>
 
88
 
 
89
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#d1feb5d4c2a9b410c4d5d108a5630904">drawWheel</a> (QPainter *p, const QRect &amp;r)</td></tr>
 
90
 
 
91
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#33b95a78f006f36fee8dafea9531afa9">drawWheelBackground</a> (QPainter *p, const QRect &amp;r)</td></tr>
 
92
 
 
93
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#f7d32d9b65d1f55913656a44b2a20646">setColorArray</a> ()</td></tr>
 
94
 
 
95
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#0fa3d4f4189f7bb6ee0944cd30060eb5">valueChange</a> ()</td></tr>
 
96
 
 
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#358aae0c56eda43f5c9fdb74b89de60a">paletteChange</a> (const QPalette &amp;)</td></tr>
 
98
 
 
99
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#6bb116593e63e724059c894a6fc41097">getValue</a> (const QPoint &amp;p)</td></tr>
 
100
 
 
101
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#2655146c5d017756566691e8142b8fcd">getScrollMode</a> (const QPoint &amp;p, int &amp;scrollMode, int &amp;direction)</td></tr>
 
102
 
 
103
</table>
 
104
<hr><h2>Constructor &amp; 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">
 
109
        <tr>
 
110
          <td class="memname">QwtWheel::QwtWheel           </td>
 
111
          <td>(</td>
 
112
          <td class="paramtype">QWidget *&nbsp;</td>
 
113
          <td class="paramname"> <em>parent</em> = <code>NULL</code>          </td>
 
114
          <td>&nbsp;)&nbsp;</td>
 
115
          <td width="100%"><code> [explicit]</code></td>
 
116
        </tr>
 
117
      </table>
 
118
</div>
 
119
<div class="memdoc">
 
120
 
 
121
<p>
 
122
Constructor. 
 
123
<p>
 
124
 
 
125
<p>
 
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>.
 
127
</div>
 
128
</div><p>
 
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">
 
133
        <tr>
 
134
          <td class="memname">QwtWheel::~QwtWheel           </td>
 
135
          <td>(</td>
 
136
          <td class="paramname">          </td>
 
137
          <td>&nbsp;)&nbsp;</td>
 
138
          <td width="100%"><code> [virtual]</code></td>
 
139
        </tr>
 
140
      </table>
 
141
</div>
 
142
<div class="memdoc">
 
143
 
 
144
<p>
 
145
Destructor. 
 
146
<p>
 
147
 
 
148
<p>
 
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>.
 
150
</div>
 
151
</div><p>
 
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">
 
157
        <tr>
 
158
          <td class="memname">void QwtWheel::setOrientation           </td>
 
159
          <td>(</td>
 
160
          <td class="paramtype">Qt::Orientation&nbsp;</td>
 
161
          <td class="paramname"> <em>o</em>          </td>
 
162
          <td>&nbsp;)&nbsp;</td>
 
163
          <td width="100%"><code> [virtual]</code></td>
 
164
        </tr>
 
165
      </table>
 
166
</div>
 
167
<div class="memdoc">
 
168
 
 
169
<p>
 
170
Set the wheel's orientation. 
 
171
<p>
 
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>&nbsp;</td><td>Orientation. Allowed values are Qt::Horizontal and Qt::Vertical. Defaults to Qt::Horizontal. </td></tr>
 
175
  </table>
 
176
</dl>
 
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>
 
178
 
 
179
<p>
 
180
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#6b0fdc50bfbb0a8bb40f0dc6bf493b2c">QwtAbstractSlider</a>.
 
181
<p>
 
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>.
 
183
<p>
 
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>.
 
185
</div>
 
186
</div><p>
 
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">
 
191
        <tr>
 
192
          <td class="memname">double QwtWheel::mass           </td>
 
193
          <td>(</td>
 
194
          <td class="paramname">          </td>
 
195
          <td>&nbsp;)&nbsp;</td>
 
196
          <td width="100%"> const<code> [virtual]</code></td>
 
197
        </tr>
 
198
      </table>
 
199
</div>
 
200
<div class="memdoc">
 
201
 
 
202
<p>
 
203
<dl class="return" compact><dt><b>Returns:</b></dt><dd>mass </dd></dl>
 
204
 
 
205
<p>
 
206
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#a9681d70bfbd568d076a916c020b2507">QwtAbstractSlider</a>.
 
207
<p>
 
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>.
 
209
<p>
 
210
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00521">QwtAbstractSlider::mass()</a>.
 
211
</div>
 
212
</div><p>
 
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">
 
217
        <tr>
 
218
          <td class="memname">void QwtWheel::setTotalAngle           </td>
 
219
          <td>(</td>
 
220
          <td class="paramtype">double&nbsp;</td>
 
221
          <td class="paramname"> <em>angle</em>          </td>
 
222
          <td>&nbsp;)&nbsp;</td>
 
223
          <td width="100%"></td>
 
224
        </tr>
 
225
      </table>
 
226
</div>
 
227
<div class="memdoc">
 
228
 
 
229
<p>
 
230
Set the total angle which the wheel can be turned. 
 
231
<p>
 
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>&nbsp;</td><td>total angle in degrees </td></tr>
 
236
  </table>
 
237
</dl>
 
238
 
 
239
<p>
 
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>.
 
241
</div>
 
242
</div><p>
 
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">
 
247
        <tr>
 
248
          <td class="memname">void QwtWheel::setTickCnt           </td>
 
249
          <td>(</td>
 
250
          <td class="paramtype">int&nbsp;</td>
 
251
          <td class="paramname"> <em>cnt</em>          </td>
 
252
          <td>&nbsp;)&nbsp;</td>
 
253
          <td width="100%"></td>
 
254
        </tr>
 
255
      </table>
 
256
</div>
 
257
<div class="memdoc">
 
258
 
 
259
<p>
 
260
Adjust the number of grooves in the wheel's surface. 
 
261
<p>
 
262
The number of grooves is limited to 6 &lt;= cnt &lt;= 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>&nbsp;</td><td>Number of grooves per 360 degrees </td></tr>
 
265
  </table>
 
266
</dl>
 
267
 
 
268
<p>
 
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>.
 
270
</div>
 
271
</div><p>
 
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">
 
276
        <tr>
 
277
          <td class="memname">void QwtWheel::setViewAngle           </td>
 
278
          <td>(</td>
 
279
          <td class="paramtype">double&nbsp;</td>
 
280
          <td class="paramname"> <em>angle</em>          </td>
 
281
          <td>&nbsp;)&nbsp;</td>
 
282
          <td width="100%"></td>
 
283
        </tr>
 
284
      </table>
 
285
</div>
 
286
<div class="memdoc">
 
287
 
 
288
<p>
 
289
Specify the visible portion of the wheel. 
 
290
<p>
 
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>&nbsp;</td><td>Visible angle in degrees </td></tr>
 
294
  </table>
 
295
</dl>
 
296
 
 
297
<p>
 
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>.
 
299
</div>
 
300
</div><p>
 
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">
 
305
        <tr>
 
306
          <td class="memname">void QwtWheel::setInternalBorder           </td>
 
307
          <td>(</td>
 
308
          <td class="paramtype">int&nbsp;</td>
 
309
          <td class="paramname"> <em>w</em>          </td>
 
310
          <td>&nbsp;)&nbsp;</td>
 
311
          <td width="100%"></td>
 
312
        </tr>
 
313
      </table>
 
314
</div>
 
315
<div class="memdoc">
 
316
 
 
317
<p>
 
318
Set the internal border width of the wheel. 
 
319
<p>
 
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>&nbsp;</td><td>border width </td></tr>
 
324
  </table>
 
325
</dl>
 
326
 
 
327
<p>
 
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>.
 
329
<p>
 
330
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.
 
331
</div>
 
332
</div><p>
 
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">
 
337
        <tr>
 
338
          <td class="memname">void QwtWheel::setMass           </td>
 
339
          <td>(</td>
 
340
          <td class="paramtype">double&nbsp;</td>
 
341
          <td class="paramname"> <em>val</em>          </td>
 
342
          <td>&nbsp;)&nbsp;</td>
 
343
          <td width="100%"><code> [virtual]</code></td>
 
344
        </tr>
 
345
      </table>
 
346
</div>
 
347
<div class="memdoc">
 
348
 
 
349
<p>
 
350
Set the mass of the wheel. 
 
351
<p>
 
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>&nbsp;</td><td>the wheel's mass </td></tr>
 
355
  </table>
 
356
</dl>
 
357
 
 
358
<p>
 
359
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#305b137fe4dd80cba307fe1b4bd46272">QwtAbstractSlider</a>.
 
360
<p>
 
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>.
 
362
<p>
 
363
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00507">QwtAbstractSlider::setMass()</a>.
 
364
</div>
 
365
</div><p>
 
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">
 
370
        <tr>
 
371
          <td class="memname">void QwtWheel::setWheelWidth           </td>
 
372
          <td>(</td>
 
373
          <td class="paramtype">int&nbsp;</td>
 
374
          <td class="paramname"> <em>w</em>          </td>
 
375
          <td>&nbsp;)&nbsp;</td>
 
376
          <td width="100%"></td>
 
377
        </tr>
 
378
      </table>
 
379
</div>
 
380
<div class="memdoc">
 
381
 
 
382
<p>
 
383
Set the width of the wheel. 
 
384
<p>
 
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>&nbsp;</td><td>the wheel's width </td></tr>
 
388
  </table>
 
389
</dl>
 
390
 
 
391
<p>
 
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>.
 
393
<p>
 
394
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.
 
395
</div>
 
396
</div><p>
 
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">
 
401
        <tr>
 
402
          <td class="memname">QSize QwtWheel::sizeHint           </td>
 
403
          <td>(</td>
 
404
          <td class="paramname">          </td>
 
405
          <td>&nbsp;)&nbsp;</td>
 
406
          <td width="100%"> const<code> [virtual]</code></td>
 
407
        </tr>
 
408
      </table>
 
409
</div>
 
410
<div class="memdoc">
 
411
 
 
412
<p>
 
413
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a size hint </dd></dl>
 
414
 
 
415
<p>
 
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>.
 
417
<p>
 
418
References <a class="el" href="qwt__wheel_8cpp-source.html#l00642">minimumSizeHint()</a>.
 
419
</div>
 
420
</div><p>
 
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">
 
425
        <tr>
 
426
          <td class="memname">QSize QwtWheel::minimumSizeHint           </td>
 
427
          <td>(</td>
 
428
          <td class="paramname">          </td>
 
429
          <td>&nbsp;)&nbsp;</td>
 
430
          <td width="100%"> const<code> [virtual]</code></td>
 
431
        </tr>
 
432
      </table>
 
433
</div>
 
434
<div class="memdoc">
 
435
 
 
436
<p>
 
437
Return a minimum size hint. 
 
438
<p>
 
439
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The return value is based on the wheel width. </dd></dl>
 
440
 
 
441
<p>
 
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>.
 
443
<p>
 
444
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>.
 
445
<p>
 
446
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00633">sizeHint()</a>.
 
447
</div>
 
448
</div><p>
 
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">
 
453
        <tr>
 
454
          <td class="memname">void QwtWheel::resizeEvent           </td>
 
455
          <td>(</td>
 
456
          <td class="paramtype">QResizeEvent *&nbsp;</td>
 
457
          <td class="paramname"> <em>e</em>          </td>
 
458
          <td>&nbsp;)&nbsp;</td>
 
459
          <td width="100%"><code> [protected, virtual]</code></td>
 
460
        </tr>
 
461
      </table>
 
462
</div>
 
463
<div class="memdoc">
 
464
 
 
465
<p>
 
466
Qt Resize Event. 
 
467
<p>
 
468
 
 
469
<p>
 
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>.
 
471
<p>
 
472
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.
 
473
</div>
 
474
</div><p>
 
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">
 
479
        <tr>
 
480
          <td class="memname">void QwtWheel::paintEvent           </td>
 
481
          <td>(</td>
 
482
          <td class="paramtype">QPaintEvent *&nbsp;</td>
 
483
          <td class="paramname"> <em>e</em>          </td>
 
484
          <td>&nbsp;)&nbsp;</td>
 
485
          <td width="100%"><code> [protected, virtual]</code></td>
 
486
        </tr>
 
487
      </table>
 
488
</div>
 
489
<div class="memdoc">
 
490
 
 
491
<p>
 
492
Qt Paint Event. 
 
493
<p>
 
494
 
 
495
<p>
 
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>.
 
497
<p>
 
498
References <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>.
 
499
</div>
 
500
</div><p>
 
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">
 
505
        <tr>
 
506
          <td class="memname">void QwtWheel::layoutWheel           </td>
 
507
          <td>(</td>
 
508
          <td class="paramtype">bool&nbsp;</td>
 
509
          <td class="paramname"> <em>update</em> = <code>true</code>          </td>
 
510
          <td>&nbsp;)&nbsp;</td>
 
511
          <td width="100%"><code> [protected]</code></td>
 
512
        </tr>
 
513
      </table>
 
514
</div>
 
515
<div class="memdoc">
 
516
 
 
517
<p>
 
518
Recalculate the slider's geometry and layout based on. 
 
519
<p>
 
520
 
 
521
<p>
 
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>.
 
523
<p>
 
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>.
 
525
</div>
 
526
</div><p>
 
527
<a class="anchor" name="e08370e0e6a82ab3539d073ced3bc313"></a><!-- doxytag: member="QwtWheel::draw" ref="e08370e0e6a82ab3539d073ced3bc313" args="(QPainter *p, const QRect &amp;update_rect)" -->
 
528
<div class="memitem">
 
529
<div class="memproto">
 
530
      <table class="memname">
 
531
        <tr>
 
532
          <td class="memname">void QwtWheel::draw           </td>
 
533
          <td>(</td>
 
534
          <td class="paramtype">QPainter *&nbsp;</td>
 
535
          <td class="paramname"> <em>p</em>, </td>
 
536
        </tr>
 
537
        <tr>
 
538
          <td class="paramkey"></td>
 
539
          <td></td>
 
540
          <td class="paramtype">const QRect &amp;&nbsp;</td>
 
541
          <td class="paramname"> <em>update_rect</em></td><td>&nbsp;</td>
 
542
        </tr>
 
543
        <tr>
 
544
          <td></td>
 
545
          <td>)</td>
 
546
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
 
547
        </tr>
 
548
      </table>
 
549
</div>
 
550
<div class="memdoc">
 
551
 
 
552
<p>
 
553
Redraw panel and wheel. 
 
554
<p>
 
555
 
 
556
<p>
 
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>.
 
558
<p>
 
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>.
 
560
<p>
 
561
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00547">paintEvent()</a>.
 
562
</div>
 
563
</div><p>
 
564
<a class="anchor" name="d1feb5d4c2a9b410c4d5d108a5630904"></a><!-- doxytag: member="QwtWheel::drawWheel" ref="d1feb5d4c2a9b410c4d5d108a5630904" args="(QPainter *p, const QRect &amp;r)" -->
 
565
<div class="memitem">
 
566
<div class="memproto">
 
567
      <table class="memname">
 
568
        <tr>
 
569
          <td class="memname">void QwtWheel::drawWheel           </td>
 
570
          <td>(</td>
 
571
          <td class="paramtype">QPainter *&nbsp;</td>
 
572
          <td class="paramname"> <em>p</em>, </td>
 
573
        </tr>
 
574
        <tr>
 
575
          <td class="paramkey"></td>
 
576
          <td></td>
 
577
          <td class="paramtype">const QRect &amp;&nbsp;</td>
 
578
          <td class="paramname"> <em>r</em></td><td>&nbsp;</td>
 
579
        </tr>
 
580
        <tr>
 
581
          <td></td>
 
582
          <td>)</td>
 
583
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
 
584
        </tr>
 
585
      </table>
 
586
</div>
 
587
<div class="memdoc">
 
588
 
 
589
<p>
 
590
Redraw the wheel. 
 
591
<p>
 
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>&nbsp;</td><td>painter </td></tr>
 
595
    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>contents rectangle </td></tr>
 
596
  </table>
 
597
</dl>
 
598
 
 
599
<p>
 
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>.
 
601
<p>
 
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>.
 
603
<p>
 
604
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>.
 
605
</div>
 
606
</div><p>
 
607
<a class="anchor" name="33b95a78f006f36fee8dafea9531afa9"></a><!-- doxytag: member="QwtWheel::drawWheelBackground" ref="33b95a78f006f36fee8dafea9531afa9" args="(QPainter *p, const QRect &amp;r)" -->
 
608
<div class="memitem">
 
609
<div class="memproto">
 
610
      <table class="memname">
 
611
        <tr>
 
612
          <td class="memname">void QwtWheel::drawWheelBackground           </td>
 
613
          <td>(</td>
 
614
          <td class="paramtype">QPainter *&nbsp;</td>
 
615
          <td class="paramname"> <em>p</em>, </td>
 
616
        </tr>
 
617
        <tr>
 
618
          <td class="paramkey"></td>
 
619
          <td></td>
 
620
          <td class="paramtype">const QRect &amp;&nbsp;</td>
 
621
          <td class="paramname"> <em>r</em></td><td>&nbsp;</td>
 
622
        </tr>
 
623
        <tr>
 
624
          <td></td>
 
625
          <td>)</td>
 
626
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
 
627
        </tr>
 
628
      </table>
 
629
</div>
 
630
<div class="memdoc">
 
631
 
 
632
<p>
 
633
Draw the Wheel's background gradient. 
 
634
<p>
 
635
 
 
636
<p>
 
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>.
 
638
<p>
 
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>.
 
640
<p>
 
641
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00375">drawWheel()</a>.
 
642
</div>
 
643
</div><p>
 
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">
 
648
        <tr>
 
649
          <td class="memname">void QwtWheel::setColorArray           </td>
 
650
          <td>(</td>
 
651
          <td class="paramname">          </td>
 
652
          <td>&nbsp;)&nbsp;</td>
 
653
          <td width="100%"><code> [protected]</code></td>
 
654
        </tr>
 
655
      </table>
 
656
</div>
 
657
<div class="memdoc">
 
658
 
 
659
<p>
 
660
Set up the color array for the background pixmap. 
 
661
<p>
 
662
 
 
663
<p>
 
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>.
 
665
<p>
 
666
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00197">drawWheelBackground()</a>.
 
667
</div>
 
668
</div><p>
 
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">
 
673
        <tr>
 
674
          <td class="memname">void QwtWheel::valueChange           </td>
 
675
          <td>(</td>
 
676
          <td class="paramname">          </td>
 
677
          <td>&nbsp;)&nbsp;</td>
 
678
          <td width="100%"><code> [protected, virtual]</code></td>
 
679
        </tr>
 
680
      </table>
 
681
</div>
 
682
<div class="memdoc">
 
683
 
 
684
<p>
 
685
Notify value change. 
 
686
<p>
 
687
 
 
688
<p>
 
689
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#2f04dc51e4402b51fef3250bcc99dc7f">QwtAbstractSlider</a>.
 
690
<p>
 
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>.
 
692
<p>
 
693
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00484">QwtAbstractSlider::valueChange()</a>.
 
694
</div>
 
695
</div><p>
 
696
<a class="anchor" name="358aae0c56eda43f5c9fdb74b89de60a"></a><!-- doxytag: member="QwtWheel::paletteChange" ref="358aae0c56eda43f5c9fdb74b89de60a" args="(const QPalette &amp;)" -->
 
697
<div class="memitem">
 
698
<div class="memproto">
 
699
      <table class="memname">
 
700
        <tr>
 
701
          <td class="memname">void QwtWheel::paletteChange           </td>
 
702
          <td>(</td>
 
703
          <td class="paramtype">const QPalette &amp;&nbsp;</td>
 
704
          <td class="paramname">          </td>
 
705
          <td>&nbsp;)&nbsp;</td>
 
706
          <td width="100%"><code> [protected, virtual]</code></td>
 
707
        </tr>
 
708
      </table>
 
709
</div>
 
710
<div class="memdoc">
 
711
 
 
712
<p>
 
713
Call update() when the palette changes. 
 
714
<p>
 
715
 
 
716
<p>
 
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>.
 
718
</div>
 
719
</div><p>
 
720
<a class="anchor" name="6bb116593e63e724059c894a6fc41097"></a><!-- doxytag: member="QwtWheel::getValue" ref="6bb116593e63e724059c894a6fc41097" args="(const QPoint &amp;p)" -->
 
721
<div class="memitem">
 
722
<div class="memproto">
 
723
      <table class="memname">
 
724
        <tr>
 
725
          <td class="memname">double QwtWheel::getValue           </td>
 
726
          <td>(</td>
 
727
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
 
728
          <td class="paramname"> <em>p</em>          </td>
 
729
          <td>&nbsp;)&nbsp;</td>
 
730
          <td width="100%"><code> [protected, virtual]</code></td>
 
731
        </tr>
 
732
      </table>
 
733
</div>
 
734
<div class="memdoc">
 
735
 
 
736
<p>
 
737
Determine the value corresponding to a specified point. 
 
738
<p>
 
739
 
 
740
<p>
 
741
Implements <a class="el" href="class_qwt_abstract_slider.html#6e26a993536813c2d9846a28f3c27aa7">QwtAbstractSlider</a>.
 
742
<p>
 
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>.
 
744
<p>
 
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>.
 
746
</div>
 
747
</div><p>
 
748
<a class="anchor" name="2655146c5d017756566691e8142b8fcd"></a><!-- doxytag: member="QwtWheel::getScrollMode" ref="2655146c5d017756566691e8142b8fcd" args="(const QPoint &amp;p, int &amp;scrollMode, int &amp;direction)" -->
 
749
<div class="memitem">
 
750
<div class="memproto">
 
751
      <table class="memname">
 
752
        <tr>
 
753
          <td class="memname">void QwtWheel::getScrollMode           </td>
 
754
          <td>(</td>
 
755
          <td class="paramtype">const QPoint &amp;&nbsp;</td>
 
756
          <td class="paramname"> <em>p</em>, </td>
 
757
        </tr>
 
758
        <tr>
 
759
          <td class="paramkey"></td>
 
760
          <td></td>
 
761
          <td class="paramtype">int &amp;&nbsp;</td>
 
762
          <td class="paramname"> <em>scrollMode</em>, </td>
 
763
        </tr>
 
764
        <tr>
 
765
          <td class="paramkey"></td>
 
766
          <td></td>
 
767
          <td class="paramtype">int &amp;&nbsp;</td>
 
768
          <td class="paramname"> <em>direction</em></td><td>&nbsp;</td>
 
769
        </tr>
 
770
        <tr>
 
771
          <td></td>
 
772
          <td>)</td>
 
773
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
 
774
        </tr>
 
775
      </table>
 
776
</div>
 
777
<div class="memdoc">
 
778
 
 
779
<p>
 
780
Determine the scrolling mode and direction corresponding to a specified point. 
 
781
<p>
 
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>&nbsp;</td><td>point </td></tr>
 
785
    <tr><td valign="top"></td><td valign="top"><em>scrollMode</em>&nbsp;</td><td>scrolling mode </td></tr>
 
786
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>direction </td></tr>
 
787
  </table>
 
788
</dl>
 
789
 
 
790
<p>
 
791
Implements <a class="el" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b">QwtAbstractSlider</a>.
 
792
<p>
 
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>.
 
794
</div>
 
795
</div><p>
 
796
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:55:27 2009 for Qwt User's Guide by&nbsp;
 
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>
 
799
</body>
 
800
</html>