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

« back to all changes in this revision

Viewing changes to qwt-5.0.2/doc/html/class_qwt_compass_magnet_needle.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: QwtCompassMagnetNeedle 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>QwtCompassMagnetNeedle Class Reference</h1><!-- doxytag: class="QwtCompassMagnetNeedle" --><!-- doxytag: inherits="QwtDialNeedle" -->Inheritance diagram for QwtCompassMagnetNeedle:<p><center><img src="class_qwt_compass_magnet_needle__inherit__graph.png" border="0" usemap="#_qwt_compass_magnet_needle__inherit__map" alt="Inheritance graph"></center>
 
23
<map name="_qwt_compass_magnet_needle__inherit__map">
 
24
<area href="class_qwt_dial_needle.html" shape="rect" coords="45,8,155,32" alt="">
 
25
</map>
 
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtCompassMagnetNeedle:<p><center><img src="class_qwt_compass_magnet_needle__coll__graph.png" border="0" usemap="#_qwt_compass_magnet_needle__coll__map" alt="Collaboration graph"></center>
 
27
<map name="_qwt_compass_magnet_needle__coll__map">
 
28
<area href="class_qwt_dial_needle.html" shape="rect" coords="45,8,155,32" alt="">
 
29
</map>
 
30
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_compass_magnet_needle-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
 
31
A magnet needle for compass widgets. 
 
32
<p>
 
33
A magnet needle points to two opposite directions indicating north and south.<p>
 
34
The following colors are used:<ul>
 
35
<li>QColorGroup::Light<br>
 
36
 Used for pointing south</li><li>QColorGroup::Dark<br>
 
37
 Used for pointing north</li><li>QColorGroup::Base<br>
 
38
 Knob (ThinStyle only)</li></ul>
 
39
<p>
 
40
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html">QwtDial</a>, <a class="el" href="class_qwt_compass.html">QwtCompass</a> </dd></dl>
 
41
 
 
42
<p>
 
43
 
 
44
<p>
 
45
Definition at line <a class="el" href="qwt__dial__needle_8h-source.html#l00125">125</a> of file <a class="el" href="qwt__dial__needle_8h-source.html">qwt_dial_needle.h</a>.<table border="0" cellpadding="0" cellspacing="0">
 
46
<tr><td></td></tr>
 
47
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
 
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_magnet_needle.html#ee1d882c6ec8b680b94b59b5710a92a5">Style</a> { <br>
 
49
&nbsp;&nbsp;<b>TriangleStyle</b>, 
 
50
<br>
 
51
&nbsp;&nbsp;<b>ThinStyle</b>
 
52
<br>
 
53
 }</td></tr>
 
54
 
 
55
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
56
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_magnet_needle.html#3422e6490d44c527289bafdcceecd741">QwtCompassMagnetNeedle</a> (<a class="el" href="class_qwt_compass_magnet_needle.html#ee1d882c6ec8b680b94b59b5710a92a5">Style</a>=TriangleStyle, const QColor &amp;light=Qt::white, const QColor &amp;dark=Qt::red)</td></tr>
 
57
 
 
58
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_magnet_needle.html#5f70372a381eb8953728def1a5cb8bc2">draw</a> (QPainter *, const QPoint &amp;, int length, double direction, QPalette::ColorGroup=QPalette::Active) const </td></tr>
 
59
 
 
60
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
 
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_magnet_needle.html#e26a1879af72e9b553b2a6c85afe0ca1">drawTriangleNeedle</a> (QPainter *, const QPalette &amp;, QPalette::ColorGroup, const QPoint &amp;, int length, double direction)</td></tr>
 
62
 
 
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_magnet_needle.html#786b21adb5d427b35be554eeafcce06c">drawThinNeedle</a> (QPainter *, const QPalette &amp;, QPalette::ColorGroup, const QPoint &amp;, int length, double direction)</td></tr>
 
64
 
 
65
<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
 
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_magnet_needle.html#d8ca9ebf795e69c1058b00f1c00c5963">drawPointer</a> (QPainter *painter, const QBrush &amp;brush, int colorOffset, const QPoint &amp;center, int length, int width, double direction)</td></tr>
 
67
 
 
68
</table>
 
