1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtCompass Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.6 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtCompass Class Reference</h1><!-- doxytag: class="QwtCompass" --><!-- doxytag: inherits="QwtDial" -->Inheritance diagram for QwtCompass:<p><center><img src="class_qwt_compass__inherit__graph.png" border="0" usemap="#_qwt_compass__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_compass__inherit__map">
24
<area href="class_qwt_dial.html" shape="rect" coords="37,157,104,181" alt="">
25
<area href="class_qwt_abstract_slider.html" shape="rect" coords="7,83,135,107" alt="">
26
<area href="class_qwt_double_range.html" shape="rect" coords="8,8,133,32" alt="">
28
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtCompass:<p><center><img src="class_qwt_compass__coll__graph.png" border="0" usemap="#_qwt_compass__coll__map" alt="Collaboration graph"></center>
29
<map name="_qwt_compass__coll__map">
30
<area href="class_qwt_dial.html" shape="rect" coords="37,157,104,181" alt="">
31
<area href="class_qwt_abstract_slider.html" shape="rect" coords="7,83,135,107" alt="">
32
<area href="class_qwt_double_range.html" shape="rect" coords="8,8,133,32" alt="">
34
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_compass-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
37
<a class="el" href="class_qwt_compass.html">QwtCompass</a> is a widget to display and enter directions. It consists of a scale, an optional needle and rose.<p>
39
<img src="dials1.png" alt="dials1.png">
42
<dl compact><dt><b>Note:</b></dt><dd>The examples/dials example shows how to use <a class="el" href="class_qwt_compass.html">QwtCompass</a>. </dd></dl>
47
Definition at line <a class="el" href="qwt__compass_8h-source.html#l00048">48</a> of file <a class="el" href="qwt__compass_8h-source.html">qwt_compass.h</a>.<table border="0" cellpadding="0" cellspacing="0">
49
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#05357e2950a3dc534e68e3c21f6c6b94">QwtCompass</a> (QWidget *parent=NULL)</td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#f6cc3b946f3761f7ce53d3a2ec000817">~QwtCompass</a> ()</td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#06456c0c52107bfa8b1d1267fba5b86f">setRose</a> (<a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a> *rose)</td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#7405a44d947e16f53b11dea4544d7683">rose</a> () const </td></tr>
58
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#99477d676bd866acd1a418615cba423b">rose</a> ()</td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QMap< double, QString > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#ccc25cd9b9b23769711b7f04f9a4c464">labelMap</a> () const </td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">QMap< double, QString > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#39b3cfa870ef0172b49d54fa2559a875">labelMap</a> ()</td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#b0f2460851db3d5b7169fe0991fdb945">setLabelMap</a> (const QMap< double, QString > &map)</td></tr>
66
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_text.html">QwtText</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#091c7ac5792d87e20bfc7efce9eeeb16">scaleLabel</a> (double value) const </td></tr>
69
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#f97ae99ae987472ee89deff90c1bf6d4">drawRose</a> (QPainter *, const QPoint &center, int radius, double north, QPalette::ColorGroup) const </td></tr>
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#375701893fa3c0aeadaf23dd316fe69f">drawScaleContents</a> (QPainter *, const QPoint &center, int radius) const </td></tr>
73
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass.html#d4f31e6837ea045834fe67d192a4209d">keyPressEvent</a> (QKeyEvent *)</td></tr>
76
<hr><h2>Constructor & Destructor Documentation</h2>
77
<a class="anchor" name="05357e2950a3dc534e68e3c21f6c6b94"></a><!-- doxytag: member="QwtCompass::QwtCompass" ref="05357e2950a3dc534e68e3c21f6c6b94" args="(QWidget *parent=NULL)" --><p>
78
<table class="mdTable" cellpadding="2" cellspacing="0">
81
<table cellpadding="0" cellspacing="0" border="0">
83
<td class="md" nowrap valign="top">QwtCompass::QwtCompass </td>
84
<td class="md" valign="top">( </td>
85
<td class="md" nowrap valign="top">QWidget * </td>
86
<td class="mdname1" valign="top" nowrap> <em>parent</em> = <code>NULL</code> </td>
87
<td class="md" valign="top"> ) </td>
88
<td class="md" nowrap><code> [explicit]</code></td>
94
<table cellspacing="5" cellpadding="0" border="0">
104
<dl compact><dt><b>Parameters:</b></dt><dd>
105
<table border="0" cellspacing="2" cellpadding="0">
106
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget</td></tr>
109
Create a compass widget with a scale, no needle and no rose. The default origin is 270.0 with no valid value. It accepts mouse and keyboard inputs and has no step size. The default mode is QwtDial::RotateNeedle.
111
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00050">50</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
114
<a class="anchor" name="f6cc3b946f3761f7ce53d3a2ec000817"></a><!-- doxytag: member="QwtCompass::~QwtCompass" ref="f6cc3b946f3761f7ce53d3a2ec000817" args="()" --><p>
115
<table class="mdTable" cellpadding="2" cellspacing="0">
118
<table cellpadding="0" cellspacing="0" border="0">
120
<td class="md" nowrap valign="top">QwtCompass::~QwtCompass </td>
121
<td class="md" valign="top">( </td>
122
<td class="mdname1" valign="top" nowrap> </td>
123
<td class="md" valign="top"> ) </td>
124
<td class="md" nowrap><code> [virtual]</code></td>
130
<table cellspacing="5" cellpadding="0" border="0">
142
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00077">77</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
145
<hr><h2>Member Function Documentation</h2>
146
<a class="anchor" name="f97ae99ae987472ee89deff90c1bf6d4"></a><!-- doxytag: member="QwtCompass::drawRose" ref="f97ae99ae987472ee89deff90c1bf6d4" args="(QPainter *, const QPoint &center, int radius, double north, QPalette::ColorGroup) const " --><p>
147
<table class="mdTable" cellpadding="2" cellspacing="0">
150
<table cellpadding="0" cellspacing="0" border="0">
152
<td class="md" nowrap valign="top">void QwtCompass::drawRose </td>
153
<td class="md" valign="top">( </td>
154
<td class="md" nowrap valign="top">QPainter * </td>
155
<td class="mdname" nowrap> <em>painter</em>, </td>
158
<td class="md" nowrap align="right"></td>
160
<td class="md" nowrap>const QPoint & </td>
161
<td class="mdname" nowrap> <em>center</em>, </td>
164
<td class="md" nowrap align="right"></td>
166
<td class="md" nowrap>int </td>
167
<td class="mdname" nowrap> <em>radius</em>, </td>
170
<td class="md" nowrap align="right"></td>
172
<td class="md" nowrap>double </td>
173
<td class="mdname" nowrap> <em>north</em>, </td>
176
<td class="md" nowrap align="right"></td>
178
<td class="md" nowrap>QPalette::ColorGroup </td>
179
<td class="mdname" nowrap> <em>cg</em></td>
183
<td class="md">) </td>
184
<td class="md" colspan="2"> const<code> [protected, virtual]</code></td>
190
<table cellspacing="5" cellpadding="0" border="0">
198
Draw the compass rose<p>
199
<dl compact><dt><b>Parameters:</b></dt><dd>
200
<table border="0" cellspacing="2" cellpadding="0">
201
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
202
<tr><td valign="top"></td><td valign="top"><em>center</em> </td><td>Center of the compass </td></tr>
203
<tr><td valign="top"></td><td valign="top"><em>radius</em> </td><td>of the circle, where to paint the rose </td></tr>
204
<tr><td valign="top"></td><td valign="top"><em>north</em> </td><td>Direction pointing north, in degrees counter clockwise </td></tr>
205
<tr><td valign="top"></td><td valign="top"><em>cg</em> </td><td>Color group </td></tr>
210
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00143">143</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>.
212
Referenced by <a class="el" href="qwt__compass_8cpp-source.html#l00114">drawScaleContents()</a>. </td>
215
<a class="anchor" name="375701893fa3c0aeadaf23dd316fe69f"></a><!-- doxytag: member="QwtCompass::drawScaleContents" ref="375701893fa3c0aeadaf23dd316fe69f" args="(QPainter *, const QPoint &center, int radius) const " --><p>
216
<table class="mdTable" cellpadding="2" cellspacing="0">
219
<table cellpadding="0" cellspacing="0" border="0">
221
<td class="md" nowrap valign="top">void QwtCompass::drawScaleContents </td>
222
<td class="md" valign="top">( </td>
223
<td class="md" nowrap valign="top">QPainter * </td>
224
<td class="mdname" nowrap>, </td>
227
<td class="md" nowrap align="right"></td>
229
<td class="md" nowrap>const QPoint & </td>
230
<td class="mdname" nowrap> <em>center</em>, </td>
233
<td class="md" nowrap align="right"></td>
235
<td class="md" nowrap>int </td>
236
<td class="mdname" nowrap> <em>radius</em></td>
240
<td class="md">) </td>
241
<td class="md" colspan="2"> const<code> [protected, virtual]</code></td>
247
<table cellspacing="5" cellpadding="0" border="0">
255
Draw the contents of the scale.
259
Reimplemented from <a class="el" href="class_qwt_dial.html#25ef28fbf217e510b60f2b01c14a1fc9">QwtDial</a>.
261
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00114">114</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>.
263
References <a class="el" href="qwt__compass_8cpp-source.html#l00143">drawRose()</a>, <a class="el" href="qwt__abstract__slider_8h-source.html#l00087">QwtAbstractSlider::isValid()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00382">QwtDial::mode()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00965">QwtDial::origin()</a>, and <a class="el" href="qwt__double__range_8cpp-source.html#l00360">QwtDoubleRange::value()</a>. </td>
266
<a class="anchor" name="d4f31e6837ea045834fe67d192a4209d"></a><!-- doxytag: member="QwtCompass::keyPressEvent" ref="d4f31e6837ea045834fe67d192a4209d" args="(QKeyEvent *)" --><p>
267
<table class="mdTable" cellpadding="2" cellspacing="0">
270
<table cellpadding="0" cellspacing="0" border="0">
272
<td class="md" nowrap valign="top">void QwtCompass::keyPressEvent </td>
273
<td class="md" valign="top">( </td>
274
<td class="md" nowrap valign="top">QKeyEvent * </td>
275
<td class="mdname1" valign="top" nowrap> <em>kev</em> </td>
276
<td class="md" valign="top"> ) </td>
277
<td class="md" nowrap><code> [protected, virtual]</code></td>
283
<table cellspacing="5" cellpadding="0" border="0">
291
Handles key events<p>
292
Beside the keys described in <a class="el" href="class_qwt_dial.html#61a2341a76abc20ea5bd72a0485be136">QwtDial::keyPressEvent</a> numbers from 1-9 (without 5) set the direction according to their position on the num pad.<p>
293
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_slider.html#040fd1fd03592c524314bf4b5539608d">isReadOnly()</a> </dd></dl>
296
Reimplemented from <a class="el" href="class_qwt_dial.html#61a2341a76abc20ea5bd72a0485be136">QwtDial</a>.
298
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00196">196</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>.
300
References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00098">QwtAbstractSlider::isReadOnly()</a>. </td>
303
<a class="anchor" name="39b3cfa870ef0172b49d54fa2559a875"></a><!-- doxytag: member="QwtCompass::labelMap" ref="39b3cfa870ef0172b49d54fa2559a875" args="()" --><p>
304
<table class="mdTable" cellpadding="2" cellspacing="0">
307
<table cellpadding="0" cellspacing="0" border="0">
309
<td class="md" nowrap valign="top">QMap< double, QString > & QwtCompass::labelMap </td>
310
<td class="md" valign="top">( </td>
311
<td class="mdname1" valign="top" nowrap> </td>
312
<td class="md" valign="top"> ) </td>
313
<td class="md" nowrap></td>
319
<table cellspacing="5" cellpadding="0" border="0">
327
<dl compact><dt><b>Returns:</b></dt><dd>map, mapping values to labels </dd></dl>
328
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#b0f2460851db3d5b7169fe0991fdb945">setLabelMap()</a> </dd></dl>
331
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00265">265</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
334
<a class="anchor" name="ccc25cd9b9b23769711b7f04f9a4c464"></a><!-- doxytag: member="QwtCompass::labelMap" ref="ccc25cd9b9b23769711b7f04f9a4c464" args="() const " --><p>
335
<table class="mdTable" cellpadding="2" cellspacing="0">
338
<table cellpadding="0" cellspacing="0" border="0">
340
<td class="md" nowrap valign="top">const QMap< double, QString > & QwtCompass::labelMap </td>
341
<td class="md" valign="top">( </td>
342
<td class="mdname1" valign="top" nowrap> </td>
343
<td class="md" valign="top"> ) </td>
344
<td class="md" nowrap> const</td>
350
<table cellspacing="5" cellpadding="0" border="0">
358
<dl compact><dt><b>Returns:</b></dt><dd>map, mapping values to labels </dd></dl>
359
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#b0f2460851db3d5b7169fe0991fdb945">setLabelMap()</a> </dd></dl>
362
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00256">256</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
365
<a class="anchor" name="99477d676bd866acd1a418615cba423b"></a><!-- doxytag: member="QwtCompass::rose" ref="99477d676bd866acd1a418615cba423b" args="()" --><p>
366
<table class="mdTable" cellpadding="2" cellspacing="0">
369
<table cellpadding="0" cellspacing="0" border="0">
371
<td class="md" nowrap valign="top"><a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a> * QwtCompass::rose </td>
372
<td class="md" valign="top">( </td>
373
<td class="mdname1" valign="top" nowrap> </td>
374
<td class="md" valign="top"> ) </td>
375
<td class="md" nowrap></td>
381
<table cellspacing="5" cellpadding="0" border="0">
389
<dl compact><dt><b>Returns:</b></dt><dd>rose </dd></dl>
390
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#06456c0c52107bfa8b1d1267fba5b86f">setRose()</a> </dd></dl>
393
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00182">182</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
396
<a class="anchor" name="7405a44d947e16f53b11dea4544d7683"></a><!-- doxytag: member="QwtCompass::rose" ref="7405a44d947e16f53b11dea4544d7683" args="() const " --><p>
397
<table class="mdTable" cellpadding="2" cellspacing="0">
400
<table cellpadding="0" cellspacing="0" border="0">
402
<td class="md" nowrap valign="top">const <a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a> * QwtCompass::rose </td>
403
<td class="md" valign="top">( </td>
404
<td class="mdname1" valign="top" nowrap> </td>
405
<td class="md" valign="top"> ) </td>
406
<td class="md" nowrap> const</td>
412
<table cellspacing="5" cellpadding="0" border="0">
420
<dl compact><dt><b>Returns:</b></dt><dd>rose </dd></dl>
421
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#06456c0c52107bfa8b1d1267fba5b86f">setRose()</a> </dd></dl>
424
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00173">173</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>.
426
Referenced by <a class="el" href="qwt__compass_8cpp-source.html#l00157">setRose()</a>. </td>
429
<a class="anchor" name="091c7ac5792d87e20bfc7efce9eeeb16"></a><!-- doxytag: member="QwtCompass::scaleLabel" ref="091c7ac5792d87e20bfc7efce9eeeb16" args="(double value) const " --><p>
430
<table class="mdTable" cellpadding="2" cellspacing="0">
433
<table cellpadding="0" cellspacing="0" border="0">
435
<td class="md" nowrap valign="top"><a class="el" href="class_qwt_text.html">QwtText</a> QwtCompass::scaleLabel </td>
436
<td class="md" valign="top">( </td>
437
<td class="md" nowrap valign="top">double </td>
438
<td class="mdname1" valign="top" nowrap> <em>value</em> </td>
439
<td class="md" valign="top"> ) </td>
440
<td class="md" nowrap> const<code> [protected, virtual]</code></td>
446
<table cellspacing="5" cellpadding="0" border="0">
454
Map a value to a corresponding label <dl compact><dt><b>Parameters:</b></dt><dd>
455
<table border="0" cellspacing="2" cellpadding="0">
456
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>Value that will be mapped </td></tr>
459
<dl compact><dt><b>Returns:</b></dt><dd>Label, or QString::null</dd></dl>
460
label() looks in a map for a corresponding label for value or return an null text. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#39b3cfa870ef0172b49d54fa2559a875">labelMap()</a>, <a class="el" href="class_qwt_compass.html#b0f2460851db3d5b7169fe0991fdb945">setLabelMap()</a> </dd></dl>
463
Reimplemented from <a class="el" href="class_qwt_dial.html#b91f5aa6c54349d735fe22acd4f5a2e1">QwtDial</a>.
465
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00297">297</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
468
<a class="anchor" name="b0f2460851db3d5b7169fe0991fdb945"></a><!-- doxytag: member="QwtCompass::setLabelMap" ref="b0f2460851db3d5b7169fe0991fdb945" args="(const QMap< double, QString > &map)" --><p>
469
<table class="mdTable" cellpadding="2" cellspacing="0">
472
<table cellpadding="0" cellspacing="0" border="0">
474
<td class="md" nowrap valign="top">void QwtCompass::setLabelMap </td>
475
<td class="md" valign="top">( </td>
476
<td class="md" nowrap valign="top">const QMap< double, QString > & </td>
477
<td class="mdname1" valign="top" nowrap> <em>map</em> </td>
478
<td class="md" valign="top"> ) </td>
479
<td class="md" nowrap></td>
485
<table cellspacing="5" cellpadding="0" border="0">
493
Set a map, mapping values to labels.
495
<dl compact><dt><b>Parameters:</b></dt><dd>
496
<table border="0" cellspacing="2" cellpadding="0">
497
<tr><td valign="top"></td><td valign="top"><em>map</em> </td><td>value to label map</td></tr>
500
The values of the major ticks are found by looking into this map. The default map consists of the labels N, NE, E, SE, S, SW, W, NW.<p>
501
<dl compact><dt><b>Warning:</b></dt><dd>The map will have no effect for values that are no major tick values. Major ticks can be changed by QwtScaleDraw::setScale</dd></dl>
502
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#39b3cfa870ef0172b49d54fa2559a875">labelMap()</a>, <a class="el" href="class_qwt_dial.html#4e51987ef0800ddbd36a0923535a2cdd">scaleDraw()</a>, <a class="el" href="class_qwt_dial.html#ec2d13245d2120c0b4b2d6ae1f52cf4f">setScale()</a> </dd></dl>
505
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00282">282</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>. </td>
508
<a class="anchor" name="06456c0c52107bfa8b1d1267fba5b86f"></a><!-- doxytag: member="QwtCompass::setRose" ref="06456c0c52107bfa8b1d1267fba5b86f" args="(QwtCompassRose *rose)" --><p>
509
<table class="mdTable" cellpadding="2" cellspacing="0">
512
<table cellpadding="0" cellspacing="0" border="0">
514
<td class="md" nowrap valign="top">void QwtCompass::setRose </td>
515
<td class="md" valign="top">( </td>
516
<td class="md" nowrap valign="top"><a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a> * </td>
517
<td class="mdname1" valign="top" nowrap> <em>rose</em> </td>
518
<td class="md" valign="top"> ) </td>
519
<td class="md" nowrap></td>
525
<table cellspacing="5" cellpadding="0" border="0">
533
Set a rose for the compass <dl compact><dt><b>Parameters:</b></dt><dd>
534
<table border="0" cellspacing="2" cellpadding="0">
535
<tr><td valign="top"></td><td valign="top"><em>rose</em> </td><td>Compass rose </td></tr>
538
<dl compact><dt><b>Warning:</b></dt><dd>The rose will be deleted, when a different rose is set or in ~QwtCompass </dd></dl>
539
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_compass.html#99477d676bd866acd1a418615cba423b">rose()</a> </dd></dl>
542
Definition at line <a class="el" href="qwt__compass_8cpp-source.html#l00157">157</a> of file <a class="el" href="qwt__compass_8cpp-source.html">qwt_compass.cpp</a>.
544
References <a class="el" href="qwt__compass_8cpp-source.html#l00173">rose()</a>. </td>
547
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 11 07:41:50 2007 for Qwt User's Guide by
548
<a href="http://www.doxygen.org/index.html">
549
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>