mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
Upgrade to QWT 6.0.1, but still uses a locally patched copy since support for 8 axes has not been included, despite it being a relatively simple patch. Fixes #634. Fixes #567.
19 lines
346 B
C++
19 lines
346 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;
|
|
};
|