69
<hr><h2>Member Enumeration Documentation</h2>
 
70
<a class="anchor" name="ee1d882c6ec8b680b94b59b5710a92a5"></a><!-- doxytag: member="QwtCompassMagnetNeedle::Style" ref="ee1d882c6ec8b680b94b59b5710a92a5" args="" --><p>
 
71
<table class="mdTable" cellpadding="2" cellspacing="0">
 
72
  <tr>
 
73
    <td class="mdRow">
 
74
      <table cellpadding="0" cellspacing="0" border="0">
 
75
        <tr>
 
76
          <td class="md" nowrap valign="top">enum <a class="el" href="class_qwt_compass_magnet_needle.html#ee1d882c6ec8b680b94b59b5710a92a5">QwtCompassMagnetNeedle::Style</a>          </td>
 
77
        </tr>
 
78
      </table>
 
79
    </td>
 
80
  </tr>
 
81
</table>
 
82
<table cellspacing="5" cellpadding="0" border="0">
 
83
  <tr>
 
84
    <td>
 
85
      &nbsp;
 
86
    </td>
 
87
    <td>
 
88
 
 
89
<p>
 
90
Style of the needle. 
 
91
<p>
 
92
 
 
93
<p>
 
94
Definition at line <a class="el" href="qwt__dial__needle_8h-source.html#l00129">129</a> of file <a class="el" href="qwt__dial__needle_8h-source.html">qwt_dial_needle.h</a>.    </td>
 
95
  </tr>
 
96
</table>
 
97
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
98
<a class="anchor" name="3422e6490d44c527289bafdcceecd741"></a><!-- doxytag: member="QwtCompassMagnetNeedle::QwtCompassMagnetNeedle" ref="3422e6490d44c527289bafdcceecd741" args="(Style=TriangleStyle, const QColor &amp;light=Qt::white, const QColor &amp;dark=Qt::red)" --><p>
 
99
<table class="mdTable" cellpadding="2" cellspacing="0">
 
100
  <tr>
 
101
    <td class="mdRow">
 
102
      <table cellpadding="0" cellspacing="0" border="0">
 
103
        <tr>
 
104
          <td class="md" nowrap valign="top">QwtCompassMagnetNeedle::QwtCompassMagnetNeedle           </td>
 
105
          <td class="md" valign="top">(&nbsp;</td>
 
106
          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_compass_magnet_needle.html#ee1d882c6ec8b680b94b59b5710a92a5">Style</a>&nbsp;</td>
 
107
          <td class="mdname" nowrap> = <code>TriangleStyle</code>, </td>
 
108
        </tr>
 
109
        <tr>
 
110
          <td class="md" nowrap align="right"></td>
 
111
          <td class="md"></td>
 
112
          <td class="md" nowrap>const QColor &amp;&nbsp;</td>
 
113
          <td class="mdname" nowrap> <em>light</em> = <code>Qt::white</code>, </td>
 
114
        </tr>
 
115
        <tr>
 
116
          <td class="md" nowrap align="right"></td>
 
117
          <td class="md"></td>
 
118
          <td class="md" nowrap>const QColor &amp;&nbsp;</td>
 
119
          <td class="mdname" nowrap> <em>dark</em> = <code>Qt::red</code></td>
 
120
        </tr>
 
121
        <tr>
 
122
          <td class="md"></td>
 
123
          <td class="md">)&nbsp;</td>
 
124
          <td class="md" colspan="2"></td>
 
125
        </tr>
 
126
      </table>
 
127
    </td>
 
128
  </tr>
 
129
</table>
 
130
<table cellspacing="5" cellpadding="0" border="0">
 
131
  <tr>
 
132
    <td>
 
133
      &nbsp;
 
134
    </td>
 
135
    <td>
 
136
 
 
137
<p>
 
138
Constructor. 
 
139
<p>
 
140
 
 
141
<p>
 
142
Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00265">265</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.
 
143
<p>
 
144
References <a class="el" href="qwt__dial__needle_8cpp-source.html#l00048">QwtDialNeedle::palette()</a>.    </td>
 
145
  </tr>
 
146
</table>
 
147
<hr><h2>Member Function Documentation</h2>
 
