DataViewerDebugPanel
DataViewerDebugPanel
Developer diagnostics panel showing layout, rendering, and coordinate info. More…
#include <DataViewerDebugPanel.hpp>
Inherits from QWidget
Public Slots
| Name | |
|---|---|
| void | refresh() Refresh all sections from current diagnostics. |
| void | updateCoordinateInspector(float time_coord, float canvas_y, QString const & series_info) Update the coordinate inspector from a mouse hover event. |
Public Functions
| Name | |
|---|---|
| DataViewerDebugPanel(std::shared_ptr< DataViewerState > state, OpenGLWidget * opengl_widget, QWidget * parent =[nullptr]) Construct the debug panel. |
|
| ~DataViewerDebugPanel() override =default |
Detailed Description
class DataViewerDebugPanel;Developer diagnostics panel showing layout, rendering, and coordinate info.
Organized into collapsible QGroupBox sections:
- Global View State (time window, Y bounds, zoom/scale)
- Lane Table (one row per registered series)
- Rendering Statistics (batch counts, vertex counts)
- Coordinate Inspector (mouse position in multiple spaces)
- Overlay Toggles (lane boundaries, origin markers, crosshair)
Public Slots Documentation
slot refresh
void refresh()Refresh all sections from current diagnostics.
slot updateCoordinateInspector
void updateCoordinateInspector(
float time_coord,
float canvas_y,
QString const & series_info
)Update the coordinate inspector from a mouse hover event.
Parameters:
- time_coord Time coordinate (X axis)
- canvas_y Canvas Y position in pixels
- series_info Series identification string (or empty)
Public Functions Documentation
function DataViewerDebugPanel
explicit DataViewerDebugPanel(
std::shared_ptr< DataViewerState > state,
OpenGLWidget * opengl_widget,
QWidget * parent =nullptr
)Construct the debug panel.
Parameters:
- state Shared viewer state (for view state queries)
- opengl_widget Non-owning pointer to the OpenGL canvas
- parent Parent widget
function ~DataViewerDebugPanel
~DataViewerDebugPanel() override =defaultUpdated on 2026-11-13 at 20:25:41 +0000