duplicate works! multiplexed signals are not copied at this time

need to learn more about them first

need to do clean up and corner case handling
This commit is contained in:
Andy Huska
2022-09-22 18:04:27 -05:00
parent 27b58552df
commit 47d63c6296
8 changed files with 409 additions and 6 deletions
+4
View File
@@ -11,6 +11,7 @@
#include "dbcmessageeditor.h"
#include "dbcnodeeditor.h"
#include "dbcnoderebaseeditor.h"
#include "dbcnodeduplicateeditor.h"
#include "utility.h"
namespace Ui {
@@ -43,7 +44,9 @@ private slots:
void handleSearch();
void handleSearchForward();
void handleSearchBackward();
void newNode(QString nodeName);
void newNode();
void copyMessageToNode(DBC_NODE *node, DBC_MESSAGE *source, uint newMsgId);
void newMessage();
void newSignal();
void onRebaseMessages();
@@ -57,6 +60,7 @@ private:
DBCMessageEditor *msgEditor;
DBCNodeEditor *nodeEditor;
DBCNodeRebaseEditor *nodeRebaseEditor;
DBCNodeDuplicateEditor *nodeDuplicateEditor;
DBCFile *dbcFile;
int fileIdx;
QIcon nodeIcon;