56 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth )
57 Q_PROPERTY(
Shadow frameShadow READ frameShadow WRITE setFrameShadow )
58 Q_PROPERTY(
Mode mode READ mode WRITE setMode )
59 Q_PROPERTY(
double origin READ origin WRITE setOrigin )
60 Q_PROPERTY(
double minScaleArc READ minScaleArc WRITE setMinScaleArc )
61 Q_PROPERTY(
double maxScaleArc READ maxScaleArc WRITE setMaxScaleArc )
76 Plain = QFrame::Plain,
79 Raised = QFrame::Raised,
82 Sunken = QFrame::Sunken
95 explicit QwtDial( QWidget* parent = NULL );
98 void setFrameShadow( Shadow );
99 Shadow frameShadow()
const;
101 void setLineWidth(
int );
102 int lineWidth()
const;
104 void setMode( Mode );
107 void setScaleArc(
double minArc,
double maxArc );
109 void setMinScaleArc(
double );
110 double minScaleArc()
const;
112 void setMaxScaleArc(
double );
113 double maxScaleArc()
const;
115 virtual void setOrigin(
double );
116 double origin()
const;
122 QRect boundingRect()
const;
123 QRect innerRect()
const;
125 virtual QRect scaleInnerRect()
const;
140 virtual
void drawFrame( QPainter* );
141 virtual
void drawContents( QPainter* ) const;
142 virtual
void drawFocusIndicator( QPainter* ) const;
144 void invalidateCache();
146 virtual
void drawScale( QPainter*,
147 const QPointF& center,
double radius ) const;
149 virtual
void drawScaleContents( QPainter* painter,
150 const QPointF& center,
double radius ) const;
152 virtual
void drawNeedle( QPainter*, const QPointF&,
153 double radius,
double direction, QPalette::ColorGroup ) const;
155 virtual
double scrolledTo( const QPoint& ) const
QWT_OVERRIDE;
156 virtual
bool isScrollPosition( const QPoint& ) const
QWT_OVERRIDE;
162 void setAngleRange(
double angle,
double span );
163 void drawNeedle( QPainter* ) const;