Inheritance diagram for QwtDialNeedle:
QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction.
Qwt is missing a set of good looking needles. Contributions are very welcome.
Public Member Functions | |
QwtDialNeedle () | |
virtual | ~QwtDialNeedle () |
virtual void | draw (QPainter *painter, const QPoint ¢er, int length, double direction, QPalette::ColorGroup cg=QPalette::Active) const =0 |
virtual void | setPalette (const QPalette &) |
const QPalette & | palette () const |
Protected Member Functions | |
const QColorGroup & | colorGroup (QPalette::ColorGroup) const |
Static Protected Member Functions | |
void | drawKnob (QPainter *, const QPoint &pos, int width, const QBrush &, bool sunken) |
|
Constructor.
|
|
Destructor.
|
|
|
|
Draw the needle
Implemented in QwtDialSimpleNeedle, QwtCompassMagnetNeedle, and QwtCompassWindArrow. |
|
Return the palette of the needle.
|
|
Sets the palette for the needle.
|