18 #ifndef INCLUDE_HACKRFOUTPUTGUI_H 19 #define INCLUDE_HACKRFOUTPUTGUI_H 29 #define HACKRF_MAX_DEVICE (32) 44 HACKRF_IMGREJ_BYPASS = 0,
52 virtual void destroy();
54 void setName(
const QString& name);
55 QString getName()
const;
57 void resetToDefaults();
58 virtual qint64 getCenterFrequency()
const;
59 virtual void setCenterFrequency(qint64 centerFrequency);
60 QByteArray serialize()
const;
61 bool deserialize(
const QByteArray& data);
63 virtual bool handleMessage(
const Message& message);
66 Ui::HackRFOutputGui*
ui;
81 void displaySettings();
82 void displaySampleRate();
83 void displayFcTooltip();
84 void displayBandwidths();
86 void updateSampleRateAndFrequency();
87 void blockApplySettings(
bool block);
90 void handleInputMessages();
91 void on_centerFrequency_changed(quint64 value);
92 void on_sampleRate_changed(quint64 value);
93 void on_LOppm_valueChanged(
int value);
94 void on_biasT_stateChanged(
int state);
95 void on_interp_currentIndexChanged(
int index);
96 void on_fcPos_currentIndexChanged(
int index);
97 void on_lnaExt_stateChanged(
int state);
98 void on_bbFilter_currentIndexChanged(
int index);
99 void on_txvga_valueChanged(
int value);
100 void on_startStop_toggled(
bool checked);
101 void on_sampleRateMode_toggled(
bool checked);
102 void updateHardware();
104 void openDeviceSettingsDialog(
const QPoint& p);
107 #endif // INCLUDE_HACKRFOUTPUTGUI_H
HackRFOutputSettings m_settings
bool m_sampleRateMode
true: device, false: base band sample rate update mode
virtual MessageQueue * getInputMessageQueue()
DeviceSampleSink * m_deviceSampleSink
MessageQueue m_inputMessageQueue
DeviceUISet * m_deviceUISet
quint64 m_deviceCenterFrequency
Center frequency in device.