18 #ifndef _TESTSOURCE_TESTSOURCEGUI_H_ 19 #define _TESTSOURCE_TESTSOURCEGUI_H_ 42 virtual void destroy();
44 void setName(
const QString& name);
45 QString getName()
const;
47 void resetToDefaults();
48 virtual qint64 getCenterFrequency()
const;
49 virtual void setCenterFrequency(qint64 centerFrequency);
50 QByteArray serialize()
const;
51 bool deserialize(
const QByteArray& data);
53 virtual bool handleMessage(
const Message& message);
56 Ui::TestSourceGui*
ui;
72 void displaySettings();
74 void updateSampleRateAndFrequency();
75 void displayAmplitude();
76 void updateAmpCoarseLimit();
77 void updateAmpFineLimit();
78 void updateFrequencyShiftLimit();
81 void handleInputMessages();
82 void on_startStop_toggled(
bool checked);
83 void on_centerFrequency_changed(quint64 value);
84 void on_autoCorr_currentIndexChanged(
int index);
85 void on_frequencyShift_changed(qint64 value);
86 void on_decimation_currentIndexChanged(
int index);
87 void on_fcPos_currentIndexChanged(
int index);
88 void on_sampleRate_changed(quint64 value);
89 void on_sampleSize_currentIndexChanged(
int index);
90 void on_amplitudeCoarse_valueChanged(
int value);
91 void on_amplitudeFine_valueChanged(
int value);
92 void on_modulation_currentIndexChanged(
int index);
93 void on_modulationFrequency_valueChanged(
int value);
94 void on_amModulation_valueChanged(
int value);
95 void on_fmDeviation_valueChanged(
int value);
96 void on_dcBias_valueChanged(
int value);
97 void on_iBias_valueChanged(
int value);
98 void on_qBias_valueChanged(
int value);
99 void on_phaseImbalance_valueChanged(
int value);
100 void on_record_toggled(
bool checked);
101 void openDeviceSettingsDialog(
const QPoint& p);
103 void updateHardware();
106 #endif // _TESTSOURCE_TESTSOURCEGUI_H_
MessageQueue m_inputMessageQueue
void blockApplySettings(bool block)
DeviceSampleSource * m_sampleSource
virtual MessageQueue * getInputMessageQueue()
DeviceUISet * m_deviceUISet
TestSourceSettings m_settings
quint64 m_deviceCenterFrequency
Center frequency in device.