1 #ifndef INCLUDE_GLSPECTRUMGUI_H 2 #define INCLUDE_GLSPECTRUMGUI_H 34 void resetToDefaults();
35 virtual QByteArray serialize()
const;
36 virtual bool deserialize(
const QByteArray& data);
39 Ui::GLSpectrumGUI*
ui;
70 int getAveragingIndex(
int averaging)
const;
71 int getAveragingValue(
int averagingIndex)
const;
72 void setAveragingCombo();
73 void setNumberStr(
int n, QString& s);
74 void setNumberStr(
float v,
int decimalPlaces, QString& s);
75 void setAveragingToolitp();
76 bool handleMessage(
const Message& message);
79 void on_fftWindow_currentIndexChanged(
int index);
80 void on_fftSize_currentIndexChanged(
int index);
81 void on_refLevel_currentIndexChanged(
int index);
82 void on_levelRange_currentIndexChanged(
int index);
83 void on_decay_valueChanged(
int index);
84 void on_decayDivisor_valueChanged(
int index);
85 void on_stroke_valueChanged(
int index);
86 void on_gridIntensity_valueChanged(
int index);
87 void on_traceIntensity_valueChanged(
int index);
88 void on_averagingMode_currentIndexChanged(
int index);
89 void on_averaging_currentIndexChanged(
int index);
90 void on_linscale_toggled(
bool checked);
92 void on_waterfall_toggled(
bool checked);
93 void on_histogram_toggled(
bool checked);
94 void on_maxHold_toggled(
bool checked);
95 void on_current_toggled(
bool checked);
96 void on_invert_toggled(
bool checked);
97 void on_grid_toggled(
bool checked);
98 void on_clearSpectrum_clicked(
bool checked);
100 void handleInputMessages();
103 #endif // INCLUDE_GLSPECTRUMGUI_H
int m_displayTraceIntensity
MessageQueue * m_messageQueueToVis
MessageQueue m_messageQueue
bool m_linear
linear else logarithmic scale
SpectrumVis * m_spectrumVis
GLSpectrum * m_glSpectrum
int m_averagingMaxScale
Max power of 10 multiplier to 2,5,10 base ex: 2 -> 2,5,10,20,50,100,200,500,1000. ...
AveragingMode m_averagingMode
int m_displayGridIntensity
unsigned int m_averagingNb