18 #ifndef PLUGINS_SAMPLESOURCE_BLADERF2INPUT_BLADERF2INPUTGUI_H_ 19 #define PLUGINS_SAMPLESOURCE_BLADERF2INPUT_BLADERF2INPUTGUI_H_ 32 class Bladerf2InputGui;
41 virtual void destroy();
43 void setName(
const QString& name);
44 QString getName()
const;
46 virtual void resetToDefaults();
47 virtual qint64 getCenterFrequency()
const;
48 virtual void setCenterFrequency(qint64 centerFrequency);
49 virtual QByteArray serialize()
const;
50 virtual bool deserialize(
const QByteArray& data);
52 virtual bool handleMessage(
const Message& message);
55 Ui::Bladerf2InputGui*
ui;
71 void displaySettings();
72 void displaySampleRate();
73 void displayFcTooltip();
75 void updateSampleRateAndFrequency();
76 void updateFrequencyLimits();
77 void setCenterFrequencySetting(
uint64_t kHzValue);
78 void blockApplySettings(
bool block);
81 void handleInputMessages();
82 void on_centerFrequency_changed(quint64 value);
83 void on_LOppm_valueChanged(
int value);
84 void on_sampleRate_changed(quint64 value);
85 void on_dcOffset_toggled(
bool checked);
86 void on_iqImbalance_toggled(
bool checked);
87 void on_biasTee_toggled(
bool checked);
88 void on_bandwidth_changed(quint64 value);
89 void on_decim_currentIndexChanged(
int index);
90 void on_fcPos_currentIndexChanged(
int index);
91 void on_gainMode_currentIndexChanged(
int index);
92 void on_gain_valueChanged(
int value);
93 void on_transverter_clicked();
94 void on_startStop_toggled(
bool checked);
95 void on_record_toggled(
bool checked);
96 void on_sampleRateMode_toggled(
bool checked);
97 void updateHardware();
99 void openDeviceSettingsDialog(
const QPoint& p);
unsigned __int64 uint64_t