SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <lorademodgui.h>
Public Member Functions | |
virtual void | destroy () |
void | setName (const QString &name) |
QString | getName () const |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 centerFrequency) |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
virtual MessageQueue * | getInputMessageQueue () |
virtual bool | handleMessage (const Message &message) |
Public Member Functions inherited from RollupWidget | |
RollupWidget (QWidget *parent=NULL) | |
void | setTitleColor (const QColor &c) |
void | setHighlighted (bool highlighted) |
Public Member Functions inherited from PluginInstanceGUI | |
PluginInstanceGUI () | |
virtual | ~PluginInstanceGUI () |
Static Public Member Functions | |
static LoRaDemodGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceAPI, BasebandSampleSink *rxChannel) |
Private Slots | |
void | viewChanged () |
void | on_BW_valueChanged (int value) |
void | on_Spread_valueChanged (int value) |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
Private Member Functions | |
LoRaDemodGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
virtual | ~LoRaDemodGUI () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
Private Attributes | |
Ui::LoRaDemodGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
LoRaDemodSettings | m_settings |
bool | m_doApplySettings |
LoRaDemod * | m_LoRaDemod |
SpectrumVis * | m_spectrumVis |
MessageQueue | m_inputMessageQueue |
Additional Inherited Members | |
Signals inherited from RollupWidget | |
void | widgetRolled (QWidget *widget, bool rollDown) |
Protected Types inherited from RollupWidget | |
enum | { VersionMarker = 0xff } |
enum | ContextMenuType { ContextMenuNone, ContextMenuChannelSettings, ContextMenuStreamSettings } |
Protected Member Functions inherited from RollupWidget | |
int | arrangeRollups () |
QByteArray | saveState (int version=0) const |
bool | restoreState (const QByteArray &state, int version=0) |
void | paintEvent (QPaintEvent *) |
int | paintRollup (QWidget *rollup, int pos, QPainter *p, bool last, const QColor &frame) |
void | resizeEvent (QResizeEvent *size) |
void | mousePressEvent (QMouseEvent *event) |
bool | event (QEvent *event) |
bool | eventFilter (QObject *object, QEvent *event) |
void | resetContextMenuType () |
void | setStreamIndicator (const QString &indicator) |
Protected Attributes inherited from RollupWidget | |
QColor | m_titleColor |
QColor | m_titleTextColor |
bool | m_highlighted |
ContextMenuType | m_contextMenuType |
QString | m_streamIndicator |
Definition at line 21 of file lorademodgui.h.
|
explicitprivate |
Definition at line 111 of file lorademodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), displaySettings(), BasebandSampleSink::getInputMessageQueue(), LoRaDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, m_LoRaDemod, m_settings, m_spectrumVis, onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), SDR_RX_SCALEF, LoRaDemodSettings::setChannelMarker(), ChannelMarker::setMovable(), LoRaDemodSettings::setSpectrumGUI(), LoRaDemod::setSpectrumSink(), ChannelMarker::setVisible(), ui, viewChanged(), and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 150 of file lorademodgui.cpp.
References m_deviceUISet, m_LoRaDemod, m_spectrumVis, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 163 of file lorademodgui.cpp.
References LoRaDemodSettings::bandwidths, LoRaDemod::MsgConfigureLoRaDemod::create(), LoRaDemod::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasebandSampleSink::getInputMessageQueue(), LoRaDemodSettings::m_bandwidthIndex, m_channelMarker, m_doApplySettings, m_LoRaDemod, m_settings, MessageQueue::push(), and RollupWidget::setTitleColor().
Referenced by deserialize(), LoRaDemodGUI(), on_BW_valueChanged(), resetToDefaults(), setCenterFrequency(), and viewChanged().
|
private |
Definition at line 158 of file lorademodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings().
|
static |
Definition at line 17 of file lorademodgui.cpp.
References LoRaDemodGUI().
Referenced by LoRaPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 60 of file lorademodgui.cpp.
References applySettings(), LoRaDemodSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 23 of file lorademodgui.cpp.
|
private |
Definition at line 179 of file lorademodgui.cpp.
References arg(), LoRaDemodSettings::bandwidths, blockApplySettings(), LoRaDemodSettings::m_bandwidthIndex, m_channelMarker, LoRaDemodSettings::m_rgbColor, m_settings, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), LoRaDemodGUI(), and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 38 of file lorademodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
|
virtual |
Implements PluginInstanceGUI.
Definition at line 33 of file lorademodgui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 72 of file lorademodgui.cpp.
|
privateslot |
Definition at line 83 of file lorademodgui.cpp.
References applySettings(), arg(), LoRaDemodSettings::bandwidths, LoRaDemodSettings::m_bandwidthIndex, m_channelMarker, m_settings, LoRaDemodSettings::nb_bandwidths, ChannelMarker::setBandwidth(), and ui.
|
privateslot |
Definition at line 100 of file lorademodgui.cpp.
|
privateslot |
Definition at line 105 of file lorademodgui.cpp.
Referenced by LoRaDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 48 of file lorademodgui.cpp.
References applySettings(), displaySettings(), m_settings, and LoRaDemodSettings::resetToDefaults().
Referenced by deserialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 55 of file lorademodgui.cpp.
References m_settings, and LoRaDemodSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 42 of file lorademodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 28 of file lorademodgui.cpp.
|
privateslot |
Definition at line 78 of file lorademodgui.cpp.
References applySettings().
Referenced by LoRaDemodGUI().
|
private |
Definition at line 49 of file lorademodgui.h.
Referenced by applySettings(), displaySettings(), getCenterFrequency(), LoRaDemodGUI(), on_BW_valueChanged(), and setCenterFrequency().
|
private |
Definition at line 48 of file lorademodgui.h.
Referenced by LoRaDemodGUI(), and ~LoRaDemodGUI().
|
private |
Definition at line 51 of file lorademodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 55 of file lorademodgui.h.
|
private |
Definition at line 53 of file lorademodgui.h.
Referenced by applySettings(), LoRaDemodGUI(), and ~LoRaDemodGUI().
|
private |
Definition at line 47 of file lorademodgui.h.
|
private |
Definition at line 50 of file lorademodgui.h.
Referenced by applySettings(), deserialize(), displaySettings(), LoRaDemodGUI(), on_BW_valueChanged(), resetToDefaults(), and serialize().
|
private |
Definition at line 54 of file lorademodgui.h.
Referenced by LoRaDemodGUI(), and ~LoRaDemodGUI().
|
private |
Definition at line 46 of file lorademodgui.h.
Referenced by displaySettings(), LoRaDemodGUI(), on_BW_valueChanged(), and ~LoRaDemodGUI().