Skip to main content

SpectrogramStateData

SpectrogramStateData

Serializable state data for SpectrogramWidget.

#include <SpectrogramState.hpp>

Public Attributes

Name
std::string instance_id
std::string display_name
SpectrogramViewState view_state
View state (zoom, pan, bounds).
SpectrogramAxisOptions axis_options
Axis labels and grid options.
std::string background_color
Background color as hex string (default: white).
bool pinned
Whether to ignore SelectionContext changes.
std::string analog_signal_key
Key of the analog signal to display.

Public Attributes Documentation

variable instance_id

std::string instance_id;

variable display_name

std::string display_name = "Spectrogram";

variable view_state

SpectrogramViewState view_state;

View state (zoom, pan, bounds).

variable axis_options

SpectrogramAxisOptions axis_options;

Axis labels and grid options.

variable background_color

std::string background_color = "#FFFFFF";

Background color as hex string (default: white).

variable pinned

bool pinned = false;

Whether to ignore SelectionContext changes.

variable analog_signal_key

std::string analog_signal_key;

Key of the analog signal to display.


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