1
.TH "QwtSimpleCompassRose" 3 "24 May 2008" "Version 5.1.1" "Qwt User's Guide" \" -*- nroff -*-
5
QwtSimpleCompassRose \-
9
Inherits \fBQwtCompassRose\fP.
11
.SH "Detailed Description"
13
A simple rose for \fBQwtCompass\fP.
15
Definition at line 49 of file qwt_compass_rose.h.
16
.SS "Public Member Functions"
20
.RI "\fBQwtSimpleCompassRose\fP (int numThorns=8, int numThornLevels=-1)"
23
.RI "void \fBsetWidth\fP (double w)"
26
.RI "double \fBwidth\fP () const"
29
.RI "void \fBsetNumThorns\fP (int count)"
32
.RI "int \fBnumThorns\fP () const"
35
.RI "void \fBsetNumThornLevels\fP (int count)"
38
.RI "int \fBnumThornLevels\fP () const"
41
.RI "void \fBsetShrinkFactor\fP (double factor)"
44
.RI "double \fBshrinkFactor\fP () const"
47
.RI "virtual void \fBdraw\fP (QPainter *, const QPoint ¢er, int radius, double north, QPalette::ColorGroup=QPalette::Active) const"
50
.SS "Static Public Member Functions"
54
.RI "static void \fBdrawRose\fP (QPainter *, const QPalette &, const QPoint ¢er, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)"
57
.SH "Constructor & Destructor Documentation"
59
.SS "QwtSimpleCompassRose::QwtSimpleCompassRose (int numThorns = \fC8\fP, int numThornLevels = \fC-1\fP)"
65
\fInumThorns\fP Number of thorns
67
\fInumThornLevels\fP Number of thorn levels
72
Definition at line 61 of file qwt_compass_rose.cpp.
74
References QwtCompassRose::palette(), and QwtCompassRose::setPalette().
75
.SH "Member Function Documentation"
77
.SS "void QwtSimpleCompassRose::setWidth (double width)"
79
Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4.
88
Definition at line 226 of file qwt_compass_rose.cpp.
89
.SS "void QwtSimpleCompassRose::setNumThorns (int numThorns)"
91
Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4
95
\fInumThorns\fP Number of thorns
100
\fBnumThorns()\fP, \fBsetNumThornLevels()\fP
105
Definition at line 243 of file qwt_compass_rose.cpp.
106
.SS "int QwtSimpleCompassRose::numThorns () const"
115
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
120
Definition at line 258 of file qwt_compass_rose.cpp.
121
.SS "void QwtSimpleCompassRose::setNumThornLevels (int numThornLevels)"
123
Set the of thorns levels
127
\fInumThornLevels\fP Number of thorns levels
132
\fBsetNumThorns()\fP, \fBnumThornLevels()\fP
137
Definition at line 269 of file qwt_compass_rose.cpp.
138
.SS "int QwtSimpleCompassRose::numThornLevels () const"
142
Number of thorn levels
147
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
152
Definition at line 278 of file qwt_compass_rose.cpp.
153
.SS "void QwtSimpleCompassRose::draw (QPainter * painter, const QPoint & center, int radius, double north, QPalette::ColorGroup cg = \fCQPalette::Active\fP) const\fC [virtual]\fP"
159
\fIpainter\fP Painter
161
\fIcenter\fP Center point
163
\fIradius\fP Radius of the rose
172
Implements \fBQwtCompassRose\fP.
174
Definition at line 98 of file qwt_compass_rose.cpp.
176
References drawRose(), and QwtCompassRose::palette().
177
.SS "void QwtSimpleCompassRose::drawRose (QPainter * painter, const QPalette & palette, const QPoint & center, int radius, double north, double width, int numThorns, int numThornLevels, double shrinkFactor)\fC [static]\fP"
183
\fIpainter\fP Painter
185
\fIpalette\fP Palette
187
\fIcenter\fP Center of the rose
189
\fIradius\fP Radius of the rose
191
\fInorth\fP Position pointing to north
193
\fIwidth\fP Width of the rose
195
\fInumThorns\fP Number of thorns
197
\fInumThornLevels\fP Number of thorn levels
199
\fIshrinkFactor\fP Factor to shrink the thorns with each level
204
Definition at line 136 of file qwt_compass_rose.cpp.
206
Referenced by draw().
210
Generated automatically by Doxygen for Qwt User's Guide from the source code.