|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
#include <CanSignalTreePanel.hpp>


Signals | |
| void | SignalSelectionChanged () |
| Emitted whenever the checked signal set changes. | |
Public Member Functions | |
| CanSignalTreePanel (QWidget *parent=nullptr) | |
| void | SetDatabase (const parser::dbc::DbcDatabase &db) |
| std::vector< std::string > | GetSelectedSignals () const |
| Return the full "SIG:xxx" keys of all currently checked signals. | |
Private Member Functions | |
| void | BuildLayout () |
| void | RebuildTree () |
Private Attributes | |
| parser::dbc::DbcDatabase | m_db |
| QTreeWidget * | m_tree {nullptr} |
| QLabel * | m_placeholder {nullptr} |
Read/write tree panel showing the CAN message/signal structure from a loaded DBC file. Checkboxes let the user select which signals to plot; checking a frame checks or unchecks all its signals.
Lives in its own dock widget tabbed alongside the main Filters dock. Call SetDatabase() whenever a new DBC file is loaded. Emits SignalSelectionChanged() whenever the checked set changes.
|
explicit |

|
private |


| std::vector< std::string > ui::qt::CanSignalTreePanel::GetSelectedSignals | ( | ) | const |
Return the full "SIG:xxx" keys of all currently checked signals.

|
private |


| void ui::qt::CanSignalTreePanel::SetDatabase | ( | const parser::dbc::DbcDatabase & | db | ) |
Replace the displayed DBC structure. Rebuilds the tree immediately, preserving any signal selections that still exist in the new database.

|
signal |
Emitted whenever the checked signal set changes.

|
private |
|
private |
|
private |