qt_demoe/third/qwtdemo/examples/dials/speedo_meter.h

19 lines
352 B
C
Raw Normal View History

2019-11-07 02:55:57 +00:00
#include <qstring.h>
#include <qwt_dial.h>
class SpeedoMeter: public QwtDial
{
public:
SpeedoMeter( QWidget *parent = NULL );
void setLabel( const QString & );
QString label() const;
protected:
virtual void drawScaleContents( QPainter *painter,
const QPointF &center, double radius ) const;
private:
QString d_label;
};