18 #ifndef PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_ 19 #define PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_ 35 class PlutoSDRInputGUI;
45 virtual void destroy();
46 virtual void setName(
const QString& name);
47 virtual QString getName()
const;
48 virtual void resetToDefaults();
49 virtual qint64 getCenterFrequency()
const;
50 virtual void setCenterFrequency(qint64 centerFrequency);
51 virtual QByteArray serialize()
const;
52 virtual bool deserialize(
const QByteArray& data);
54 virtual bool handleMessage(
const Message& message);
57 Ui::PlutoSDRInputGUI*
ui;
72 void displaySettings();
73 void displaySampleRate();
74 void displayFcTooltip();
75 void sendSettings(
bool forceSettings =
false);
76 void blockApplySettings(
bool block);
77 void updateSampleRateAndFrequency();
78 void setFIRBWLimits();
79 void setSampleRateLimits();
80 void updateFrequencyLimits();
83 void on_startStop_toggled(
bool checked);
84 void on_record_toggled(
bool checked);
85 void on_centerFrequency_changed(quint64 value);
86 void on_loPPM_valueChanged(
int value);
87 void on_dcOffset_toggled(
bool checked);
88 void on_rfDCOffset_toggled(
bool checked);
89 void on_bbDCOffset_toggled(
bool checked);
90 void on_hwIQImbalance_toggled(
bool checked);
91 void on_iqImbalance_toggled(
bool checked);
92 void on_swDecim_currentIndexChanged(
int index);
93 void on_fcPos_currentIndexChanged(
int index);
94 void on_sampleRate_changed(quint64 value);
95 void on_lpf_changed(quint64 value);
96 void on_lpFIREnable_toggled(
bool checked);
97 void on_lpFIR_changed(quint64 value);
98 void on_lpFIRDecimation_currentIndexChanged(
int index);
99 void on_lpFIRGain_currentIndexChanged(
int index);
100 void on_gainMode_currentIndexChanged(
int index);
101 void on_gain_valueChanged(
int value);
102 void on_antenna_currentIndexChanged(
int index);
103 void on_transverter_clicked();
104 void on_sampleRateMode_toggled(
bool checked);
105 void updateHardware();
107 void handleInputMessages();
108 void openDeviceSettingsDialog(
const QPoint& p);