Editing of nodes, messages, signals all works now.

Dynamically updates DBC tree if info changes.
This commit is contained in:
Collin Kidder
2020-07-22 20:57:22 -04:00
parent c89bc43795
commit 1a5010fca6
10 changed files with 105 additions and 29 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ DBCSignalEditor::DBCSignalEditor(QWidget *parent) :
{
if (currentSignal == nullptr) return;
currentSignal->comment = ui->txtComment->text().simplified().replace(' ', '_');
//updatedTreeInfo();
emit updatedTreeInfo(currentSignal);
});
connect(ui->txtUnitName, &QLineEdit::editingFinished,
@@ -153,7 +153,7 @@ DBCSignalEditor::DBCSignalEditor(QWidget *parent) :
QString tempNameStr = ui->txtName->text().simplified().replace(' ', '_');
if (tempNameStr.length() > 0) currentSignal->name = tempNameStr;
//need to update the tree too.
//updatedTreeInfo();
emit updatedTreeInfo(currentSignal);
});
connect(ui->txtMultiplexValue, &QLineEdit::editingFinished,