Addition of two new forms for DBC editing. Not done yet. The main editor window works for viewing though. Still toying with ideas for the signal editor. Very much a work in progress.

This commit is contained in:
Collin Kidder
2015-06-01 21:33:32 -04:00
parent f272a26dcd
commit c2984101ee
10 changed files with 400 additions and 7 deletions
+37
View File
@@ -0,0 +1,37 @@
#ifndef DBCMAINEDITOR_H
#define DBCMAINEDITOR_H
#include <QDialog>
#include <QDebug>
#include "dbchandler.h"
#include "dbcsignaleditor.h"
namespace Ui {
class DBCMainEditor;
}
class DBCMainEditor : public QDialog
{
Q_OBJECT
public:
explicit DBCMainEditor(DBCHandler *handler, QWidget *parent = 0);
~DBCMainEditor();
private slots:
void onCellChangedNode(int,int);
void onCellClickedNode(int, int);
void onCellClickedMessage(int, int);
void onCellChangedMessage(int,int);
private:
Ui::DBCMainEditor *ui;
DBCHandler *dbcHandler;
DBCSignalEditor *sigEditor;
int currRow;
void refreshNodesTable();
void refreshMessagesTable(const DBC_NODE *node);
};
#endif // DBCMAINEDITOR_H