彻底改版2.0
This commit is contained in:
18
third/qwtdemo/examples/dials/speedo_meter.h
Normal file
18
third/qwtdemo/examples/dials/speedo_meter.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user