cabana: add support for load&save extra dbc info (#27203)

* support extra info

* support undo/redo

* fix undo/redo

* cleanup

* fix regexp

* refactor dbcmanager

* replace text in headerview

* fix binary::refresh

* cleanup

* use QRegularExpression

* add desc validation

* edit val description in table

* cleanup
old-commit-hash: ac0dbf74bc835faa46beab4bbb948c95597e4e67
This commit is contained in:
Dean Lee
2023-02-18 11:31:54 +08:00
committed by GitHub
parent 5d594850cf
commit 972e91463c
24 changed files with 376 additions and 166 deletions
+2 -1
View File
@@ -9,6 +9,8 @@
#include <QTableView>
#include "tools/cabana/dbcmanager.h"
#include "tools/cabana/streams/abstractstream.h"
using namespace dbcmanager;
class BinaryItemDelegate : public QStyledItemDelegate {
public:
@@ -49,7 +51,6 @@ public:
std::vector<Item> items;
std::optional<MessageId> msg_id;
const DBCMsg *dbc_msg = nullptr;
int row_count = 0;
const int column_count = 9;
};