18 #ifndef INCLUDE_RTLSDRGUI_H 19 #define INCLUDE_RTLSDRGUI_H 33 class RTLSDRSampleRates;
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);
73 void displaySampleRate();
74 void displayFcTooltip();
75 void displaySettings();
77 void updateSampleRateAndFrequency();
78 void updateFrequencyLimits();
79 void blockApplySettings(
bool block);
82 void handleInputMessages();
83 void on_centerFrequency_changed(quint64 value);
84 void on_sampleRate_changed(quint64 value);
85 void on_offsetTuning_toggled(
bool checked);
86 void on_rfBW_changed(quint64 value);
87 void on_lowSampleRate_toggled(
bool checked);
88 void on_dcOffset_toggled(
bool checked);
89 void on_iqImbalance_toggled(
bool checked);
90 void on_decim_currentIndexChanged(
int index);
91 void on_fcPos_currentIndexChanged(
int index);
92 void on_ppm_valueChanged(
int value);
93 void on_gain_valueChanged(
int value);
94 void on_checkBox_stateChanged(
int state);
95 void on_agc_stateChanged(
int state);
96 void on_startStop_toggled(
bool checked);
97 void on_record_toggled(
bool checked);
98 void on_transverter_clicked();
99 void on_sampleRateMode_toggled(
bool checked);
100 void openDeviceSettingsDialog(
const QPoint& p);
101 void updateHardware();
105 #endif // INCLUDE_RTLSDRGUI_H
DeviceUISet * m_deviceUISet
virtual MessageQueue * getInputMessageQueue()
RTLSDRSettings m_settings
bool m_sampleRateMode
true: device, false: base band sample rate update mode
RTLSDRInput * m_sampleSource
quint64 m_deviceCenterFrequency
Center frequency in device.
std::vector< int > m_gains
MessageQueue m_inputMessageQueue