10 #ifndef QWT_DIAL_NEEDLE_H
11 #define QWT_DIAL_NEEDLE_H 1
13 #include "qwt_global.h"
37 virtual void setPalette(
const QPalette & );
38 const QPalette &palette()
const;
40 virtual void draw( QPainter *painter,
const QPointF ¢er,
41 double length,
double direction,
42 QPalette::ColorGroup = QPalette::Active )
const;
60 virtual void drawNeedle( QPainter *painter,
61 double length, QPalette::ColorGroup colorGroup )
const = 0;
63 virtual void drawKnob( QPainter *,
double width,
64 const QBrush &,
bool sunken )
const;
97 const QColor &mid = Qt::gray,
const QColor &base = Qt::darkGray );
99 void setWidth(
double width );
100 double width()
const;
103 virtual void drawNeedle( QPainter *,
double length,
104 QPalette::ColorGroup )
const;
143 const QColor &light = Qt::white,
const QColor &dark = Qt::red );
147 double length, QPalette::ColorGroup )
const;
180 const QColor &dark = Qt::gray );
184 double length, QPalette::ColorGroup )
const;