-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvehicle_select.h
72 lines (59 loc) · 1.73 KB
/
vehicle_select.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#ifndef CARMODELSELECT_H
#define CARMODELSELECT_H
//#include <QDesktopWidget>
#include <QWidget>
#include <QStringListModel>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QCheckBox>
#include <QScreen>
#include "file_actions.h"
QT_BEGIN_NAMESPACE
namespace Ui
{
class VehicleSelectWindow;
}
QT_END_NAMESPACE
class VehicleSelect : public QDialog
{
Q_OBJECT
public:
explicit VehicleSelect(FileActions::ConfigValuesStructure *configValues, QWidget *parent = nullptr);
~VehicleSelect();
private:
QFont font;
int font_size = 10;
bool font_bold = false;
QString font_family = "Franklin Gothic";
int header_font_size = 10;
bool header_font_bold = false;
QString header_font_family = "Franklin Gothic";
QString flash_protocol_id;
QString flash_protocol_mcu;
QString flash_protocol_make;
QString flash_protocol_model;
QString flash_protocol_version;
QString flash_protocol_type;
QString flash_protocol_kw;
QString flash_protocol_hp;
QString flash_protocol_fuel;
QString flash_protocol_year;
QString flash_protocol_ecu;
QString flash_protocol_mode;
QString flash_protocol_checksum;
QString flash_protocol_read;
QString flash_protocol_write;
QString flash_protocol_flash_protocol;
QString flash_protocol_log_protocol;
QString flash_protocol_comms_protocol;
QString flash_protocol_description;
QString flash_protocol_family;
FileActions::ConfigValuesStructure *configValues;
Ui::VehicleSelectWindow *ui;
private slots:
void car_model_selected();
void car_make_treewidget_item_selected();
void car_model_treewidget_item_selected();
void car_version_treewidget_item_selected();
};
#endif // CARMODELSELECT_H