|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
Interactive event-timeline panel. More...
#include <TimelineChartPanel.hpp>


Public Slots | |
| void | Refresh () |
| Rebuild the chart from the current visible row set. | |
Public Member Functions | |
| TimelineChartPanel (db::EventsContainer &events, EventsTableView *eventsView, QWidget *parent=nullptr) | |
Private Member Functions | |
| void | BuildLayout () |
Static Private Member Functions | |
| static std::string | DetectTimestampField (db::EventsContainer &events, const std::vector< unsigned long > &indices) |
Private Attributes | |
| db::EventsContainer & | m_events |
| EventsTableView * | m_eventsView |
| QChartView * | m_chartView {nullptr} |
| QSpinBox * | m_bucketSpin {nullptr} |
| QPushButton * | m_clearBtn {nullptr} |
| QLabel * | m_statusLabel {nullptr} |
| std::vector< std::vector< unsigned long > > | m_bucketEvents |
| Per-bucket event indices populated during Refresh; consumed by click handlers. | |
| DrillDownFilter | m_bucketFilter |
| The bucket filter set by a click, and the filter it replaced. | |
Interactive event-timeline panel.
Displays a stacked bar chart of visible events distributed over time, colour-coded by log level. Clicking a bar narrows the events view to the events in that time bucket. A Clear Selection button removes the bucket filter and restores the previous visible set.
Refreshes automatically via a modelReset connection wired up in MainWindow.
|
explicit |

|
private |


|
staticprivate |
Return the name of the first field whose values parse as timestamps, or empty if none is found.


|
slot |
Rebuild the chart from the current visible row set.


|
private |
Per-bucket event indices populated during Refresh; consumed by click handlers.
|
private |
The bucket filter set by a click, and the filter it replaced.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |