18 #ifndef INCLUDE_HACKRFINPUTGUI_H 19 #define INCLUDE_HACKRFINPUTGUI_H 29 #define HACKRF_MAX_DEVICE (32) 43 HACKRF_IMGREJ_BYPASS = 0,
51 virtual void destroy();
53 void setName(
const QString& name);
54 QString getName()
const;
56 void resetToDefaults();
57 virtual qint64 getCenterFrequency()
const;
58 virtual void setCenterFrequency(qint64 centerFrequency);
59 QByteArray serialize()
const;
60 bool deserialize(
const QByteArray& data);
62 virtual bool handleMessage(
const Message& message);
65 Ui::HackRFInputGui*
ui;
80 void displaySettings();
81 void displaySampleRate();
82 void displayFcTooltip();
83 void displayBandwidths();
85 void updateSampleRateAndFrequency();
86 void blockApplySettings(
bool block);
89 void handleInputMessages();
90 void on_centerFrequency_changed(quint64 value);
91 void on_sampleRate_changed(quint64 value);
92 void on_LOppm_valueChanged(
int value);
93 void on_dcOffset_toggled(
bool checked);
94 void on_iqImbalance_toggled(
bool checked);
95 void on_biasT_stateChanged(
int state);
96 void on_decim_currentIndexChanged(
int index);
97 void on_fcPos_currentIndexChanged(
int index);
98 void on_lnaExt_stateChanged(
int state);
99 void on_lna_valueChanged(
int value);
100 void on_bbFilter_currentIndexChanged(
int index);
101 void on_vga_valueChanged(
int value);
102 void on_startStop_toggled(
bool checked);
103 void on_record_toggled(
bool checked);
104 void on_sampleRateMode_toggled(
bool checked);
105 void updateHardware();
107 void openDeviceSettingsDialog(
const QPoint& p);
110 #endif // INCLUDE_HACKRFINPUTGUI_H