HeatmapWidget
HeatmapWidget
#include <HeatmapWidget.hpp>
Inherits from QWidget
Public Slots
| Name | |
|---|---|
| void | handleExportSVG() Open a file dialog and write the current heatmap scene to an SVG file. |
| void | handleExportCSV() Open a file dialog and write aggregate heatmap data to a CSV file. |
Public Signals
| Name | |
|---|---|
| void | timePositionSelected(TimePosition position) |
Public Functions
| Name | |
|---|---|
| HeatmapWidget(std::shared_ptr< DataManager > data_manager, QWidget * parent =[nullptr]) | |
| ~HeatmapWidget() override | |
| void | setState(std::shared_ptr< HeatmapState > state) |
| std::shared_ptr< HeatmapState > | state() const |
| HeatmapState * | state() |
| RelativeTimeAxisRangeControls * | getRangeControls() const |
| VerticalAxisRangeControls * | getVerticalRangeControls() const |
| VerticalAxisState * | getVerticalAxisState() const Vertical axis state is owned by HeatmapState. |
| void | setSelectionContext(SelectionContext * selection_context) Set the SelectionContext for ContextAction integration in the context menu. |
Protected Functions
| Name | |
|---|---|
| void | resizeEvent(QResizeEvent * event) override |
Public Slots Documentation
slot handleExportSVG
void handleExportSVG()Open a file dialog and write the current heatmap scene to an SVG file.
Uses [AppFileDialog](/api_generated/Namespaces/namespaceAppFileDialog.md) with dialog id "export_heatmap_svg". Shows a message box on success or failure. Does nothing if the scene is empty or the user cancels.
slot handleExportCSV
void handleExportCSV()Open a file dialog and write aggregate heatmap data to a CSV file.
Uses [AppFileDialog](/api_generated/Namespaces/namespaceAppFileDialog.md) with dialog id "export_heatmap_csv". Re-runs the heatmap pipeline and calls [PlotDataExport::exportHeatmapToCSV()](/api_generated/Namespaces/namespacePlotDataExport.md#function-exportheatmaptocsv).
Public Signals Documentation
signal timePositionSelected
void timePositionSelected(
TimePosition position
)Public Functions Documentation
function HeatmapWidget
HeatmapWidget(
std::shared_ptr< DataManager > data_manager,
QWidget * parent =nullptr
)function ~HeatmapWidget
~HeatmapWidget() overridefunction setState
void setState(
std::shared_ptr< HeatmapState > state
)function state
inline std::shared_ptr< HeatmapState > state() constfunction state
HeatmapState * state()function getRangeControls
RelativeTimeAxisRangeControls * getRangeControls() constfunction getVerticalRangeControls
VerticalAxisRangeControls * getVerticalRangeControls() constfunction getVerticalAxisState
VerticalAxisState * getVerticalAxisState() constVertical axis state is owned by HeatmapState.
function setSelectionContext
void setSelectionContext(
SelectionContext * selection_context
)Set the SelectionContext for ContextAction integration in the context menu.
Parameters:
- selection_context Pointer to the SelectionContext (not owned)
Protected Functions Documentation
function resizeEvent
void resizeEvent(
QResizeEvent * event
) overrideUpdated on 2026-11-13 at 20:25:40 +0000