148
<a class="anchor" name="5f70372a381eb8953728def1a5cb8bc2"></a><!-- doxytag: member="QwtCompassMagnetNeedle::draw" ref="5f70372a381eb8953728def1a5cb8bc2" args="(QPainter *, const QPoint &amp;, int length, double direction, QPalette::ColorGroup=QPalette::Active) const " --><p>
 
149
<table class="mdTable" cellpadding="2" cellspacing="0">
 
150
  <tr>
 
151
    <td class="mdRow">
 
152
      <table cellpadding="0" cellspacing="0" border="0">
 
153
        <tr>
 
154
          <td class="md" nowrap valign="top">void QwtCompassMagnetNeedle::draw           </td>
 
155
          <td class="md" valign="top">(&nbsp;</td>
 
156
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
 
157
          <td class="mdname" nowrap> <em>painter</em>, </td>
 
158
        </tr>
 
159
        <tr>
 
160
          <td class="md" nowrap align="right"></td>
 
161
          <td class="md"></td>
 
162
          <td class="md" nowrap>const QPoint &amp;&nbsp;</td>
 
163
          <td class="mdname" nowrap> <em>center</em>, </td>
 
164
        </tr>
 
165
        <tr>
 
166
          <td class="md" nowrap align="right"></td>
 
167
          <td class="md"></td>
 
168
          <td class="md" nowrap>int&nbsp;</td>
 
169
          <td class="mdname" nowrap> <em>length</em>, </td>
 
170
        </tr>
 
171
        <tr>
 
172
          <td class="md" nowrap align="right"></td>
 
173
          <td class="md"></td>
 
174
          <td class="md" nowrap>double&nbsp;</td>
 
175
          <td class="mdname" nowrap> <em>direction</em>, </td>
 
176
        </tr>
 
177
        <tr>
 
178
          <td class="md" nowrap align="right"></td>
 
179
          <td class="md"></td>
 
180
          <td class="md" nowrap>QPalette::ColorGroup&nbsp;</td>
 
181
          <td class="mdname" nowrap> <em>colorGroup</em> = <code>QPalette::Active</code></td>
 
182
        </tr>
 
183
        <tr>
 
184
          <td class="md"></td>
 
185
          <td class="md">)&nbsp;</td>
 
186
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
 
187
        </tr>
 
188
      </table>
 
189
    </td>
 
190
  </tr>
 
191
</table>
 
192
<table cellspacing="5" cellpadding="0" border="0">
 
193
  <tr>
 
194
    <td>
 
195
      &nbsp;
 
196
    </td>
 
197
    <td>
 
198
 
 
199
<p>
 
200
Draw the needle<p>
 
201
<dl compact><dt><b>Parameters:</b></dt><dd>
 
202
  <table border="0" cellspacing="2" cellpadding="0">
 
203
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
 
204
    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>Center of the dial, start position for the needle </td></tr>
 
205
    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>Length of the needle </td></tr>
 
206
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Direction of the needle, in degrees counter clockwise </td></tr>
 
207
    <tr><td valign="top"></td><td valign="top"><em>colorGroup</em>&nbsp;</td><td>Color group, used for painting </td></tr>
 
208
  </table>
 
209
</dl>
 
210
 
 
211
<p>
 
212
Implements <a class="el" href="class_qwt_dial_needle.html#6076eecfa9fc39235435d098cf146a2c">QwtDialNeedle</a>.
 
213
<p>
 
214
Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00292">292</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.
 
215
<p>
 
216
References <a class="el" href="qwt__dial__needle_8cpp-source.html#l00383">drawThinNeedle()</a>, <a class="el" href="qwt__dial__needle_8cpp-source.html#l00317">drawTriangleNeedle()</a>, and <a class="el" href="qwt__dial__needle_8cpp-source.html#l00048">QwtDialNeedle::palette()</a>.    </td>
 
217
  </tr>
 
218
</table>
 
219
<a class="anchor" name="d8ca9ebf795e69c1058b00f1c00c5963"></a><!-- doxytag: member="QwtCompassMagnetNeedle::drawPointer" ref="d8ca9ebf795e69c1058b00f1c00c5963" args="(QPainter *painter, const QBrush &amp;brush, int colorOffset, const QPoint &amp;center, int length, int width, double direction)" --><p>
 
