Main Page
Namespaces
Classes
Files
File List
File Members
igvc
src
dashboard
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
Definition:
speedometer.h:6
Speedometer::Speedometer
Speedometer(QWidget *parent=0)
Definition:
speedometer.cpp:10
Speedometer::paintEvent
void paintEvent(QPaintEvent *event) override
Definition:
speedometer.cpp:23
Speedometer::value
float value
Definition:
speedometer.h:19
Speedometer::setValue
void setValue(float value)
Definition:
speedometer.cpp:17
igvc
Author(s): Matthew Barulic
, Al Chaussee
autogenerated on Sun May 10 2015 16:18:45