19 #ifndef _KIWISDR_KIWISDRGUI_H_ 20 #define _KIWISDR_KIWISDRGUI_H_ 43 virtual void destroy();
45 void setName(
const QString& name);
46 QString getName()
const;
48 void resetToDefaults();
49 virtual qint64 getCenterFrequency()
const;
50 virtual void setCenterFrequency(qint64 centerFrequency);
51 QByteArray serialize()
const;
52 bool deserialize(
const QByteArray& data);
54 virtual bool handleMessage(
const Message& message);
75 void displaySettings();
77 void updateSampleRateAndFrequency();
80 void handleInputMessages();
81 void on_startStop_toggled(
bool checked);
82 void on_centerFrequency_changed(quint64 value);
83 void on_record_toggled(
bool checked);
84 void on_gain_valueChanged(
int value);
85 void on_agc_toggled(
bool checked);
86 void on_serverAddress_returnPressed();
87 void on_serverAddressApplyButton_clicked();
88 void on_dcBlock_toggled(
bool checked);
89 void openDeviceSettingsDialog(
const QPoint& p);
91 void updateHardware();
94 #endif // _KIWISDR_KIWISDRGUI_H_
KiwiSDRSettings m_settings
std::vector< QString > m_statusTooltips
void blockApplySettings(bool block)
DeviceUISet * m_deviceUISet
DeviceSampleSource * m_sampleSource
std::vector< QString > m_statusColors
quint64 m_deviceCenterFrequency
Center frequency in device.
virtual MessageQueue * getInputMessageQueue()
MessageQueue m_inputMessageQueue