Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
227 | KeyOz | 1 | #include <qstring.h> |
2 | #include <qwt_dial.h> |
||
3 | |||
4 | class cSpeedMeter: public QwtDial |
||
5 | { |
||
6 | public: |
||
7 | cSpeedMeter(QWidget *parent = NULL); |
||
8 | |||
9 | void setLabel(const QString &); |
||
10 | QString label() const; |
||
11 | |||
12 | protected: |
||
13 | virtual void drawScaleContents(QPainter *painter, const QPoint ¢er, int radius) const; |
||
14 | |||
15 | private: |
||
16 | QString d_label; |
||
17 | }; |