1
.TH "QwtCompassWindArrow" 3 "24 May 2008" "Version 5.1.1" "Qwt User's Guide" \" -*- nroff -*-
9
Inherits \fBQwtDialNeedle\fP.
11
.SH "Detailed Description"
13
An indicator for the wind direction.
15
\fBQwtCompassWindArrow\fP shows the direction where the wind comes from.
20
Used for Style1, or the light half of Style2
24
Used for the dark half of Style2
29
\fBQwtDial\fP, \fBQwtCompass\fP
34
Definition at line 170 of file qwt_dial_needle.h.
39
.RI "enum \fBStyle\fP { \fBArrow\fP, \fBRay\fP, \fBTriangleStyle\fP, \fBThinStyle\fP, \fBStyle1\fP, \fBStyle2\fP, \fBNoSymbol\fP = -1, \fBEllipse\fP, \fBRect\fP, \fBDiamond\fP, \fBTriangle\fP, \fBDTriangle\fP, \fBUTriangle\fP, \fBLTriangle\fP, \fBRTriangle\fP, \fBCross\fP, \fBXCross\fP, \fBHLine\fP, \fBVLine\fP, \fBStar1\fP, \fBStar2\fP, \fBHexagon\fP, \fBStyleCnt\fP }"
42
.SS "Public Member Functions"
46
.RI "\fBQwtCompassWindArrow\fP (\fBStyle\fP, const QColor &light=Qt::white, const QColor &dark=Qt::gray)"
49
.RI "virtual void \fBdraw\fP (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const"
52
.SS "Static Public Member Functions"
56
.RI "static void \fBdrawStyle1Needle\fP (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction)"
59
.RI "static void \fBdrawStyle2Needle\fP (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction)"
62
.SH "Member Enumeration Documentation"
64
.SS "enum \fBQwtCompassWindArrow::Style\fP"
68
Definition at line 174 of file qwt_dial_needle.h.
69
.SH "Constructor & Destructor Documentation"
71
.SS "QwtCompassWindArrow::QwtCompassWindArrow (\fBStyle\fP style, const QColor & light = \fCQt::white\fP, const QColor & dark = \fCQt::gray\fP)"
77
\fIstyle\fP Arrow style
79
\fIlight\fP Light color
86
Definition at line 467 of file qwt_dial_needle.cpp.
88
References QwtDialNeedle::palette(), and QwtDialNeedle::setPalette().
89
.SH "Member Function Documentation"
91
.SS "void QwtCompassWindArrow::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup colorGroup = \fCQPalette::Active\fP) const\fC [virtual]\fP"
99
\fIcenter\fP Center of the dial, start position for the needle
101
\fIlength\fP Length of the needle
103
\fIdirection\fP Direction of the needle, in degrees counter clockwise
105
\fIcolorGroup\fP Color group, used for painting
110
Implements \fBQwtDialNeedle\fP.
112
Definition at line 492 of file qwt_dial_needle.cpp.
114
References drawStyle1Needle(), drawStyle2Needle(), and QwtDialNeedle::palette().
115
.SS "void QwtCompassWindArrow::drawStyle1Needle (QPainter * painter, const QPalette & palette, QPalette::ColorGroup colorGroup, const QPoint & center, int length, double direction)\fC [static]\fP"
117
Draw a compass needle
121
\fIpainter\fP Painter
123
\fIpalette\fP Palette
125
\fIcolorGroup\fP colorGroup
127
\fIcenter\fP Center of the dial, start position for the needle
129
\fIlength\fP Length of the needle
131
\fIdirection\fP Direction of the needle, in degrees counter clockwise
136
Definition at line 517 of file qwt_dial_needle.cpp.
138
Referenced by draw().
139
.SS "void QwtCompassWindArrow::drawStyle2Needle (QPainter * painter, const QPalette & palette, QPalette::ColorGroup colorGroup, const QPoint & center, int length, double direction)\fC [static]\fP"
141
Draw a compass needle
145
\fIpainter\fP Painter
147
\fIpalette\fP Palette
149
\fIcolorGroup\fP colorGroup
151
\fIcenter\fP Center of the dial, start position for the needle
153
\fIlength\fP Length of the needle
155
\fIdirection\fP Direction of the needle, in degrees counter clockwise
160
Definition at line 554 of file qwt_dial_needle.cpp.
162
Referenced by draw().
166
Generated automatically by Doxygen for Qwt User's Guide from the source code.