41 : IUAVGadgetConfiguration(classId, parent)
45 int refreshInterval = 50;
48 if (qSettings !=
nullptr) {
52 switch (plotDimensions) {
56 qSettings->beginGroup(QString(
"plot2d"));
73 qSettings->endGroup();
79 qSettings->beginGroup(QString(
"plot3d"));
93 qSettings->endGroup();
112 int refreshInterval = 50;
114 if (options_page->tabWidget2d3d->currentWidget() == options_page->tabPlot2d) {
117 ->itemData(options_page->cmb2dPlotType->currentIndex())
119 switch (plot2dType) {
131 }
else if (options_page->tabWidget2d3d->currentWidget()
132 == options_page->tabPlot3d) {
134 if (options_page->stackedWidget3dPlots->currentWidget()
135 == options_page->sw3dSpectrogramStack) {
137 }
else if (options_page->stackedWidget3dPlots->currentWidget()
138 == options_page->sw3dTimeSeriesStack) {
The Scatterplot2dScopeConfig class The scatterplot scope configuration.
The SpectrogramScopeConfig class The spectrogram scope configuration.
Plot3dType
The Plot3dType enum Defines the different type of plots.
Plot2dType
The Plot2dType enum Defines the different type of plots.
~ScopeGadgetConfiguration()
ScopeGadgetConfiguration::~ScopeGadgetConfiguration Destructor clears 2D and 3D plot data...
IUAVGadgetConfiguration * clone()
ScopeGadgetConfiguration::clone Clones a configuration.
virtual ScopeConfig * cloneScope(ScopeConfig *histogramSourceConfigs)=0
void setRefreshInterval(int val)
The HistogramScopeConfig class The histogram scope configuration.
virtual void saveConfig() const
void applyGuiConfiguration(Ui::ScopeGadgetOptionsPage *options_page)
ScopeGadgetConfiguration::applyGuiConfiguration Uses GUI information to create new scopes...
ScopeGadgetConfiguration(QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)
ScopeGadgetConfiguration::ScopeGadgetConfiguration Constructor for scope gadget settings.
virtual void saveConfiguration(QSettings *qSettings)=0
virtual int getScopeDimensions()=0
PlotDimensions
The Plot3dType enum Defines the different type of plots.