QwtCompassWindArrow - An indicator for the wind direction.
Contents
Constructor & Destructor Documentation
QwtCompassWindArrow::QwtCompassWindArrow(Stylestyle,constQColor&light=Qt::white,constQColor&dark=Qt::gray)
Constructor
Parameters:style Arrow style
light Light color
dark Dark color
Detailed Description
An indicator for the wind direction.
QwtCompassWindArrow shows the direction where the wind comes from.
• QPalette::Light
Used for Style1, or the light half of Style2
• QPalette::Dark
Used for the dark half of Style2
Seealso:QwtDial, QwtCompassMember Enumeration Documentation
enumQwtCompassWindArrow::Style
Style of the arrow.
EnumeratorStyle1 A needle pointing to the center.
Style2 A needle pointing to the center.
Member Function Documentation
voidQwtCompassWindArrow::drawNeedle(QPainter*painter,doublelength,QPalette::ColorGroupcolorGroup)const[protected],[virtual]
Draw the needle
Parameters:painter Painter
length Length of the needle
colorGroup Color group, used for painting
Implements QwtDialNeedle.
Name
QwtCompassWindArrow - An indicator for the wind direction.
Synopsis
#include <qwt_dial_needle.h>
Inherits QwtDialNeedle.
PublicTypes
enum Style { Style1, Style2 }
Style of the arrow.
PublicMemberFunctionsQwtCompassWindArrow (Style, const QColor &light=Qt::white, const QColor &dark=Qt::gray)
ProtectedMemberFunctions
virtual void drawNeedle (QPainter *, double length, QPalette::ColorGroup) const
