18 #ifndef INCLUDE_AIRSPYGUI_H 19 #define INCLUDE_AIRSPYGUI_H 32 class AirspySampleRates;
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);
53 uint32_t getDevSampleRate(
unsigned int index);
54 int getDevSampleRateIndex(
uint32_t sampleRate);
73 void displaySettings();
74 void displaySampleRates();
76 void updateSampleRateAndFrequency();
77 void updateFrequencyLimits();
80 void on_centerFrequency_changed(quint64 value);
81 void on_LOppm_valueChanged(
int value);
82 void on_dcOffset_toggled(
bool checked);
83 void on_iqImbalance_toggled(
bool checked);
84 void on_sampleRate_currentIndexChanged(
int index);
85 void on_biasT_stateChanged(
int state);
86 void on_decim_currentIndexChanged(
int index);
87 void on_fcPos_currentIndexChanged(
int index);
88 void on_lna_valueChanged(
int value);
89 void on_mix_valueChanged(
int value);
90 void on_vga_valueChanged(
int value);
91 void on_lnaAGC_stateChanged(
int state);
92 void on_mixAGC_stateChanged(
int state);
93 void on_startStop_toggled(
bool checked);
94 void on_record_toggled(
bool checked);
95 void on_transverter_clicked();
96 void updateHardware();
98 void handleInputMessages();
99 void openDeviceSettingsDialog(
const QPoint& p);
102 #endif // INCLUDE_AIRSPYGUI_H
AirspySettings m_settings
std::vector< uint32_t > m_rates
void blockApplySettings(bool block)
MessageQueue m_inputMessageQueue
DeviceSampleSource * m_sampleSource
quint64 m_deviceCenterFrequency
Center frequency in device.
DeviceUISet * m_deviceUISet
virtual MessageQueue * getInputMessageQueue()