Skip to main content

ScatterPlotWidget

ScatterPlotWidget

Main widget for 2D scatter plot visualization.

#include <ScatterPlotWidget.hpp>

Inherits from QWidget

Public Slots

Name
void handleExportSVG()
Open a file dialog and write the current scene to an SVG file.

Public Signals

Name
void timePositionSelected(TimePosition position)

Public Functions

Name
ScatterPlotWidget(std::shared_ptr< DataManager > data_manager, QWidget * parent =[nullptr])
~ScatterPlotWidget() override
void setState(std::shared_ptr< ScatterPlotState > state)
std::shared_ptr< ScatterPlotState > state() const
ScatterPlotState * state()
void setGroupManager(GroupManager * group_manager)
Set the GroupManager for group-related context menu actions.
void setSelectionContext(SelectionContext * selection_context)
Set the SelectionContext for ContextAction integration.
void setKeymapManager(KeymapSystem::KeymapManager * manager)
Set the KeymapManager to enable configurable polygon editing shortcuts.
HorizontalAxisRangeControls * getHorizontalRangeControls() const
VerticalAxisRangeControls * getVerticalRangeControls() const

Protected Functions

Name
void resizeEvent(QResizeEvent * event) override

Public Slots Documentation

slot handleExportSVG

void handleExportSVG()

Open a file dialog and write the current scene to an SVG file.

Uses [AppFileDialog](/api_generated/Namespaces/namespaceAppFileDialog.md) for session-aware path memory (dialog id "export_scatter_plot_svg"). Shows an informational message box on success and an error message box on failure. Does nothing if the scene is empty or the user cancels the dialog.

Public Signals Documentation

signal timePositionSelected

void timePositionSelected(
    TimePosition position
)

Public Functions Documentation

function ScatterPlotWidget

ScatterPlotWidget(
    std::shared_ptr< DataManager > data_manager,
    QWidget * parent =nullptr
)

function ~ScatterPlotWidget

~ScatterPlotWidget() override

function setState

void setState(
    std::shared_ptr< ScatterPlotState > state
)

function state

inline std::shared_ptr< ScatterPlotState > state() const

function state

ScatterPlotState * state()

function setGroupManager

void setGroupManager(
    GroupManager * group_manager
)

Set the GroupManager for group-related context menu actions.

Parameters:

function setSelectionContext

void setSelectionContext(
    SelectionContext * selection_context
)

Set the SelectionContext for ContextAction integration.

Parameters:

function setKeymapManager

void setKeymapManager(
    KeymapSystem::KeymapManager * manager
)

Set the KeymapManager to enable configurable polygon editing shortcuts.

Parameters:

  • manager Pointer to the KeymapManager (can be nullptr)

function getHorizontalRangeControls

HorizontalAxisRangeControls * getHorizontalRangeControls() const

function getVerticalRangeControls

VerticalAxisRangeControls * getVerticalRangeControls() const

Protected Functions Documentation

function resizeEvent

void resizeEvent(
    QResizeEvent * event
) override

Updated on 2026-11-13 at 20:25:39 +0000