cabana: improve UI & fix bugs (#27387)

* improve ui

* keep splitter size after msg changed

* no leading spaces allowed in msg filter and signal filter

* draw color byte AlignCenter

* always set as current index

* reduce chart flickers while resizing

* dispaly more info in tooltip for signal

* narrow combobox

* use  

* typo

* private sigs,fix bugs

* merge  #27383

* no expanding after undo/redo

* gray color in tooltip

* clear current_msg_id before reset model

* dont call setmeesage if id is the same

* fix bugs

* cleanup

* dont fetch logs if invisible

* add new CenterWidget, make sure msg_id is always valid

* cache icons

* cleanup paint byte color

* merge #27385 implement sizeHint

* cleanup code

* fillrect if alpha>0
old-commit-hash: 4efd246bac004f3b6f1f7d733e6e285b3fdc8322
This commit is contained in:
Dean Lee
2023-02-21 06:16:30 +08:00
committed by GitHub
parent 5a74289e33
commit 2aafd3bf01
22 changed files with 344 additions and 299 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
#pragma once
#include <optional>
#include <QApplication>
#include <QList>
#include <QSet>
@@ -50,7 +48,7 @@ public:
};
std::vector<Item> items;
std::optional<MessageId> msg_id;
MessageId msg_id;
int row_count = 0;
const int column_count = 9;
};