QwtCompassWindArrow shows the direction where the wind comes from.
Definition at line 170 of file qwt_dial_needle.h.
Public Types | |
enum | Style { Style1, Style2 } |
Public Member Functions | |
QwtCompassWindArrow (Style, const QColor &light=Qt::white, const QColor &dark=Qt::gray) | |
virtual void | draw (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const |
Static Public Member Functions | |
static void | drawStyle1Needle (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction) |
static void | drawStyle2Needle (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction) |
|
Style of the arrow.
Definition at line 174 of file qwt_dial_needle.h. |
|
Constructor
Definition at line 467 of file qwt_dial_needle.cpp. References QwtDialNeedle::palette(). |
|
Draw the needle
Implements QwtDialNeedle. Definition at line 492 of file qwt_dial_needle.cpp. References drawStyle1Needle(), drawStyle2Needle(), and QwtDialNeedle::palette(). |
|
Draw a compass needle
Definition at line 517 of file qwt_dial_needle.cpp. Referenced by draw(). |
|
Draw a compass needle
Definition at line 554 of file qwt_dial_needle.cpp. Referenced by draw(). |