~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.1/doc/man/man3/QwtCompassWindArrow.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "QwtCompassWindArrow" 3 "24 May 2008" "Version 5.1.1" "Qwt User's Guide" \" -*- nroff -*-
 
2
.ad l
 
3
.nh
 
4
.SH NAME
 
5
QwtCompassWindArrow \- 
 
6
.SH SYNOPSIS
 
7
.br
 
8
.PP
 
9
Inherits \fBQwtDialNeedle\fP.
 
10
.PP
 
11
.SH "Detailed Description"
 
12
.PP 
 
13
An indicator for the wind direction. 
 
14
 
 
15
\fBQwtCompassWindArrow\fP shows the direction where the wind comes from.
 
16
.PP
 
17
.IP "\(bu" 2
 
18
QColorGroup::Light
 
19
.br
 
20
 Used for Style1, or the light half of Style2
 
21
.IP "\(bu" 2
 
22
QColorGroup::Dark
 
23
.br
 
24
 Used for the dark half of Style2
 
25
.PP
 
26
.PP
 
27
\fBSee also:\fP
 
28
.RS 4
 
29
\fBQwtDial\fP, \fBQwtCompass\fP 
 
30
.RE
 
31
.PP
 
32
 
 
33
.PP
 
34
Definition at line 170 of file qwt_dial_needle.h.
 
35
.SS "Public Types"
 
36
 
 
37
.in +1c
 
38
.ti -1c
 
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 }"
 
40
.br
 
41
.in -1c
 
42
.SS "Public Member Functions"
 
43
 
 
44
.in +1c
 
45
.ti -1c
 
46
.RI "\fBQwtCompassWindArrow\fP (\fBStyle\fP, const QColor &light=Qt::white, const QColor &dark=Qt::gray)"
 
47
.br
 
48
.ti -1c
 
49
.RI "virtual void \fBdraw\fP (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const"
 
50
.br
 
51
.in -1c
 
52
.SS "Static Public Member Functions"
 
53
 
 
54
.in +1c
 
55
.ti -1c
 
56
.RI "static void \fBdrawStyle1Needle\fP (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction)"
 
57
.br
 
58
.ti -1c
 
59
.RI "static void \fBdrawStyle2Needle\fP (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction)"
 
60
.br
 
61
.in -1c
 
62
.SH "Member Enumeration Documentation"
 
63
.PP 
 
64
.SS "enum \fBQwtCompassWindArrow::Style\fP"
 
65
.PP
 
66
Style of the arrow. 
 
67
.PP
 
68
Definition at line 174 of file qwt_dial_needle.h.
 
69
.SH "Constructor & Destructor Documentation"
 
70
.PP 
 
71
.SS "QwtCompassWindArrow::QwtCompassWindArrow (\fBStyle\fP style, const QColor & light = \fCQt::white\fP, const QColor & dark = \fCQt::gray\fP)"
 
72
.PP
 
73
Constructor
 
74
.PP
 
75
\fBParameters:\fP
 
76
.RS 4
 
77
\fIstyle\fP Arrow style 
 
78
.br
 
79
\fIlight\fP Light color 
 
80
.br
 
81
\fIdark\fP Dark color 
 
82
.RE
 
83
.PP
 
84
 
 
85
.PP
 
86
Definition at line 467 of file qwt_dial_needle.cpp.
 
87
.PP
 
88
References QwtDialNeedle::palette(), and QwtDialNeedle::setPalette().
 
89
.SH "Member Function Documentation"
 
90
.PP 
 
91
.SS "void QwtCompassWindArrow::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup colorGroup = \fCQPalette::Active\fP) const\fC [virtual]\fP"
 
92
.PP
 
93
Draw the needle
 
94
.PP
 
95
\fBParameters:\fP
 
96
.RS 4
 
97
\fIpainter\fP Painter 
 
98
.br
 
99
\fIcenter\fP Center of the dial, start position for the needle 
 
100
.br
 
101
\fIlength\fP Length of the needle 
 
102
.br
 
103
\fIdirection\fP Direction of the needle, in degrees counter clockwise 
 
104
.br
 
105
\fIcolorGroup\fP Color group, used for painting 
 
106
.RE
 
107
.PP
 
108
 
 
109
.PP
 
110
Implements \fBQwtDialNeedle\fP.
 
111
.PP
 
112
Definition at line 492 of file qwt_dial_needle.cpp.
 
113
.PP
 
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"
 
116
.PP
 
117
Draw a compass needle
 
118
.PP
 
119
\fBParameters:\fP
 
120
.RS 4
 
121
\fIpainter\fP Painter 
 
122
.br
 
123
\fIpalette\fP Palette 
 
124
.br
 
125
\fIcolorGroup\fP colorGroup 
 
126
.br
 
127
\fIcenter\fP Center of the dial, start position for the needle 
 
128
.br
 
129
\fIlength\fP Length of the needle 
 
130
.br
 
131
\fIdirection\fP Direction of the needle, in degrees counter clockwise 
 
132
.RE
 
133
.PP
 
134
 
 
135
.PP
 
136
Definition at line 517 of file qwt_dial_needle.cpp.
 
137
.PP
 
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"
 
140
.PP
 
141
Draw a compass needle
 
142
.PP
 
143
\fBParameters:\fP
 
144
.RS 4
 
145
\fIpainter\fP Painter 
 
146
.br
 
147
\fIpalette\fP Palette 
 
148
.br
 
149
\fIcolorGroup\fP colorGroup 
 
150
.br
 
151
\fIcenter\fP Center of the dial, start position for the needle 
 
152
.br
 
153
\fIlength\fP Length of the needle 
 
154
.br
 
155
\fIdirection\fP Direction of the needle, in degrees counter clockwise 
 
156
.RE
 
157
.PP
 
158
 
 
159
.PP
 
160
Definition at line 554 of file qwt_dial_needle.cpp.
 
161
.PP
 
162
Referenced by draw().
 
163
 
 
164
.SH "Author"
 
165
.PP 
 
166
Generated automatically by Doxygen for Qwt User's Guide from the source code.