18 #ifndef INCLUDE_BLADERFOUTPUTGUI_H 19 #define INCLUDE_BLADERFOUTPUTGUI_H 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);
56 Ui::Bladerf1OutputGui*
ui;
72 void displaySettings();
73 void displaySampleRate();
75 unsigned int getXb200Index(
bool xb_200, bladerf_xb200_path xb200Path, bladerf_xb200_filter xb200Filter);
76 void updateSampleRateAndFrequency();
79 void handleInputMessages();
80 void on_centerFrequency_changed(quint64 value);
81 void on_sampleRate_changed(quint64 value);
82 void on_bandwidth_currentIndexChanged(
int index);
83 void on_interp_currentIndexChanged(
int index);
84 void on_vga1_valueChanged(
int value);
85 void on_vga2_valueChanged(
int value);
86 void on_xb200_currentIndexChanged(
int index);
87 void on_startStop_toggled(
bool checked);
88 void on_sampleRateMode_toggled(
bool checked);
89 void updateHardware();
91 void openDeviceSettingsDialog(
const QPoint& p);
94 #endif // INCLUDE_BLADERFOUTPUTGUI_H
virtual MessageQueue * getInputMessageQueue()
bool m_sampleRateMode
true: device, false: base band sample rate update mode
BladeRF1OutputSettings m_settings
quint64 m_deviceCenterFrequency
Center frequency in device.
DeviceUISet * m_deviceUISet
void blockApplySettings(bool block)
Ui::Bladerf1OutputGui * ui
DeviceSampleSink * m_deviceSampleSink
MessageQueue m_inputMessageQueue