220
<table class="mdTable" cellpadding="2" cellspacing="0">
 
221
  <tr>
 
222
    <td class="mdRow">
 
223
      <table cellpadding="0" cellspacing="0" border="0">
 
224
        <tr>
 
225
          <td class="md" nowrap valign="top">void QwtCompassMagnetNeedle::drawPointer           </td>
 
226
          <td class="md" valign="top">(&nbsp;</td>
 
227
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
 
228
          <td class="mdname" nowrap> <em>painter</em>, </td>
 
229
        </tr>
 
230
        <tr>
 
231
          <td class="md" nowrap align="right"></td>
 
232
          <td class="md"></td>
 
233
          <td class="md" nowrap>const QBrush &amp;&nbsp;</td>
 
234
          <td class="mdname" nowrap> <em>brush</em>, </td>
 
235
        </tr>
 
236
        <tr>
 
237
          <td class="md" nowrap align="right"></td>
 
238
          <td class="md"></td>
 
239
          <td class="md" nowrap>int&nbsp;</td>
 
240
          <td class="mdname" nowrap> <em>colorOffset</em>, </td>
 
241
        </tr>
 
242
        <tr>
 
243
          <td class="md" nowrap align="right"></td>
 
244
          <td class="md"></td>
 
245
          <td class="md" nowrap>const QPoint &amp;&nbsp;</td>
 
246
          <td class="mdname" nowrap> <em>center</em>, </td>
 
247
        </tr>
 
248
        <tr>
 
249
          <td class="md" nowrap align="right"></td>
 
250
          <td class="md"></td>
 
251
          <td class="md" nowrap>int&nbsp;</td>
 
252
          <td class="mdname" nowrap> <em>length</em>, </td>
 
253
        </tr>
 
254
        <tr>
 
255
          <td class="md" nowrap align="right"></td>
 
256
          <td class="md"></td>
 
257
          <td class="md" nowrap>int&nbsp;</td>
 
258
          <td class="mdname" nowrap> <em>width</em>, </td>
 
259
        </tr>
 
260
        <tr>
 
261
          <td class="md" nowrap align="right"></td>
 
262
          <td class="md"></td>
 
263
          <td class="md" nowrap>double&nbsp;</td>
 
264
          <td class="mdname" nowrap> <em>direction</em></td>
 
265
        </tr>
 
266
        <tr>
 
267
          <td class="md"></td>
 
268
          <td class="md">)&nbsp;</td>
 
269
          <td class="md" colspan="2"><code> [static, protected]</code></td>
 
270
        </tr>
 
271
      </table>
 
272
    </td>
 
273
  </tr>
 
274
</table>
 
275
<table cellspacing="5" cellpadding="0" border="0">
 
276
  <tr>
 
277
    <td>
 
278
      &nbsp;
 
279
    </td>
 
280
    <td>
 
281
 
 
282
<p>
 
283
Draw a compass needle<p>
 
284
<dl compact><dt><b>Parameters:</b></dt><dd>
 
285
  <table border="0" cellspacing="2" cellpadding="0">
 
286
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
 
287
    <tr><td valign="top"></td><td valign="top"><em>brush</em>&nbsp;</td><td>Brush </td></tr>
 
288
    <tr><td valign="top"></td><td valign="top"><em>colorOffset</em>&nbsp;</td><td>Color offset </td></tr>
 
289
    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>Center, where the needle starts </td></tr>
 
290
    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>Length of the needle </td></tr>
 
291
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>Width of the needle </td></tr>
 
292
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Direction </td></tr>
 
293
  </table>
 
294
</dl>
 
295
 
 
296
<p>
 
297
Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00419">419</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.
 
298
<p>
 
299
Referenced by <a class="el" href="qwt__dial__needle_8cpp-source.html#l00383">drawThinNeedle()</a>.    </td>
 
300
  </tr>
 
301
</table>
 
302
<a class="anchor" name="786b21adb5d427b35be554eeafcce06c"></a><!-- doxytag: member="QwtCompassMagnetNeedle::drawThinNeedle" ref="786b21adb5d427b35be554eeafcce06c" args="(QPainter *, const QPalette &amp;, QPalette::ColorGroup, const QPoint &amp;, int length, double direction)" --><p>
 
