Inheritance diagram for QwtDialSimpleNeedle:
The following colors are used:
Public Types | |
enum | Style { Arrow, Ray } |
Public Member Functions | |
QwtDialSimpleNeedle (Style, bool hasKnob=TRUE, const QColor &mid=Qt::gray, const QColor &base=Qt::darkGray) | |
virtual void | draw (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const |
void | setWidth (int width) |
int | width () const |
Static Public Member Functions | |
void | drawArrowNeedle (QPainter *, const QColorGroup &, const QPoint &, int length, int width, double direction, bool hasKnob) |
void | drawRayNeedle (QPainter *, const QColorGroup &, const QPoint &, int length, int width, double direction, bool hasKnob) |
|
Constructor.
|
|
Draw the needle
Implements QwtDialNeedle. |