18 #ifndef INCLUDE_AIRSPYHFGUI_H 19 #define INCLUDE_AIRSPYHFGUI_H 33 class AirspyHFSampleRates;
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);
54 uint32_t getDevSampleRate(
unsigned int index);
55 int getDevSampleRateIndex(
uint32_t sampleRate);
74 void displaySettings();
75 void displaySampleRates();
78 void updateSampleRateAndFrequency();
79 void updateFrequencyLimits();
82 void on_centerFrequency_changed(quint64 value);
83 void on_LOppm_valueChanged(
int value);
84 void on_resetLOppm_clicked();
85 void on_dcOffset_toggled(
bool checked);
86 void on_iqImbalance_toggled(
bool checked);
87 void on_sampleRate_currentIndexChanged(
int index);
88 void on_decim_currentIndexChanged(
int index);
89 void on_startStop_toggled(
bool checked);
90 void on_record_toggled(
bool checked);
91 void on_transverter_clicked();
92 void on_band_currentIndexChanged(
int index);
93 void on_dsp_toggled(
bool checked);
94 void on_lna_toggled(
bool checked);
95 void on_agc_currentIndexChanged(
int index);
96 void on_att_currentIndexChanged(
int index);
97 void updateHardware();
99 void handleInputMessages();
100 void openDeviceSettingsDialog(
const QPoint& p);
103 #endif // INCLUDE_AIRSPYHFGUI_H
void blockApplySettings(bool block)
AirspyHFSettings m_settings
DeviceUISet * m_deviceUISet
virtual MessageQueue * getInputMessageQueue()
MessageQueue m_inputMessageQueue
std::vector< uint32_t > m_rates
quint64 m_deviceCenterFrequency
Center frequency in device.
DeviceSampleSource * m_sampleSource