source: pacpusframework/branches/0.1.x/src/dbcDecriptor/mainwindow.h@ 328

Last change on this file since 328 was 328, checked in by phudelai, 10 years ago

dbcDecriptor added to the framework

File size: 1.6 KB
Line 
1//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
2// DBC Decriptor //
3// //
4// Made by Pierre Hudelaine //
5// //
6// Contact: pierre.hudelaine@hds.utc.fr //
7// //
8// Translate a DBC file to Pacpus code //
9//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
10
11#ifndef MAINWINDOW_H
12#define MAINWINDOW_H
13
14#include <QMainWindow>
15#include <QListWidgetItem>
16
17#include "structure.h"
18
19namespace Ui {
20class MainWindow;
21}
22
23class MainWindow : public QMainWindow
24{
25 Q_OBJECT
26
27public:
28 explicit MainWindow(QWidget *parent = 0);
29 ~MainWindow();
30
31private Q_SLOTS:
32 void openDBCFile();
33 void printFrame(int i, int j);
34 void printAllFrames();
35 void getSignalParameters(QString actualLine, StructFrame * actualCanFrame);
36 void clearDBC();
37 void findComment(int k);
38 void findValueDescription(int k);
39 void on_listWidget_signals_currentRowChanged(int currentRow);
40 void on_pushButton_generate_clicked();
41 void on_lineEdit_export_name_textChanged(const QString &arg1);
42
43 void on_pushButton_output_path_clicked();
44
45private:
46 Ui::MainWindow *ui;
47 StructDBCFile dbcFiles_;
48};
49
50#endif // MAINWINDOW_H
Note: See TracBrowser for help on using the repository browser.