10 #ifndef QWT_DIAL_NEEDLE_H
11 #define QWT_DIAL_NEEDLE_H
33 virtual void setPalette(
const QPalette& );
34 const QPalette& palette()
const;
36 virtual void draw( QPainter*,
const QPointF& center,
37 double length,
double direction,
38 QPalette::ColorGroup = QPalette::Active )
const;
56 virtual void drawNeedle( QPainter* painter,
57 double length, QPalette::ColorGroup colorGroup )
const = 0;
59 virtual void drawKnob( QPainter*,
double width,
60 const QBrush&,
bool sunken )
const;
95 const QColor& mid = Qt::gray,
const QColor& base = Qt::darkGray );
97 void setWidth(
double width );
101 virtual void drawNeedle( QPainter*,
double length,
141 const QColor& light = Qt::white,
const QColor& dark = Qt::red );
145 double length, QPalette::ColorGroup )
const QWT_OVERRIDE;
178 const QColor& dark = Qt::gray );
182 double length, QPalette::ColorGroup )
const QWT_OVERRIDE;