7 #include "ui_lorademodgui.h" 94 ui->BWText->setText(QString(
"%1 Hz").
arg(thisBW));
120 setAttribute(Qt::WA_DeleteOnClose,
true);
127 ui->glSpectrum->setCenterFrequency(16000);
128 ui->glSpectrum->setSampleRate(32000);
129 ui->glSpectrum->setDisplayWaterfall(
true);
130 ui->glSpectrum->setDisplayMaxHold(
true);
191 ui->BWText->setText(QString(
"%1 Hz").
arg(thisBW));
void on_Spread_valueChanged(int value)
static LoRaDemodGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceAPI, BasebandSampleSink *rxChannel)
int getCenterFrequency() const
void blockApplySettings(bool block)
void push(Message *message, bool emitSignal=true)
Push message onto queue.
DeviceUISet * m_deviceUISet
MessageQueue * getInputMessageQueue()
Get the queue for asynchronous inbound communication.
virtual qint64 getCenterFrequency() const
void applySettings(bool force=false)
virtual void setCenterFrequency(qint64 centerFrequency)
void addChannelMarker(ChannelMarker *channelMarker)
Add channel marker to spectrum.
static const int bandwidths[]
LoRaDemodGUI(PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0)
bool deserialize(const QByteArray &data)
void on_BW_valueChanged(int value)
void setSpectrumGUI(Serializable *spectrumGUI)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual bool handleMessage(const Message &message)
void setChannelMarker(Serializable *channelMarker)
static const int nb_bandwidths
LoRaDemodSettings m_settings
void setMovable(bool movable)
void onWidgetRolled(QWidget *widget, bool rollDown)
void registerRxChannelInstance(const QString &channelName, PluginInstanceGUI *pluginGUI)
void addRollupWidget(QWidget *widget)
Add rollup widget to channel window.
void removeRxChannelInstance(PluginInstanceGUI *pluginGUI)
ChannelMarker m_channelMarker
QByteArray serialize() const
void setSpectrumSink(BasebandSampleSink *sampleSink)
void setName(const QString &name)
void setColor(const QColor &color)
static const QString m_channelIdURI
bool deserialize(const QByteArray &data)
void setVisible(bool visible)
QByteArray serialize() const
void setBandwidth(int bandwidth)
const QColor & getColor() const
void setCenterFrequency(int centerFrequency)
SpectrumVis * m_spectrumVis