speedometer.h
Go to the documentation of this file.
1 #ifndef SPEEDOMETER_H
2 #define SPEEDOMETER_H
3 
4 #include <QWidget>
5 
6 class Speedometer : public QWidget
7 {
8  Q_OBJECT
9 public:
10  explicit Speedometer(QWidget *parent = 0);
11 
12 public slots:
13  void setValue(float value);
14 
15 protected:
16  void paintEvent(QPaintEvent *event) override;
17 
18 private:
19  float value;
20 };
21 
22 #endif // SPEEDOMETER_H
Speedometer(QWidget *parent=0)
Definition: speedometer.cpp:10
void paintEvent(QPaintEvent *event) override
Definition: speedometer.cpp:23
float value
Definition: speedometer.h:19
void setValue(float value)
Definition: speedometer.cpp:17


igvc
Author(s): Matthew Barulic , Al Chaussee
autogenerated on Sun May 10 2015 16:18:45