1
.TH "QwtSimpleCompassRose" 3 "11 Jun 2007" "Version 5.0.2" "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().
75
.SH "Member Function Documentation"
77
.SS "void QwtSimpleCompassRose::draw (QPainter * painter, const QPoint & center, int radius, double north, QPalette::ColorGroup cg = \fCQPalette::Active\fP) const\fC [virtual]\fP"
85
\fIcenter\fP Center point
87
\fIradius\fP Radius of the rose
96
Implements \fBQwtCompassRose\fP.
98
Definition at line 98 of file qwt_compass_rose.cpp.
100
References drawRose(), and QwtCompassRose::palette().
101
.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"
107
\fIpainter\fP Painter
109
\fIpalette\fP Palette
111
\fIcenter\fP Center of the rose
113
\fIradius\fP Radius of the rose
115
\fInorth\fP Position pointing to north
117
\fIwidth\fP Width of the rose
119
\fInumThorns\fP Number of thorns
121
\fInumThornLevels\fP Number of thorn levels
123
\fIshrinkFactor\fP Factor to shrink the thorns with each level
128
Definition at line 136 of file qwt_compass_rose.cpp.
130
Referenced by draw().
131
.SS "int QwtSimpleCompassRose::numThornLevels () const"
135
Number of thorn levels
140
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
145
Definition at line 278 of file qwt_compass_rose.cpp.
146
.SS "int QwtSimpleCompassRose::numThorns () const"
155
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
160
Definition at line 258 of file qwt_compass_rose.cpp.
161
.SS "void QwtSimpleCompassRose::setNumThornLevels (int numThornLevels)"
163
Set the of thorns levels
167
\fInumThornLevels\fP Number of thorns levels
172
\fBsetNumThorns()\fP, \fBnumThornLevels()\fP
177
Definition at line 269 of file qwt_compass_rose.cpp.
178
.SS "void QwtSimpleCompassRose::setNumThorns (int numThorns)"
180
Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4
184
\fInumThorns\fP Number of thorns
189
\fBnumThorns()\fP, \fBsetNumThornLevels()\fP
194
Definition at line 243 of file qwt_compass_rose.cpp.
195
.SS "void QwtSimpleCompassRose::setWidth (double width)"
197
Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4.
206
Definition at line 226 of file qwt_compass_rose.cpp.
210
Generated automatically by Doxygen for Qwt User's Guide from the source code.