Last change
on this file since 330 was 329, checked in by phudelai, 10 years ago |
dbcDecriptor added to the framework
|
File size:
1.6 KB
|
Rev | Line | |
---|
[329] | 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 |
|
---|
| 19 | namespace Ui {
|
---|
| 20 | class MainWindow;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | class MainWindow : public QMainWindow
|
---|
| 24 | {
|
---|
| 25 | Q_OBJECT
|
---|
| 26 |
|
---|
| 27 | public:
|
---|
| 28 | explicit MainWindow(QWidget *parent = 0);
|
---|
| 29 | ~MainWindow();
|
---|
| 30 |
|
---|
| 31 | private 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 |
|
---|
| 45 | private:
|
---|
| 46 | Ui::MainWindow *ui;
|
---|
| 47 | StructDBCFile dbcFiles_;
|
---|
| 48 | };
|
---|
| 49 |
|
---|
| 50 | #endif // MAINWINDOW_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.