303
<table class="mdTable" cellpadding="2" cellspacing="0">
 
304
  <tr>
 
305
    <td class="mdRow">
 
306
      <table cellpadding="0" cellspacing="0" border="0">
 
307
        <tr>
 
308
          <td class="md" nowrap valign="top">void QwtCompassMagnetNeedle::drawThinNeedle           </td>
 
309
          <td class="md" valign="top">(&nbsp;</td>
 
310
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
 
311
          <td class="mdname" nowrap> <em>painter</em>, </td>
 
312
        </tr>
 
313
        <tr>
 
314
          <td class="md" nowrap align="right"></td>
 
315
          <td class="md"></td>
 
316
          <td class="md" nowrap>const QPalette &amp;&nbsp;</td>
 
317
          <td class="mdname" nowrap> <em>palette</em>, </td>
 
318
        </tr>
 
319
        <tr>
 
320
          <td class="md" nowrap align="right"></td>
 
321
          <td class="md"></td>
 
322
          <td class="md" nowrap>QPalette::ColorGroup&nbsp;</td>
 
323
          <td class="mdname" nowrap> <em>colorGroup</em>, </td>
 
324
        </tr>
 
325
        <tr>
 
326
          <td class="md" nowrap align="right"></td>
 
327
          <td class="md"></td>
 
328
          <td class="md" nowrap>const QPoint &amp;&nbsp;</td>
 
329
          <td class="mdname" nowrap> <em>center</em>, </td>
 
330
        </tr>
 
331
        <tr>
 
332
          <td class="md" nowrap align="right"></td>
 
333
          <td class="md"></td>
 
334
          <td class="md" nowrap>int&nbsp;</td>
 
335
          <td class="mdname" nowrap> <em>length</em>, </td>
 
336
        </tr>
 
337
        <tr>
 
338
          <td class="md" nowrap align="right"></td>
 
339
          <td class="md"></td>
 
340
          <td class="md" nowrap>double&nbsp;</td>
 
341
          <td class="mdname" nowrap> <em>direction</em></td>
 
342
        </tr>
 
343
        <tr>
 
344
          <td class="md"></td>
 
345
          <td class="md">)&nbsp;</td>
 
346
          <td class="md" colspan="2"><code> [static]</code></td>
 
347
        </tr>
 
348
      </table>
 
349
    </td>
 
350
  </tr>
 
351
</table>
 
352
<table cellspacing="5" cellpadding="0" border="0">
 
353
  <tr>
 
354
    <td>
 
355
      &nbsp;
 
356
    </td>
 
357
    <td>
 
358
 
 
359
<p>
 
360
Draw a compass needle<p>
 
361
<dl compact><dt><b>Parameters:</b></dt><dd>
 
362
  <table border="0" cellspacing="2" cellpadding="0">
 
363
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
 
364
    <tr><td valign="top"></td><td valign="top"><em>palette</em>&nbsp;</td><td>Palette </td></tr>
 
365
    <tr><td valign="top"></td><td valign="top"><em>colorGroup</em>&nbsp;</td><td>Color group </td></tr>
 
366
    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>Center, where the needle starts </td></tr>
 
367
    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>Length of the needle </td></tr>
 
368
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Direction </td></tr>
 
369
  </table>
 
370
</dl>
 
371
 
 
372
<p>
 
373
Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00383">383</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.
 
374
<p>
 
375
References <a class="el" href="qwt__dial__needle_8cpp-source.html#l00054">QwtDialNeedle::drawKnob()</a>, and <a class="el" href="qwt__dial__needle_8cpp-source.html#l00419">drawPointer()</a>.
 
376
<p>
 
377
Referenced by <a class="el" href="qwt__dial__needle_8cpp-source.html#l00292">draw()</a>.    </td>
 
378
  </tr>
 
379
</table>
 
380
<a class="anchor" name="e26a1879af72e9b553b2a6c85afe0ca1"></a><!-- doxytag: member="QwtCompassMagnetNeedle::drawTriangleNeedle" ref="e26a1879af72e9b553b2a6c85afe0ca1" args="(QPainter *, const QPalette &amp;, QPalette::ColorGroup, const QPoint &amp;, int length, double direction)" --><p>
 
