1
.TH "QwtDialNeedle" 3 "26 Feb 2007" "Version 5.0.1" "Qwt User's Guide" \" -*- nroff -*-
9
Inherited by \fBQwtCompassMagnetNeedle\fP, \fBQwtCompassWindArrow\fP, and \fBQwtDialSimpleNeedle\fP.
11
.SH "Detailed Description"
13
Base class for needles that can be used in a \fBQwtDial\fP.
15
\fBQwtDialNeedle\fP is a pointer that indicates a value by pointing to a specific direction.
17
Qwt is missing a set of good looking needles. Contributions are very welcome.
21
\fBQwtDial\fP, \fBQwtCompass\fP
26
Definition at line 31 of file qwt_dial_needle.h.
27
.SS "Public Member Functions"
31
.RI "\fBQwtDialNeedle\fP ()"
34
.RI "virtual \fB~QwtDialNeedle\fP ()"
37
.RI "virtual void \fBdraw\fP (QPainter *painter, const QPoint ¢er, int length, double direction, QPalette::ColorGroup cg=QPalette::Active) const =0"
40
.RI "virtual void \fBsetPalette\fP (const QPalette &)"
43
.RI "const QPalette & \fBpalette\fP () const "
46
.SS "Static Protected Member Functions"
50
.RI "static void \fBdrawKnob\fP (QPainter *, const QPoint &pos, int width, const QBrush &, bool sunken)"
53
.SH "Constructor & Destructor Documentation"
55
.SS "QwtDialNeedle::QwtDialNeedle ()"
59
Definition at line 25 of file qwt_dial_needle.cpp.
60
.SS "QwtDialNeedle::~QwtDialNeedle ()\fC [virtual]\fP"
64
Definition at line 31 of file qwt_dial_needle.cpp.
65
.SH "Member Function Documentation"
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"
75
\fIcenter\fP Center of the dial, start position for the needle
77
\fIlength\fP Length of the needle
79
\fIdirection\fP Direction of the needle, in degrees counter clockwise
81
\fIcg\fP Color group, used for painting
86
Implemented in \fBQwtDialSimpleNeedle\fP, \fBQwtCompassMagnetNeedle\fP, and \fBQwtCompassWindArrow\fP.
88
Referenced by QwtAnalogClock::drawHand().
89
.SS "void QwtDialNeedle::drawKnob (QPainter *, const QPoint & pos, int width, const QBrush &, bool sunken)\fC [static, protected]\fP"
93
Definition at line 54 of file qwt_dial_needle.cpp.
95
Referenced by QwtDialSimpleNeedle::drawArrowNeedle(), QwtDialSimpleNeedle::drawRayNeedle(), and QwtCompassMagnetNeedle::drawThinNeedle().
96
.SS "const QPalette & QwtDialNeedle::palette () const"
100
the palette of the needle.
105
Definition at line 48 of file qwt_dial_needle.cpp.
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"
110
Sets the palette for the needle.
114
\fIpalette\fP New Palette
119
Definition at line 40 of file qwt_dial_needle.cpp.
123
Generated automatically by Doxygen for Qwt User's Guide from the source code.