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

« back to all changes in this revision

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

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!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.4.6 -->
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 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="c05734986ee427e6d820f54a267dde26"></a><!-- doxytag: member="QwtWheel::totalAngle" ref="c05734986ee427e6d820f54a267dde26" args="() const " -->
51
 
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#c05734986ee427e6d820f54a267dde26">totalAngle</a> () const </td></tr>
52
 
 
53
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49c04ea6e1ec21268f63d45239bc9333"></a><!-- doxytag: member="QwtWheel::viewAngle" ref="49c04ea6e1ec21268f63d45239bc9333" args="() const " -->
54
 
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#49c04ea6e1ec21268f63d45239bc9333">viewAngle</a> () const </td></tr>
55
 
 
56
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="02e84c468d3175278a490185ca4a7c2a"></a><!-- doxytag: member="QwtWheel::tickCnt" ref="02e84c468d3175278a490185ca4a7c2a" args="() const " -->
57
 
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#02e84c468d3175278a490185ca4a7c2a">tickCnt</a> () const </td></tr>
58
 
 
59
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e87fb6b08098a7b5255ed70dcd62182"></a><!-- doxytag: member="QwtWheel::internalBorder" ref="1e87fb6b08098a7b5255ed70dcd62182" args="() const " -->
60
 
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_wheel.html#1e87fb6b08098a7b5255ed70dcd62182">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#55de1496f0eef04da9bc293306a40df6">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#77404d4e604a196bd4e809ec7d9f2076">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#668397451f5ad7b2a78d01d9e7141bcf">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)" --><p>
106
 
<table class="mdTable" cellpadding="2" cellspacing="0">
107
 
  <tr>
108
 
    <td class="mdRow">
109
 
      <table cellpadding="0" cellspacing="0" border="0">
110
 
        <tr>
111
 
          <td class="md" nowrap valign="top">QwtWheel::QwtWheel           </td>
