Skip to main content

PSTHPropertiesWidget

PSTHPropertiesWidget

Properties panel for PSTH Widget. More…

#include <PSTHPropertiesWidget.hpp>

Inherits from QWidget

Public Signals

Name
void exportSVGRequested()
Emitted when the user clicks the “Export SVG…” button.
void exportCSVRequested()
Emitted when the user clicks the “Export CSV…” button.

Public Functions

Name
PSTHPropertiesWidget(std::shared_ptr< PSTHState > state, std::shared_ptr< DataManager > data_manager, QWidget * parent =[nullptr])
Construct a PSTHPropertiesWidget.
~PSTHPropertiesWidget() override
std::shared_ptr< PSTHState > state() const
Get the shared state.
std::shared_ptr< DataManager > dataManager() const
Get the DataManager.
void setPlotWidget(PSTHWidget * plot_widget)
Set the PSTHWidget to connect range controls.

Detailed Description

class PSTHPropertiesWidget;

Properties panel for PSTH Widget.

Displays plot settings and configuration options. Shares state with PSTHWidget (view) via PSTHState.

Public Signals Documentation

signal exportSVGRequested

void exportSVGRequested()

Emitted when the user clicks the “Export SVG…” button.

signal exportCSVRequested

void exportCSVRequested()

Emitted when the user clicks the “Export CSV…” button.

Public Functions Documentation

function PSTHPropertiesWidget

explicit PSTHPropertiesWidget(
    std::shared_ptr< PSTHState > state,
    std::shared_ptr< DataManager > data_manager,
    QWidget * parent =nullptr
)

Construct a PSTHPropertiesWidget.

Parameters:

  • state Shared state with the view widget
  • data_manager DataManager for data queries
  • parent Parent widget

function ~PSTHPropertiesWidget

~PSTHPropertiesWidget() override

function state

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

Get the shared state.

Return: Shared pointer to PSTHState

function dataManager

inline std::shared_ptr< DataManager > dataManager() const

Get the DataManager.

Return: Shared pointer to DataManager

function setPlotWidget

void setPlotWidget(
    PSTHWidget * plot_widget
)

Set the PSTHWidget to connect range controls.

Parameters:


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