381
<table class="mdTable" cellpadding="2" cellspacing="0">
 
382
  <tr>
 
383
    <td class="mdRow">
 
384
      <table cellpadding="0" cellspacing="0" border="0">
 
385
        <tr>
 
386
          <td class="md" nowrap valign="top">void QwtCompassMagnetNeedle::drawTriangleNeedle           </td>
 
387
          <td class="md" valign="top">(&nbsp;</td>
 
388
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
 
389
          <td class="mdname" nowrap> <em>painter</em>, </td>
 
390
        </tr>
 
391
        <tr>
 
392
          <td class="md" nowrap align="right"></td>
 
393
          <td class="md"></td>
 
394
          <td class="md" nowrap>const QPalette &amp;&nbsp;</td>
 
395
          <td class="mdname" nowrap> <em>palette</em>, </td>
 
396
        </tr>
 
397
        <tr>
 
398
          <td class="md" nowrap align="right"></td>
 
399
          <td class="md"></td>
 
400
          <td class="md" nowrap>QPalette::ColorGroup&nbsp;</td>
 
401
          <td class="mdname" nowrap> <em>colorGroup</em>, </td>
 
402
        </tr>
 
403
        <tr>
 
404
          <td class="md" nowrap align="right"></td>
 
405
          <td class="md"></td>
 
406
          <td class="md" nowrap>const QPoint &amp;&nbsp;</td>
 
407
          <td class="mdname" nowrap> <em>center</em>, </td>
 
408
        </tr>
 
409
        <tr>
 
410
          <td class="md" nowrap align="right"></td>
 
411
          <td class="md"></td>
 
412
          <td class="md" nowrap>int&nbsp;</td>
 
413
          <td class="mdname" nowrap> <em>length</em>, </td>
 
414
        </tr>
 
415
        <tr>
 
416
          <td class="md" nowrap align="right"></td>
 
417
          <td class="md"></td>
 
418
          <td class="md" nowrap>double&nbsp;</td>
 
419
          <td class="mdname" nowrap> <em>direction</em></td>
 
420
        </tr>
 
421
        <tr>
 
422
          <td class="md"></td>
 
423
          <td class="md">)&nbsp;</td>
 
424
          <td class="md" colspan="2"><code> [static]</code></td>
 
425
        </tr>
 
426
      </table>
 
427
    </td>
 
428
  </tr>
 
429
</table>
 
430
<table cellspacing="5" cellpadding="0" border="0">
 
431
  <tr>
 
432
    <td>
 
433
      &nbsp;
 
434
    </td>
 
435
    <td>
 
436
 
 
437
<p>
 
438
Draw a compass needle<p>
 
439
<dl compact><dt><b>Parameters:</b></dt><dd>
 
440
  <table border="0" cellspacing="2" cellpadding="0">
 
441
    <tr><td valign="top"></td><td valign="top"><em>painter</em>&nbsp;</td><td>Painter </td></tr>
 
442
    <tr><td valign="top"></td><td valign="top"><em>palette</em>&nbsp;</td><td>Palette </td></tr>
 
443
    <tr><td valign="top"></td><td valign="top"><em>colorGroup</em>&nbsp;</td><td>Color group </td></tr>
 
444
    <tr><td valign="top"></td><td valign="top"><em>center</em>&nbsp;</td><td>Center, where the needle starts </td></tr>
 
445
    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>Length of the needle </td></tr>
 
446
    <tr><td valign="top"></td><td valign="top"><em>direction</em>&nbsp;</td><td>Direction </td></tr>
 
447
  </table>
 
448
</dl>
 
449
 
 
450
<p>
 
451
Definition at line <a class="el" href="qwt__dial__needle_8cpp-source.html#l00317">317</a> of file <a class="el" href="qwt__dial__needle_8cpp-source.html">qwt_dial_needle.cpp</a>.
 
452
<p>
 
453
Referenced by <a class="el" href="qwt__dial__needle_8cpp-source.html#l00292">draw()</a>.    </td>
 
454
  </tr>
 
455
</table>
 
456
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 11 07:41:52 2007 for Qwt User's Guide by&nbsp;
 
457
<a href="http://www.doxygen.org/index.html">
 
458
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
459
</body>
 
460
</html>