19 #ifndef PLUGINS_SAMPLESOURCE_XTRXINPUT_XTRXINPUTGUI_H_ 20 #define PLUGINS_SAMPLESOURCE_XTRXINPUT_XTRXINPUTGUI_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);
73 void displaySettings();
74 void displaySampleRate();
76 void setCenterFrequencyDisplay();
77 void setCenterFrequencySetting(
uint64_t kHzValue);
79 void updateSampleRateAndFrequency();
81 void blockApplySettings(
bool block);
84 void handleInputMessages();
85 void on_startStop_toggled(
bool checked);
86 void on_record_toggled(
bool checked);
87 void on_centerFrequency_changed(quint64 value);
88 void on_ncoFrequency_changed(qint64 value);
89 void on_ncoEnable_toggled(
bool checked);
90 void on_dcOffset_toggled(
bool checked);
91 void on_iqImbalance_toggled(
bool checked);
92 void on_sampleRate_changed(quint64 value);
93 void on_hwDecim_currentIndexChanged(
int index);
94 void on_swDecim_currentIndexChanged(
int index);
95 void on_lpf_changed(quint64 value);
96 void on_gainMode_currentIndexChanged(
int index);
97 void on_gain_valueChanged(
int value);
98 void on_lnaGain_valueChanged(
int value);
99 void on_tiaGain_currentIndexChanged(
int index);
100 void on_pgaGain_valueChanged(
int value);
101 void on_antenna_currentIndexChanged(
int index);
102 void on_extClock_clicked();
103 void on_pwrmode_currentIndexChanged(
int index);
104 void on_sampleRateMode_toggled(
bool checked);
106 void updateHardware();
108 void openDeviceSettingsDialog(
const QPoint& p);
unsigned __int64 uint64_t