18 #ifndef PLUGINS_SAMPLESOURCE_PERSEUS_PERSEUSGUI_H_ 19 #define PLUGINS_SAMPLESOURCE_PERSEUS_PERSEUSGUI_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);
53 uint32_t getDevSampleRate(
unsigned int index);
54 int getDevSampleRateIndex(
uint32_t sampleRate);
73 void displaySettings();
74 void displaySampleRates();
75 void updateFrequencyLimits();
77 void updateSampleRateAndFrequency();
80 void on_centerFrequency_changed(quint64 value);
81 void on_LOppm_valueChanged(
int value);
82 void on_resetLOppm_clicked();
83 void on_sampleRate_currentIndexChanged(
int index);
84 void on_wideband_toggled(
bool checked);
85 void on_decim_currentIndexChanged(
int index);
86 void on_startStop_toggled(
bool checked);
87 void on_record_toggled(
bool checked);
88 void on_transverter_clicked();
89 void on_attenuator_currentIndexChanged(
int index);
90 void on_adcDither_toggled(
bool checked);
91 void on_adcPreamp_toggled(
bool checked);
92 void updateHardware();
94 void handleInputMessages();
95 void openDeviceSettingsDialog(
const QPoint& p);
DeviceUISet * m_deviceUISet
std::vector< uint32_t > m_rates
virtual MessageQueue * getInputMessageQueue()
void blockApplySettings(bool block)
PerseusInput * m_sampleSource
PerseusSettings m_settings
quint64 m_deviceCenterFrequency
Center frequency in device.
MessageQueue m_inputMessageQueue