QwtCompassWindArrow.3
2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.TH "QwtCompassWindArrow" 3 "Sat Jan 26 2013" "Version 6.1-rc3" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtCompassWindArrow \-
.PP
An indicator for the wind direction\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_dial_needle\&.h>\fP
.PP
Inherits \fBQwtDialNeedle\fP\&.
.SS "Public Types"
.in +1c
.ti -1c
.RI "enum \fBStyle\fP { \fBStyle1\fP, \fBStyle2\fP }"
.br
.RI "\fIStyle of the arrow\&. \fP"
.in -1c
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtCompassWindArrow\fP (\fBStyle\fP, const QColor &light=Qt::white, const QColor &dark=Qt::gray)"
.br
.in -1c
.SS "Protected Member Functions"
.in +1c
.ti -1c
.RI "virtual void \fBdrawNeedle\fP (QPainter *, double length, QPalette::ColorGroup) const "
.br
.in -1c
.SH "Detailed Description"
.PP
An indicator for the wind direction\&.
\fBQwtCompassWindArrow\fP shows the direction where the wind comes from\&.
.PP
.IP "\(bu" 2
QPalette::Light
.br
Used for Style1, or the light half of Style2
.IP "\(bu" 2
QPalette::Dark
.br
Used for the dark half of Style2
.PP
.PP
\fBSee Also:\fP
.RS 4
\fBQwtDial\fP, \fBQwtCompass\fP
.RE
.PP
.SH "Member Enumeration Documentation"
.PP
.SS "enum \fBQwtCompassWindArrow::Style\fP"
.PP
Style of the arrow\&.
.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fIStyle1 \fP\fP
A needle pointing to the center\&.
.TP
\fB\fIStyle2 \fP\fP
A needle pointing to the center\&.
.SH "Constructor & Destructor Documentation"
.PP
.SS "QwtCompassWindArrow::QwtCompassWindArrow (\fBStyle\fPstyle, const QColor &light = \fCQt::white\fP, const QColor &dark = \fCQt::gray\fP)"
Constructor
.PP
\fBParameters:\fP
.RS 4
\fIstyle\fP Arrow style
.br
\fIlight\fP Light color
.br
\fIdark\fP Dark color
.RE
.PP
.SH "Member Function Documentation"
.PP
.SS "void QwtCompassWindArrow::drawNeedle (QPainter *painter, doublelength, QPalette::ColorGroupcolorGroup) const\fC [protected]\fP, \fC [virtual]\fP"
Draw the needle
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter
.br
\fIlength\fP Length of the needle
.br
\fIcolorGroup\fP Color group, used for painting
.RE
.PP
.PP
Implements \fBQwtDialNeedle\fP\&.
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.