112
 
          <td class="md" valign="top">(&nbsp;</td>
113
 
          <td class="md" nowrap valign="top">QWidget *&nbsp;</td>
114
 
          <td class="mdname1" valign="top" nowrap> <em>parent</em> = <code>NULL</code>          </td>
115
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
116
 
          <td class="md" nowrap><code> [explicit]</code></td>
117
 
        </tr>
118
 
      </table>
119
 
    </td>
120
 
  </tr>
121
 
</table>
122
 
<table cellspacing="5" cellpadding="0" border="0">
123
 
  <tr>
124
 
    <td>
125
 
      &nbsp;
126
 
    </td>
127
 
    <td>
128
 
 
129
 
<p>
130
 
Constructor. 
131
 
<p>
132
 
 
133
 
<p>
134
 
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>.    </td>
135
 
  </tr>
136
 
</table>
137
 
<a class="anchor" name="57f465a31a9d2d88cb7a1d0e6391535e"></a><!-- doxytag: member="QwtWheel::~QwtWheel" ref="57f465a31a9d2d88cb7a1d0e6391535e" args="()" --><p>
138
 
<table class="mdTable" cellpadding="2" cellspacing="0">
139
 
  <tr>
140
 
    <td class="mdRow">
141
 
      <table cellpadding="0" cellspacing="0" border="0">
142
 
        <tr>
143
 
          <td class="md" nowrap valign="top">QwtWheel::~QwtWheel           </td>
144
 
          <td class="md" valign="top">(&nbsp;</td>
145
 
          <td class="mdname1" valign="top" nowrap>          </td>
146
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
147
 
          <td class="md" nowrap><code> [virtual]</code></td>
148
 
        </tr>
149
 
      </table>
150
 
    </td>
151
 
  </tr>
152
 
</table>
153
 
<table cellspacing="5" cellpadding="0" border="0">
154
 
  <tr>
155
 
    <td>
156
 
      &nbsp;
157
 
    </td>
158
 
    <td>
159
 
 
160
 
<p>
161
 
Destructor. 
162
 
<p>
163
 
 
164
 
<p>
165
 
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>.    </td>
166
 
  </tr>
167
 
</table>
168
 
<hr><h2>Member Function Documentation</h2>
169
 
<a class="anchor" name="e08370e0e6a82ab3539d073ced3bc313"></a><!-- doxytag: member="QwtWheel::draw" ref="e08370e0e6a82ab3539d073ced3bc313" args="(QPainter *p, const QRect &amp;update_rect)" --><p>
170
 
<table class="mdTable" cellpadding="2" cellspacing="0">
171
 
  <tr>
172
 
    <td class="mdRow">
173
 
      <table cellpadding="0" cellspacing="0" border="0">
174
 
        <tr>
175
 
          <td class="md" nowrap valign="top">void QwtWheel::draw           </td>
176
 
          <td class="md" valign="top">(&nbsp;</td>
177
 
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
178
 
          <td class="mdname" nowrap> <em>p</em>, </td>
179
 
        </tr>
180
 
        <tr>
181
 
          <td class="md" nowrap align="right"></td>
182
 
          <td class="md"></td>
183
 
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
184
 
          <td class="mdname" nowrap> <em>update_rect</em></td>
185
 
        </tr>
186
 
        <tr>
187
 
          <td class="md"></td>
188
 
          <td class="md">)&nbsp;</td>
189
 
          <td class="md" colspan="2"><code> [protected]</code></td>
190
 
        </tr>
191
 
      </table>
192
 
    </td>
193
 
  </tr>
194
 
</table>
195
 
<table cellspacing="5" cellpadding="0" border="0">
196
 
  <tr>
197
 
    <td>
198
 
      &nbsp;
199
 
    </td>
200
 
    <td>
201
 
 
202
 
<p>
203
 
Redraw panel and wheel. 
204
 
<p>
205
 
 
206
 
<p>
207
 
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>.
208
 
<p>
209
 
References <a class="el" href="qwt__painter_8cpp-source.html#l00564">QwtPainter::drawFocusRect()</a>, and <a class="el" href="qwt__wheel_8cpp-source.html#l00375">drawWheel()</a>.
210
 
<p>
211
 
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00547">paintEvent()</a>.    </td>
212
 
  </tr>
213
 
</table>
214
 
<a class="anchor" name="d1feb5d4c2a9b410c4d5d108a5630904"></a><!-- doxytag: member="QwtWheel::drawWheel" ref="d1feb5d4c2a9b410c4d5d108a5630904" args="(QPainter *p, const QRect &amp;r)" --><p>
215
 
<table class="mdTable" cellpadding="2" cellspacing="0">
216
 
  <tr>
217
 
    <td class="mdRow">
218
 
      <table cellpadding="0" cellspacing="0" border="0">
219
 
        <tr>
220
 
          <td class="md" nowrap valign="top">void QwtWheel::drawWheel           </td>
221
 
          <td class="md" valign="top">(&nbsp;</td>
222
 
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
223
 
          <td class="mdname" nowrap> <em>p</em>, </td>
224
 
        </tr>
225
 
        <tr>
226
 
          <td class="md" nowrap align="right"></td>
227
 
          <td class="md"></td>
228
 
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
229
 
          <td class="mdname" nowrap> <em>r</em></td>
230
 
        </tr>
231
 
        <tr>
232
 
          <td class="md"></td>
233
 
          <td class="md">)&nbsp;</td>
234
 
          <td class="md" colspan="2"><code> [protected]</code></td>
235
 
        </tr>
236
 
      </table>
237
 
    </td>
238
 
  </tr>
239
 
</table>
240
 
<table cellspacing="5" cellpadding="0" border="0">
241
 
  <tr>
242
 
    <td>
243
 
      &nbsp;
244
 
    </td>
245
 
    <td>
246
 
 
247
 
<p>
248
 
Redraw the wheel. 
249
 
<p>
250
 
<dl compact><dt><b>Parameters:</b></dt><dd>
251
 
  <table border="0" cellspacing="2" cellpadding="0">
252
 
    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>painter </td></tr>
253
 
    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>contents rectangle </td></tr>
254
 
  </table>
255
 
</dl>
256
 
 
257
 
<p>
258
 
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>.
259
 
<p>
260
 
References <a class="el" href="qwt__wheel_8cpp-source.html#l00197">drawWheelBackground()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00326">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00339">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#l00360">QwtDoubleRange::value()</a>.
261
 
<p>
262
 
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>.    </td>
263
 
  </tr>
264
 
</table>
265
 
<a class="anchor" name="33b95a78f006f36fee8dafea9531afa9"></a><!-- doxytag: member="QwtWheel::drawWheelBackground" ref="33b95a78f006f36fee8dafea9531afa9" args="(QPainter *p, const QRect &amp;r)" --><p>
266
 
<table class="mdTable" cellpadding="2" cellspacing="0">
267
 
  <tr>
268
 
    <td class="mdRow">
269
 
      <table cellpadding="0" cellspacing="0" border="0">
270
 
        <tr>
271
 
          <td class="md" nowrap valign="top">void QwtWheel::drawWheelBackground           </td>
272
 
          <td class="md" valign="top">(&nbsp;</td>
273
 
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
274
 
          <td class="mdname" nowrap> <em>p</em>, </td>
275
 
        </tr>
276
 
        <tr>
277
 
          <td class="md" nowrap align="right"></td>
278
 
          <td class="md"></td>
279
 
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
280
 
          <td class="mdname" nowrap> <em>r</em></td>
281
 
        </tr>
282
 
        <tr>
283
 
          <td class="md"></td>
284
 
          <td class="md">)&nbsp;</td>
285
 
          <td class="md" colspan="2"><code> [protected]</code></td>
286
 
        </tr>
287
 
      </table>
288
 
    </td>
289
 
  </tr>
290
 
</table>
291
 
<table cellspacing="5" cellpadding="0" border="0">
292
 
  <tr>
293
 
    <td>
294
 
      &nbsp;
295
 
    </td>
296
 
    <td>
297
 
 
298
 
<p>
299
 
Draw the Wheel's background gradient. 
300
 
<p>
301
 
 
302
 
<p>
303
 
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>.
304
 
<p>
305
 
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>.
306
 
<p>
307
 
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00375">drawWheel()</a>.    </td>
308
 
  </tr>
309
 
</table>
310
 
<a class="anchor" name="2655146c5d017756566691e8142b8fcd"></a><!-- doxytag: member="QwtWheel::getScrollMode" ref="2655146c5d017756566691e8142b8fcd" args="(const QPoint &amp;p, int &amp;scrollMode, int &amp;direction)" --><p>
311
 
<table class="mdTable" cellpadding="2" cellspacing="0">
312
 
  <tr>
313
 
    <td class="mdRow">
314
 
      <table cellpadding="0" cellspacing="0" border="0">
315
 
        <tr>
316
 
          <td class="md" nowrap valign="top">void QwtWheel::getScrollMode           </td>
317
 
          <td class="md" valign="top">(&nbsp;</td>
318
 
          <td class="md" nowrap valign="top">const QPoint &amp;&nbsp;</td>
319
 
          <td class="mdname" nowrap> <em>p</em>, </td>
320
 
        </tr>
321
 
        <tr>
322
 
          <td class="md" nowrap align="right"></td>
323
 
          <td class="md"></td>
324
 
          <td class="md" nowrap>int &amp;&nbsp;</td>
325
 
          <td class="mdname" nowrap> <em>scrollMode</em>, </td>
326
 
        </tr>
327
 
        <tr>
328
 
          <td class="md" nowrap align="right"></td>
329
 
          <td class="md"></td>
330
 
          <td class="md" nowrap>int &amp;&nbsp;</td>
331
 
          <td class="mdname" nowrap> <em>direction</em></td>
332
 
        </tr>
333
 
        <tr>
334
 
          <td class="md"></td>
335
 
          <td class="md">)&nbsp;</td>
336
 
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
337
 
        </tr>
338
 
      </table>
339
 
    </td>
340
 
  </tr>
341
 
</table>
342
 
<table cellspacing="5" cellpadding="0" border="0">
343
 
  <tr>
344
 
    <td>
345
 
      &nbsp;
346
 
    </td>
347
 
    <td>
348
 
 
349
 
<p>
350
 
Determine the scrolling mode and direction corresponding to a specified point. 
351
 
<p>
352
 
<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>p</em>&nbsp;</td><td>point </td></tr>
355
 
    <tr><td valign="top"></td><td valign="top"><em>scrollMode</em>&nbsp;</td><td>scrolling mode </td></tr>
356
 
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>direction </td></tr>
357
 
  </table>
358
 
</dl>
359
 
 
360
 
<p>
361
 
Implements <a class="el" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b">QwtAbstractSlider</a>.
362
 
<p>
363
 
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>.    </td>
364
 
  </tr>
365
 
</table>
366
 
<a class="anchor" name="6bb116593e63e724059c894a6fc41097"></a><!-- doxytag: member="QwtWheel::getValue" ref="6bb116593e63e724059c894a6fc41097" args="(const QPoint &amp;p)" --><p>
367
 
<table class="mdTable" cellpadding="2" cellspacing="0">
368
 
  <tr>
369
 
    <td class="mdRow">
370
 
      <table cellpadding="0" cellspacing="0" border="0">
371
 
        <tr>
372
 
          <td class="md" nowrap valign="top">double QwtWheel::getValue           </td>
373
 
          <td class="md" valign="top">(&nbsp;</td>
374
 
          <td class="md" nowrap valign="top">const QPoint &amp;&nbsp;</td>
375
 
          <td class="mdname1" valign="top" nowrap> <em>p</em>          </td>
376
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
377
 
          <td class="md" nowrap><code> [protected, virtual]</code></td>
378
 
        </tr>
379
 
      </table>
380
 
    </td>
381
 
  </tr>
382
 
</table>
383
 
<table cellspacing="5" cellpadding="0" border="0">
384
 
  <tr>
385
 
    <td>
386
 
      &nbsp;
387
 
    </td>
388
 
    <td>
389
 
 
390
 
<p>
391
 
Determine the value corresponding to a specified point. 
392
 
<p>
393
 
 
394
 
<p>
395
 
Implements <a class="el" href="class_qwt_abstract_slider.html#6e26a993536813c2d9846a28f3c27aa7">QwtAbstractSlider</a>.
396
 
<p>
397
 
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>.
398
 
<p>
399
 
References <a class="el" href="qwt__double__range_8cpp-source.html#l00326">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00339">QwtDoubleRange::minValue()</a>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>.    </td>
400
 
  </tr>
401
 
</table>
402
 
<a class="anchor" name="03a6adc4f6516143501c8114f164d47c"></a><!-- doxytag: member="QwtWheel::layoutWheel" ref="03a6adc4f6516143501c8114f164d47c" args="(bool update=true)" --><p>
403
 
<table class="mdTable" cellpadding="2" cellspacing="0">
404
 
  <tr>
405
 
    <td class="mdRow">
406
 
      <table cellpadding="0" cellspacing="0" border="0">
407
 
        <tr>
408
 
          <td class="md" nowrap valign="top">void QwtWheel::layoutWheel           </td>
409
 
          <td class="md" valign="top">(&nbsp;</td>
410
 
          <td class="md" nowrap valign="top">bool&nbsp;</td>
411
 
          <td class="mdname1" valign="top" nowrap> <em>update</em> = <code>true</code>          </td>
412
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
413
 
          <td class="md" nowrap><code> [protected]</code></td>
414
 
        </tr>
415
 
      </table>
416
 
    </td>
417
 
  </tr>
418
 
</table>
419
 
<table cellspacing="5" cellpadding="0" border="0">
420
 
  <tr>
421
 
    <td>
422
 
      &nbsp;
423
 
    </td>
424
 
    <td>
425
 
 
426
 
<p>
427
 
Recalculate the slider's geometry and layout based on. 
428
 
<p>
429
 
 
430
 
<p>
431
 
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>.
432
 
<p>
433
 
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>.    </td>
434
 
  </tr>
435
 
</table>
436
 
<a class="anchor" name="55de1496f0eef04da9bc293306a40df6"></a><!-- doxytag: member="QwtWheel::mass" ref="55de1496f0eef04da9bc293306a40df6" args="() const " --><p>
437
 
<table class="mdTable" cellpadding="2" cellspacing="0">
438
 
  <tr>
439
 
    <td class="mdRow">
440
 
      <table cellpadding="0" cellspacing="0" border="0">
441
 
        <tr>
442
 
          <td class="md" nowrap valign="top">double QwtWheel::mass           </td>
443
 
          <td class="md" valign="top">(&nbsp;</td>
444
 
          <td class="mdname1" valign="top" nowrap>          </td>
445
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
446
 
          <td class="md" nowrap> const<code> [virtual]</code></td>
447
 
        </tr>
448
 
      </table>
449
 
    </td>
450
 
  </tr>
451
 
</table>
452
 
<table cellspacing="5" cellpadding="0" border="0">
453
 
  <tr>
454
 
    <td>
455
 
      &nbsp;
456
 
    </td>
457
 
    <td>
458
 
 
459
 
<p>
460
 
<dl compact><dt><b>Returns:</b></dt><dd>mass </dd></dl>
461
 
 
462
 
<p>
463
 
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#130105fc2001c53cea65f21b03f0b5db">QwtAbstractSlider</a>.
464
 
<p>
465
 
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>.
466
 
<p>
467
 
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00521">QwtAbstractSlider::mass()</a>.    </td>
468
 
  </tr>
469
 
</table>
470
 
<a class="anchor" name="668397451f5ad7b2a78d01d9e7141bcf"></a><!-- doxytag: member="QwtWheel::minimumSizeHint" ref="668397451f5ad7b2a78d01d9e7141bcf" args="() const " --><p>
471
 
<table class="mdTable" cellpadding="2" cellspacing="0">
472
 
  <tr>
473
 
    <td class="mdRow">
474
 
      <table cellpadding="0" cellspacing="0" border="0">
475
 
        <tr>
476
 
          <td class="md" nowrap valign="top">QSize QwtWheel::minimumSizeHint           </td>
477
 
          <td class="md" valign="top">(&nbsp;</td>
478
 
          <td class="mdname1" valign="top" nowrap>          </td>
479
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
480
 
          <td class="md" nowrap> const<code> [virtual]</code></td>
481
 
        </tr>
482
 
      </table>
483
 
    </td>
484
 
  </tr>
485
 
</table>
486
 
<table cellspacing="5" cellpadding="0" border="0">
487
 
  <tr>
488
 
    <td>
489
 
      &nbsp;
490
 
    </td>
491
 
    <td>
492
 
 
493
 
<p>
494
 
Return a minimum size hint. 
495
 
<p>
496
 
<dl compact><dt><b>Warning:</b></dt><dd>The return value is based on the wheel width. </dd></dl>
497
 
 
498
 
<p>
499
 
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>.
500
 
<p>
501
 
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>.
502
 
<p>
503
 
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00633">sizeHint()</a>.    </td>
504
 
  </tr>
505
 
</table>
506
 
<a class="anchor" name="c2bc645171e2c1dd34acff3d122ab4ba"></a><!-- doxytag: member="QwtWheel::paintEvent" ref="c2bc645171e2c1dd34acff3d122ab4ba" args="(QPaintEvent *e)" --><p>
507
 
<table class="mdTable" cellpadding="2" cellspacing="0">
508
 
  <tr>
509
 
    <td class="mdRow">
510
 
      <table cellpadding="0" cellspacing="0" border="0">
511
 
        <tr>
512
 
          <td class="md" nowrap valign="top">void QwtWheel::paintEvent           </td>
513
 
          <td class="md" valign="top">(&nbsp;</td>
514
 
          <td class="md" nowrap valign="top">QPaintEvent *&nbsp;</td>
515
 
          <td class="mdname1" valign="top" nowrap> <em>e</em>          </td>
516
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
517
 
          <td class="md" nowrap><code> [protected, virtual]</code></td>
518
 
        </tr>
519
 
      </table>
520
 
    </td>
521
 
  </tr>
522
 
</table>
523
 
<table cellspacing="5" cellpadding="0" border="0">
524
 
  <tr>
525
 
    <td>
526
 
      &nbsp;
527
 
    </td>
528
 
    <td>
529
 
 
530
 
<p>
531
 
Qt Paint Event. 
532
 
<p>
533
 
 
534
 
<p>
535
 
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>.
536
 
<p>
537
 
References <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>.    </td>
538
 
  </tr>
539
 
</table>
540
 
<a class="anchor" name="358aae0c56eda43f5c9fdb74b89de60a"></a><!-- doxytag: member="QwtWheel::paletteChange" ref="358aae0c56eda43f5c9fdb74b89de60a" args="(const QPalette &amp;)" --><p>
541
 
<table class="mdTable" cellpadding="2" cellspacing="0">
542
 
  <tr>
543
 
    <td class="mdRow">
544
 
      <table cellpadding="0" cellspacing="0" border="0">
545
 
        <tr>
546
 
          <td class="md" nowrap valign="top">void QwtWheel::paletteChange           </td>
547
 
          <td class="md" valign="top">(&nbsp;</td>
548
 
          <td class="md" nowrap valign="top">const QPalette &amp;&nbsp;</td>
549
 
          <td class="mdname1" valign="top" nowrap>          </td>
550
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
551
 
          <td class="md" nowrap><code> [protected, virtual]</code></td>
552
 
        </tr>
553
 
      </table>
554
 
    </td>
555
 
  </tr>
556
 
</table>
557
 
<table cellspacing="5" cellpadding="0" border="0">
558
 
  <tr>
559
 
    <td>
560
 
      &nbsp;
561
 
    </td>
562
 
    <td>
563
 
 
564
 
<p>
565
 
Call update() when the palette changes. 
566
 
<p>
567
 
 
568
 
<p>
569
 
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>.    </td>
570
 
  </tr>
571
 
</table>
572
 
<a class="anchor" name="f4fda101be95e70803127cc94fc1e337"></a><!-- doxytag: member="QwtWheel::resizeEvent" ref="f4fda101be95e70803127cc94fc1e337" args="(QResizeEvent *e)" --><p>
573
 
<table class="mdTable" cellpadding="2" cellspacing="0">
574
 
  <tr>
575
 
    <td class="mdRow">
576
 
      <table cellpadding="0" cellspacing="0" border="0">
577
 
        <tr>
578
 
          <td class="md" nowrap valign="top">void QwtWheel::resizeEvent           </td>
579
 
          <td class="md" valign="top">(&nbsp;</td>
580
 
          <td class="md" nowrap valign="top">QResizeEvent *&nbsp;</td>
581
 
          <td class="mdname1" valign="top" nowrap> <em>e</em>          </td>
582
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
583
 
          <td class="md" nowrap><code> [protected, virtual]</code></td>
584
 
        </tr>
585
 
      </table>
586
 
    </td>
587
 
  </tr>
588
 
</table>
589
 
<table cellspacing="5" cellpadding="0" border="0">
590
 
  <tr>
591
 
    <td>
592
 
      &nbsp;
593
 
    </td>
594
 
    <td>
595
 
 
596
 
<p>
597
 
Qt Resize Event. 
598
 
<p>
599
 
 
600
 
<p>
601
 
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>.
602
 
<p>
603
 
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.    </td>
604
 
  </tr>
605
 
</table>
606
 
<a class="anchor" name="f7d32d9b65d1f55913656a44b2a20646"></a><!-- doxytag: member="QwtWheel::setColorArray" ref="f7d32d9b65d1f55913656a44b2a20646" args="()" --><p>
607
 
<table class="mdTable" cellpadding="2" cellspacing="0">
608
 
  <tr>
609
 
    <td class="mdRow">
610
 
      <table cellpadding="0" cellspacing="0" border="0">
611
 
        <tr>
612
 
          <td class="md" nowrap valign="top">void QwtWheel::setColorArray           </td>
613
 
          <td class="md" valign="top">(&nbsp;</td>
614
 
          <td class="mdname1" valign="top" nowrap>          </td>
615
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
616
 
          <td class="md" nowrap><code> [protected]</code></td>
617
 
        </tr>
618
 
      </table>
619
 
    </td>
620
 
  </tr>
621
 
</table>
622
 
<table cellspacing="5" cellpadding="0" border="0">
623
 
  <tr>
624
 
    <td>
625
 
      &nbsp;
626
 
    </td>
627
 
    <td>
628
 
 
629
 
<p>
630
 
Set up the color array for the background pixmap. 
631
 
<p>
632
 
 
633
 
<p>
634
 
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>.
635
 
<p>
636
 
Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00197">drawWheelBackground()</a>.    </td>
637
 
  </tr>
638
 
</table>
639
 
<a class="anchor" name="cb9358f6cf27f1552dd7f97ebfd2d3fb"></a><!-- doxytag: member="QwtWheel::setInternalBorder" ref="cb9358f6cf27f1552dd7f97ebfd2d3fb" args="(int width)" --><p>
640
 
<table class="mdTable" cellpadding="2" cellspacing="0">
641
 
  <tr>
642
 
    <td class="mdRow">
643
 
      <table cellpadding="0" cellspacing="0" border="0">
644
 
        <tr>
645
 
          <td class="md" nowrap valign="top">void QwtWheel::setInternalBorder           </td>
646
 
          <td class="md" valign="top">(&nbsp;</td>
647
 
          <td class="md" nowrap valign="top">int&nbsp;</td>
648
 
          <td class="mdname1" valign="top" nowrap> <em>w</em>          </td>
649
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
650
 
          <td class="md" nowrap></td>
651
 
        </tr>
652
 
      </table>
653
 
    </td>
654
 
  </tr>
655
 
</table>
656
 
<table cellspacing="5" cellpadding="0" border="0">
657
 
  <tr>
658
 
    <td>
659
 
      &nbsp;
660
 
    </td>
661
 
    <td>
662
 
 
663
 
<p>
664
 
Set the internal border width of the wheel. 
665
 
<p>
666
 
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>
667
 
The internal border defaults to 2. <dl compact><dt><b>Parameters:</b></dt><dd>
668
 
  <table border="0" cellspacing="2" cellpadding="0">
669
 
    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>border width </td></tr>
670
 
  </table>
671
 
</dl>
672
 
 
673
 
<p>
674
 
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>.
675
 
<p>
676
 
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.    </td>
677
 
  </tr>
678
 
</table>
679
 
<a class="anchor" name="811ef1cf04a3d39eb017fcfe808bbd4f"></a><!-- doxytag: member="QwtWheel::setMass" ref="811ef1cf04a3d39eb017fcfe808bbd4f" args="(double val)" --><p>
680
 
<table class="mdTable" cellpadding="2" cellspacing="0">
681
 
  <tr>
682
 
    <td class="mdRow">
683
 
      <table cellpadding="0" cellspacing="0" border="0">
684
 
        <tr>
685
 
          <td class="md" nowrap valign="top">void QwtWheel::setMass           </td>
686
 
          <td class="md" valign="top">(&nbsp;</td>
687
 
          <td class="md" nowrap valign="top">double&nbsp;</td>
688
 
          <td class="mdname1" valign="top" nowrap> <em>val</em>          </td>
689
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
690
 
          <td class="md" nowrap><code> [virtual]</code></td>
691
 
        </tr>
692
 
      </table>
693
 
    </td>
694
 
  </tr>
695
 
</table>
696
 
<table cellspacing="5" cellpadding="0" border="0">
697
 
  <tr>
698
 
    <td>
699
 
      &nbsp;
700
 
    </td>
701
 
    <td>
702
 
 
703
 
<p>
704
 
Set the mass of the wheel. 
705
 
<p>
706
 
Assigning a mass turns the wheel into a flywheel. <dl compact><dt><b>Parameters:</b></dt><dd>
707
 
  <table border="0" cellspacing="2" cellpadding="0">
708
 
    <tr><td valign="top"></td><td valign="top"><em>val</em>&nbsp;</td><td>the wheel's mass </td></tr>
709
 
  </table>
710
 
</dl>
711
 
 
712
 
<p>
713
 
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#305b137fe4dd80cba307fe1b4bd46272">QwtAbstractSlider</a>.
714
 
<p>
715
 
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>.
716
 
<p>
717
 
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00507">QwtAbstractSlider::setMass()</a>.    </td>
718
 
  </tr>
719
 
</table>
720
 
<a class="anchor" name="cae74c8161fd1df728f26253dd1defa8"></a><!-- doxytag: member="QwtWheel::setOrientation" ref="cae74c8161fd1df728f26253dd1defa8" args="(Qt::Orientation)" --><p>
721
 
<table class="mdTable" cellpadding="2" cellspacing="0">
722
 
  <tr>
723
 
    <td class="mdRow">
724
 
      <table cellpadding="0" cellspacing="0" border="0">
725
 
        <tr>
726
 
          <td class="md" nowrap valign="top">void QwtWheel::setOrientation           </td>
727
 
          <td class="md" valign="top">(&nbsp;</td>
728
 
          <td class="md" nowrap valign="top">Qt::Orientation&nbsp;</td>
729
 
          <td class="mdname1" valign="top" nowrap> <em>o</em>          </td>
730
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
731
 
          <td class="md" nowrap><code> [virtual]</code></td>
732
 
        </tr>
733
 
      </table>
734
 
    </td>
735
 
  </tr>
736
 
</table>
737
 
<table cellspacing="5" cellpadding="0" border="0">
738
 
  <tr>
739
 
    <td>
740
 
      &nbsp;
741
 
    </td>
742
 
    <td>
743
 
 
744
 
<p>
745
 
Set the wheel's orientation. 
746
 
<p>
747
 
<dl compact><dt><b>Parameters:</b></dt><dd>
748
 
  <table border="0" cellspacing="2" cellpadding="0">
749
 
    <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>
750
 
  </table>
751
 
</dl>
752
 
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_slider.html#4d2521b9c31ec64b71d8e1771b156d88">QwtAbstractSlider::orientation()</a> </dd></dl>
753
 
 
754
 
<p>
755
 
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#6b0fdc50bfbb0a8bb40f0dc6bf493b2c">QwtAbstractSlider</a>.
756
 
<p>
757
 
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>.
758
 
<p>
759
 
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>.    </td>
760
 
  </tr>
761
 
</table>
762
 
<a class="anchor" name="8a970c3b4f776217c284cdce15206530"></a><!-- doxytag: member="QwtWheel::setTickCnt" ref="8a970c3b4f776217c284cdce15206530" args="(int cnt)" --><p>
763
 
<table class="mdTable" cellpadding="2" cellspacing="0">
764
 
  <tr>
765
 
    <td class="mdRow">
766
 
      <table cellpadding="0" cellspacing="0" border="0">
767
 
        <tr>
768
 
          <td class="md" nowrap valign="top">void QwtWheel::setTickCnt           </td>
769
 
          <td class="md" valign="top">(&nbsp;</td>
770
 
          <td class="md" nowrap valign="top">int&nbsp;</td>
771
 
          <td class="mdname1" valign="top" nowrap> <em>cnt</em>          </td>
772
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
773
 
          <td class="md" nowrap></td>
774
 
        </tr>
775
 
      </table>
776
 
    </td>
777
 
  </tr>
778
 
</table>
779
 
<table cellspacing="5" cellpadding="0" border="0">
780
 
  <tr>
781
 
    <td>
782
 
      &nbsp;
783
 
    </td>
784
 
    <td>
785
 
 
786
 
<p>
787
 
Adjust the number of grooves in the wheel's surface. 
788
 
<p>
789
 
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>
790
 
  <table border="0" cellspacing="2" cellpadding="0">
791
 
    <tr><td valign="top"></td><td valign="top"><em>cnt</em>&nbsp;</td><td>Number of grooves per 360 degrees </td></tr>
792
 
  </table>
793
 
</dl>
794
 
 
795
 
<p>
796
 
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>.    </td>
797
 
  </tr>
798
 
</table>
799
 
<a class="anchor" name="3bf43e42e715577f05be9525be1a8e0e"></a><!-- doxytag: member="QwtWheel::setTotalAngle" ref="3bf43e42e715577f05be9525be1a8e0e" args="(double angle)" --><p>
800
 
<table class="mdTable" cellpadding="2" cellspacing="0">
801
 
  <tr>
802
 
    <td class="mdRow">
803
 
      <table cellpadding="0" cellspacing="0" border="0">
804
 
        <tr>
805
 
          <td class="md" nowrap valign="top">void QwtWheel::setTotalAngle           </td>
806
 
          <td class="md" valign="top">(&nbsp;</td>
807
 
          <td class="md" nowrap valign="top">double&nbsp;</td>
808
 
          <td class="mdname1" valign="top" nowrap> <em>angle</em>          </td>
809
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
810
 
          <td class="md" nowrap></td>
811
 
        </tr>
812
 
      </table>
813
 
    </td>
814
 
  </tr>
815
 
</table>
816
 
<table cellspacing="5" cellpadding="0" border="0">
817
 
  <tr>
818
 
    <td>
819
 
      &nbsp;
820
 
    </td>
821
 
    <td>
822
 
 
823
 
<p>
824
 
Set the total angle which the wheel can be turned. 
825
 
<p>
826
 
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>
827
 
The default setting of the total angle is 360 degrees. <dl compact><dt><b>Parameters:</b></dt><dd>
828
 
  <table border="0" cellspacing="2" cellpadding="0">
829
 
    <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>total angle in degrees </td></tr>
830
 
  </table>
831
 
</dl>
832
 
 
833
 
<p>
834
 
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>.    </td>
835
 
  </tr>
836
 
</table>
837
 
<a class="anchor" name="d90821d39ff243db547a1c9b0b0ef545"></a><!-- doxytag: member="QwtWheel::setViewAngle" ref="d90821d39ff243db547a1c9b0b0ef545" args="(double angle)" --><p>
838
 
<table class="mdTable" cellpadding="2" cellspacing="0">
839
 
  <tr>
840
 
    <td class="mdRow">
841
 
      <table cellpadding="0" cellspacing="0" border="0">
842
 
        <tr>
843
 
          <td class="md" nowrap valign="top">void QwtWheel::setViewAngle           </td>
844
 
          <td class="md" valign="top">(&nbsp;</td>
845
 
          <td class="md" nowrap valign="top">double&nbsp;</td>
846
 
          <td class="mdname1" valign="top" nowrap> <em>angle</em>          </td>
847
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
848
 
          <td class="md" nowrap></td>
849
 
        </tr>
850
 
      </table>
851
 
    </td>
852
 
  </tr>
853
 
</table>
854
 
<table cellspacing="5" cellpadding="0" border="0">
855
 
  <tr>
856
 
    <td>
857
 
      &nbsp;
858
 
    </td>
859
 
    <td>
860
 
 
861
 
<p>
862
 
Specify the visible portion of the wheel. 
863
 
<p>
864
 
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>
865
 
  <table border="0" cellspacing="2" cellpadding="0">
866
 
    <tr><td valign="top"></td><td valign="top"><em>angle</em>&nbsp;</td><td>Visible angle in degrees </td></tr>
867
 
  </table>
868
 
</dl>
869
 
 
870
 
<p>
871
 
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>.    </td>
872
 
  </tr>
873
 
</table>
874
 
<a class="anchor" name="fc5416139e1c962b950a8d48fe465209"></a><!-- doxytag: member="QwtWheel::setWheelWidth" ref="fc5416139e1c962b950a8d48fe465209" args="(int w)" --><p>
875
 
<table class="mdTable" cellpadding="2" cellspacing="0">
876
 
  <tr>
877
 
    <td class="mdRow">
878
 
      <table cellpadding="0" cellspacing="0" border="0">
879
 
        <tr>
880
 
          <td class="md" nowrap valign="top">void QwtWheel::setWheelWidth           </td>
881
 
          <td class="md" valign="top">(&nbsp;</td>
882
 
          <td class="md" nowrap valign="top">int&nbsp;</td>
883
 
          <td class="mdname1" valign="top" nowrap> <em>w</em>          </td>
884
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
885
 
          <td class="md" nowrap></td>
886
 
        </tr>
887
 
      </table>
888
 
    </td>
889
 
  </tr>
890
 
</table>
891
 
<table cellspacing="5" cellpadding="0" border="0">
892
 
  <tr>
893
 
    <td>
894
 
      &nbsp;
895
 
    </td>
896
 
    <td>
897
 
 
898
 
<p>
899
 
Set the width of the wheel. 
900
 
<p>
901
 
Corresponds to the wheel height for horizontal orientation, and the wheel width for vertical orientation. <dl compact><dt><b>Parameters:</b></dt><dd>
902
 
  <table border="0" cellspacing="2" cellpadding="0">
903
 
    <tr><td valign="top"></td><td valign="top"><em>w</em>&nbsp;</td><td>the wheel's width </td></tr>
904
 
  </table>
905
 
</dl>
906
 
 
907
 
<p>
908
 
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>.
909
 
<p>
910
 
References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>.    </td>
911
 
  </tr>
912
 
</table>
913
 
<a class="anchor" name="77404d4e604a196bd4e809ec7d9f2076"></a><!-- doxytag: member="QwtWheel::sizeHint" ref="77404d4e604a196bd4e809ec7d9f2076" args="() const " --><p>
914
 
<table class="mdTable" cellpadding="2" cellspacing="0">
915
 
  <tr>
916
 
    <td class="mdRow">
917
 
      <table cellpadding="0" cellspacing="0" border="0">
918
 
        <tr>
919
 
          <td class="md" nowrap valign="top">QSize QwtWheel::sizeHint           </td>
920
 
          <td class="md" valign="top">(&nbsp;</td>
921
 
          <td class="mdname1" valign="top" nowrap>          </td>
922
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
923
 
          <td class="md" nowrap> const<code> [virtual]</code></td>
924
 
        </tr>
925
 
      </table>
926
 
    </td>
927
 
  </tr>
928
 
</table>
929
 
<table cellspacing="5" cellpadding="0" border="0">
930
 
  <tr>
931
 
    <td>
932
 
      &nbsp;
933
 
    </td>
934
 
    <td>
935
 
 
936
 
<p>
937
 
<dl compact><dt><b>Returns:</b></dt><dd>a size hint </dd></dl>
938
 
 
939
 
<p>
940
 
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>.
941
 
<p>
942
 
References <a class="el" href="qwt__wheel_8cpp-source.html#l00642">minimumSizeHint()</a>.    </td>
943
 
  </tr>
944
 
</table>
945
 
<a class="anchor" name="0fa3d4f4189f7bb6ee0944cd30060eb5"></a><!-- doxytag: member="QwtWheel::valueChange" ref="0fa3d4f4189f7bb6ee0944cd30060eb5" args="()" --><p>
946
 
<table class="mdTable" cellpadding="2" cellspacing="0">
947
 
  <tr>
948
 
    <td class="mdRow">
949
 
      <table cellpadding="0" cellspacing="0" border="0">
950
 
        <tr>
951
 
          <td class="md" nowrap valign="top">void QwtWheel::valueChange           </td>
952
 
          <td class="md" valign="top">(&nbsp;</td>
953
 
          <td class="mdname1" valign="top" nowrap>          </td>
954
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
955
 
          <td class="md" nowrap><code> [protected, virtual]</code></td>
956
 
        </tr>
957
 
      </table>
958
 
    </td>
959
 
  </tr>
960
 
</table>
961
 
<table cellspacing="5" cellpadding="0" border="0">
962
 
  <tr>
963
 
    <td>
964
 
      &nbsp;
965
 
    </td>
966
 
    <td>
967
 
 
968
 
<p>
969
 
Notify value change. 
970
 
<p>
971
 
 
972
 
<p>
973
 
Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#2f04dc51e4402b51fef3250bcc99dc7f">QwtAbstractSlider</a>.
974
 
<p>
975
 
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>.
976
 
<p>
977
 
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00484">QwtAbstractSlider::valueChange()</a>.    </td>
978
 
  </tr>
979
 
</table>
980
 
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:26:19 2007 for Qwt User's Guide by&nbsp;
981
 
<a href="http://www.doxygen.org/index.html">
982
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
983
 
</body>
984
 
</html>