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

« back to all changes in this revision

Viewing changes to qwt-5.0.1/doc/man/man3/QwtDialNeedle.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "QwtDialNeedle" 3 "26 Feb 2007" "Version 5.0.1" "Qwt User's Guide" \" -*- nroff -*-
2
 
.ad l
3
 
.nh
4
 
.SH NAME
5
 
QwtDialNeedle \- 
6
 
.SH SYNOPSIS
7
 
.br
8
 
.PP
9
 
Inherited by \fBQwtCompassMagnetNeedle\fP, \fBQwtCompassWindArrow\fP, and \fBQwtDialSimpleNeedle\fP.
10
 
.PP
11
 
.SH "Detailed Description"
12
 
.PP 
13
 
Base class for needles that can be used in a \fBQwtDial\fP. 
14
 
 
15
 
\fBQwtDialNeedle\fP is a pointer that indicates a value by pointing to a specific direction.
16
 
.PP
17
 
Qwt is missing a set of good looking needles. Contributions are very welcome.
18
 
.PP
19
 
\fBSee also:\fP
20
 
.RS 4
21
 
\fBQwtDial\fP, \fBQwtCompass\fP 
22
 
.RE
23
 
.PP
24
 
 
25
 
.PP
26
 
Definition at line 31 of file qwt_dial_needle.h.
27
 
.SS "Public Member Functions"
28
 
 
29
 
.in +1c
30
 
.ti -1c
31
 
.RI "\fBQwtDialNeedle\fP ()"
32
 
.br
33
 
.ti -1c
34
 
.RI "virtual \fB~QwtDialNeedle\fP ()"
35
 
.br
36
 
.ti -1c
37
 
.RI "virtual void \fBdraw\fP (QPainter *painter, const QPoint &center, int length, double direction, QPalette::ColorGroup cg=QPalette::Active) const =0"
38
 
.br
39
 
.ti -1c
40
 
.RI "virtual void \fBsetPalette\fP (const QPalette &)"
41
 
.br
42
 
.ti -1c
43
 
.RI "const QPalette & \fBpalette\fP () const "
44
 
.br
45
 
.in -1c
46
 
.SS "Static Protected Member Functions"
47
 
 
48
 
.in +1c
49
 
.ti -1c
50
 
.RI "static void \fBdrawKnob\fP (QPainter *, const QPoint &pos, int width, const QBrush &, bool sunken)"
51
 
.br
52
 
.in -1c
53
 
.SH "Constructor & Destructor Documentation"
54
 
.PP 
55
 
.SS "QwtDialNeedle::QwtDialNeedle ()"
56
 
.PP
57
 
Constructor. 
58
 
.PP
59
 
Definition at line 25 of file qwt_dial_needle.cpp.
60
 
.SS "QwtDialNeedle::~QwtDialNeedle ()\fC [virtual]\fP"
61
 
.PP
62
 
Destructor. 
63
 
.PP
64
 
Definition at line 31 of file qwt_dial_needle.cpp.
65
 
.SH "Member Function Documentation"
66
 
.PP 
67
 
.SS "virtual void QwtDialNeedle::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup cg = \fCQPalette::Active\fP) const\fC [pure virtual]\fP"
68
 
.PP
69
 
Draw the needle
70
 
.PP
71
 
\fBParameters:\fP
72
 
.RS 4
73
 
\fIpainter\fP Painter 
74
 
.br
75
 
\fIcenter\fP Center of the dial, start position for the needle 
76
 
.br
77
 
\fIlength\fP Length of the needle 
78
 
.br
79
 
\fIdirection\fP Direction of the needle, in degrees counter clockwise 
80
 
.br
81
 
\fIcg\fP Color group, used for painting 
82
 
.RE
83
 
.PP
84
 
 
85
 
.PP
86
 
Implemented in \fBQwtDialSimpleNeedle\fP, \fBQwtCompassMagnetNeedle\fP, and \fBQwtCompassWindArrow\fP.
87
 
.PP
88
 
Referenced by QwtAnalogClock::drawHand().
89
 
.SS "void QwtDialNeedle::drawKnob (QPainter *, const QPoint & pos, int width, const QBrush &, bool sunken)\fC [static, protected]\fP"
90
 
.PP
91
 
Draw the knob. 
92
 
.PP
93
 
Definition at line 54 of file qwt_dial_needle.cpp.
94
 
.PP
95
 
Referenced by QwtDialSimpleNeedle::drawArrowNeedle(), QwtDialSimpleNeedle::drawRayNeedle(), and QwtCompassMagnetNeedle::drawThinNeedle().
96
 
.SS "const QPalette & QwtDialNeedle::palette () const"
97
 
.PP
98
 
\fBReturns:\fP
99
 
.RS 4
100
 
the palette of the needle. 
101
 
.RE
102
 
.PP
103
 
 
104
 
.PP
105
 
Definition at line 48 of file qwt_dial_needle.cpp.
106
 
.PP
107
 
Referenced by QwtCompassWindArrow::draw(), QwtCompassMagnetNeedle::draw(), QwtDialSimpleNeedle::draw(), QwtCompassMagnetNeedle::QwtCompassMagnetNeedle(), QwtCompassWindArrow::QwtCompassWindArrow(), and QwtDialSimpleNeedle::QwtDialSimpleNeedle().
108
 
.SS "void QwtDialNeedle::setPalette (const QPalette & palette)\fC [virtual]\fP"
109
 
.PP
110
 
Sets the palette for the needle.
111
 
.PP
112
 
\fBParameters:\fP
113
 
.RS 4
114
 
\fIpalette\fP New Palette 
115
 
.RE
116
 
.PP
117
 
 
118
 
.PP
119
 
Definition at line 40 of file qwt_dial_needle.cpp.
120
 
 
121
 
.SH "Author"
122
 
.PP 
123
 
Generated automatically by Doxygen for Qwt User's Guide from the source code.