19 lines
352 B
C++
19 lines
352 B
C++
#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 ¢er, double radius ) const;
|
|
|
|
private:
|
|
QString d_label;
|
|
};
|