18 #ifndef INCLUDE_BLADERFINPUTGUI_H 19 #define INCLUDE_BLADERFINPUTGUI_H 41 virtual void destroy();
43 void setName(
const QString& name);
44 QString getName()
const;
46 void resetToDefaults();
47 virtual qint64 getCenterFrequency()
const;
48 virtual void setCenterFrequency(qint64 centerFrequency);
49 QByteArray serialize()
const;
50 bool deserialize(
const QByteArray& data);
52 virtual bool handleMessage(
const Message& message);
55 Ui::Bladerf1InputGui*
ui;
71 void displaySettings();
72 void displaySampleRate();
73 void displayFcTooltip();
75 unsigned int getXb200Index(
bool xb_200, bladerf_xb200_path xb200Path, bladerf_xb200_filter xb200Filter);
76 void updateSampleRateAndFrequency();
77 void blockApplySettings(
bool block);
80 void handleInputMessages();
81 void on_centerFrequency_changed(quint64 value);
82 void on_sampleRate_changed(quint64 value);
83 void on_dcOffset_toggled(
bool checked);
84 void on_iqImbalance_toggled(
bool checked);
85 void on_bandwidth_currentIndexChanged(
int index);
86 void on_decim_currentIndexChanged(
int index);
87 void on_lna_currentIndexChanged(
int index);
88 void on_vga1_valueChanged(
int value);
89 void on_vga2_valueChanged(
int value);
90 void on_xb200_currentIndexChanged(
int index);
91 void on_fcPos_currentIndexChanged(
int index);
92 void on_startStop_toggled(
bool checked);
93 void on_record_toggled(
bool checked);
94 void on_sampleRateMode_toggled(
bool checked);
95 void updateHardware();
97 void openDeviceSettingsDialog(
const QPoint& p);
100 #endif // INCLUDE_BLADERFINPUTGUI_H