forked from donaloconnor/automon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cardetailswidget.h
53 lines (41 loc) · 2.21 KB
/
cardetailswidget.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef CARDETAILSWIDGET_H
#define CARDETAILSWIDGET_H
/*
==================================================================================================
| cardetailswidget.h |
| Part of the Automon application. |
| |
| Final Year Project - "An Embedded Automotive Monitoring Device" |
| |
| By Donal O' Connor for completion of B.Sc (Hons) Software Development and Computer Networking |
| Email: [email protected] |
| Website/Blog: http://automon.killarneyonline.eu |
| |
| Cork Institute of Technology, Cork, Ireland - http://www.cit.ie/ |
| |
| Copyright © 2009 Donal O'Connor <[email protected]> |
==================================================================================================
The CarDetailsWidget class is a widget used in the AutomonApp stacked widget. It is a view that is shown
when the user clicks the Car Details menu button. It displays a very simply summary of details such as
the car's VIN, OBD Standard and protocol, car battery voltage etc.
*/
#include <QWidget>
#include "automon.h"
class QLabel;
class QVBoxLayout;
class QHBoxLayout;
using namespace AutomonKernel;
class CarDetailsWidget : public QWidget
{
Q_OBJECT
public:
CarDetailsWidget(Automon * kernel, QWidget * parent = 0);
signals:
void changeStatus(const QString & status);
private:
QLabel * m_header;
QHBoxLayout * m_mainLayout;
QVBoxLayout * m_verticalLayout;
Automon * m_kernel;
};
#endif // CARDETAILSWIDGET_H