19 #ifndef SDRBASE_GUI_GLSCOPENGGUI_H_ 20 #define SDRBASE_GUI_GLSCOPENGGUI_H_ 55 void setSampleRate(
int sampleRate);
56 void resetToDefaults();
57 virtual QByteArray serialize()
const;
58 virtual bool deserialize(
const QByteArray& data);
60 bool handleMessage(
Message* message);
65 void setTraceIntensity(
int value);
66 void setGridIntensity(
int value);
67 void setTimeBase(
int step);
68 void setTimeOffset(
int step);
69 void setTraceLength(
int step);
70 void setPreTrigger(
int step);
74 void focusOnTrace(
int traceIndex);
78 void focusOnTrigger(
int triggerIndex);
157 static const double amps[27];
159 void applySettings();
161 void setTraceIndexDisplay();
162 void setTimeScaleDisplay();
163 void setTraceLenDisplay();
164 void setTimeOfsDisplay();
166 void setAmpScaleDisplay();
167 void setAmpOfsDisplay();
168 void setTraceDelayDisplay();
170 void setTrigIndexDisplay();
171 void setTrigCountDisplay();
172 void setTrigLevelDisplay();
173 void setTrigDelayDisplay();
174 void setTrigPreDisplay();
176 void changeCurrentTrace();
177 void changeCurrentTrigger();
184 void fillProjectionCombo(QComboBox* comboBox);
185 void disableLiveMode(
bool disable);
188 void on_scope_sampleRateChanged(
int value);
189 void on_scope_traceSizeChanged(
uint32_t value);
190 void on_scope_preTriggerChanged(
uint32_t value);
192 void on_onlyX_toggled(
bool checked);
193 void on_onlyY_toggled(
bool checked);
194 void on_horizontalXY_toggled(
bool checked);
195 void on_verticalXY_toggled(
bool checked);
196 void on_polar_toggled(
bool checked);
197 void on_polarPoints_toggled(
bool checked);
198 void on_traceIntensity_valueChanged(
int value);
199 void on_gridIntensity_valueChanged(
int value);
200 void on_time_valueChanged(
int value);
201 void on_timeOfs_valueChanged(
int value);
202 void on_traceLen_valueChanged(
int value);
204 void on_trace_valueChanged(
int value);
205 void on_traceAdd_clicked(
bool checked);
206 void on_traceDel_clicked(
bool checked);
207 void on_traceUp_clicked(
bool checked);
208 void on_traceDown_clicked(
bool checked);
209 void on_traceMode_currentIndexChanged(
int index);
210 void on_amp_valueChanged(
int value);
211 void on_ofsCoarse_valueChanged(
int value);
212 void on_ofsFine_valueChanged(
int value);
213 void on_traceDelayCoarse_valueChanged(
int value);
214 void on_traceDelayFine_valueChanged(
int value);
215 void on_traceView_toggled(
bool checked);
216 void on_traceColor_clicked();
217 void on_memorySave_clicked(
bool checked);
218 void on_memoryLoad_clicked(
bool checked);
219 void on_mem_valueChanged(
int value);
221 void on_trig_valueChanged(
int value);
222 void on_trigAdd_clicked(
bool checked);
223 void on_trigDel_clicked(
bool checked);
224 void on_trigUp_clicked(
bool checked);
225 void on_trigDown_clicked(
bool checked);
226 void on_trigMode_currentIndexChanged(
int index);
227 void on_trigCount_valueChanged(
int value);
228 void on_trigPos_toggled(
bool checked);
229 void on_trigNeg_toggled(
bool checked);
230 void on_trigBoth_toggled(
bool checked);
231 void on_trigHoldoff_valueChanged(
int value);
232 void on_trigLevelCoarse_valueChanged(
int value);
233 void on_trigLevelFine_valueChanged(
int value);
234 void on_trigDelayCoarse_valueChanged(
int value);
235 void on_trigDelayFine_valueChanged(
int value);
236 void on_trigPre_valueChanged(
int value);
237 void on_trigColor_clicked();
238 void on_trigOneShot_toggled(
bool checked);
239 void on_freerun_toggled(
bool checked);
bool m_oldStateVerticalXY
bool m_oldStateTrigLevelCoarse
bool m_oldStateHorizontalXY
MessageQueue * m_messageQueue
bool m_oldStateTrigDelayCoarse
bool m_oldStateTraceColor
bool m_oldStateTrigDelayFine
QColor m_focusedTraceColor
bool m_oldStateTraceDelayCoarse
QColor m_focusedTriggerColor
bool m_oldStateTraceDelayFine
bool m_oldStateTrigLevelFine