-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcalibration_treewidget.h
71 lines (61 loc) · 1.55 KB
/
calibration_treewidget.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
#ifndef CALIBRATION_TREEWIDGET_H
#define CALIBRATION_TREEWIDGET_H
#include <QFile>
#include <QFileInfo>
#include <QTreeWidget>
#include <QLabel>
#include <QPushButton>
#include <file_actions.h>
class CalibrationTreeWidget : public QWidget
{
Q_OBJECT
public:
CalibrationTreeWidget();
QTreeWidget *buildCalibrationFilesTree(int ecuCalDefIndex, QTreeWidget *filesTreeWidget, FileActions::EcuCalDefStructure *ecuCalDef);
QTreeWidget *buildCalibrationDataTree(QTreeWidget *dataTreeWidget, FileActions::EcuCalDefStructure *ecuCalDef);
void *calibrationDataTreeWidgetItemExpanded(FileActions::EcuCalDefStructure *ecuCalDef, QString categoryName);
void *calibrationDataTreeWidgetItemCollapsed(FileActions::EcuCalDefStructure *ecuCalDef, QString categoryName);
/*
QStringList RomInfoStrings = {
"XmlId",
"InternalIdAddress",
"Make",
"Model",
"Submodel",
"Market",
"Transmission",
"Year",
"ECU ID",
"Internal ID",
"Memory Model",
"Checksum Module",
"Rom Base",
"Flash Method",
"File Size",
"Def File",
};
enum RomInfoEnum {
XmlId,
InternalIdAddress,
Make,
Model,
SubModel,
Market,
Transmission,
Year,
EcuId,
InternalIdString,
MemModel,
ChecksumModule,
RomBase,
FlashMethod,
FileSize,
DefFile,
};
*/
signals:
void closeRom();
private:
private slots:
};
#endif // CALIBRATION_TREEWIDGET_H