19 #ifndef SWGGLSpectrum_H_ 20 #define SWGGLSpectrum_H_ 22 #include <QJsonObject> 39 virtual QString asJson ()
override;
40 virtual QJsonObject* asJsonObject()
override;
41 virtual void fromJsonObject(QJsonObject &json)
override;
42 virtual SWGGLSpectrum* fromJson(QString &jsonString)
override;
45 void setFftSize(qint32 fft_size);
47 qint32 getFftOverlap();
48 void setFftOverlap(qint32 fft_overlap);
50 qint32 getMFftWindow();
51 void setMFftWindow(qint32 m_fft_window);
54 void setRefLevel(
float ref_level);
56 float getPowerRange();
57 void setPowerRange(
float power_range);
59 qint32 getDisplayWaterfall();
60 void setDisplayWaterfall(qint32 display_waterfall);
62 qint32 getInvertedWaterfall();
63 void setInvertedWaterfall(qint32 inverted_waterfall);
65 qint32 getDisplayMaxHold();
66 void setDisplayMaxHold(qint32 display_max_hold);
68 qint32 getDisplayHistogram();
69 void setDisplayHistogram(qint32 display_histogram);
72 void setDecay(qint32 decay);
74 qint32 getDisplayGrid();
75 void setDisplayGrid(qint32 display_grid);
78 void setInvert(qint32 invert);
80 qint32 getDisplayGridIntensity();
81 void setDisplayGridIntensity(qint32 display_grid_intensity);
83 qint32 getDecayDivisor();
84 void setDecayDivisor(qint32 decay_divisor);
86 qint32 getHistogramStroke();
87 void setHistogramStroke(qint32 histogram_stroke);
89 qint32 getDisplayCurrent();
90 void setDisplayCurrent(qint32 display_current);
92 qint32 getDisplayTraceIntensity();
93 void setDisplayTraceIntensity(qint32 display_trace_intensity);
95 float getWaterfallShare();
96 void setWaterfallShare(
float waterfall_share);
98 qint32 getAveragingMode();
99 void setAveragingMode(qint32 averaging_mode);
101 qint32 getAveragingValue();
102 void setAveragingValue(qint32 averaging_value);
105 void setLinear(qint32 linear);
108 virtual bool isSet()
override;
bool m_display_waterfall_isSet
qint32 inverted_waterfall
bool m_waterfall_share_isSet
bool m_display_grid_isSet
bool m_inverted_waterfall_isSet
bool m_display_max_hold_isSet
bool m_m_fft_window_isSet
bool m_display_current_isSet
bool m_display_grid_intensity_isSet
bool m_decay_divisor_isSet
bool m_averaging_value_isSet
bool m_averaging_mode_isSet
bool m_display_histogram_isSet
bool m_histogram_stroke_isSet
qint32 display_trace_intensity
qint32 display_grid_intensity
bool m_display_trace_intensity_isSet