![]() |
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 <wfmdemodgui.h>
Inheritance diagram for WFMDemodGUI:
Collaboration diagram for WFMDemodGUI:Public Slots | |
| void | channelMarkerChangedByCursor () |
| void | channelMarkerHighlightedByCursor () |
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 WFMDemodGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Slots | |
| void | on_deltaFrequency_changed (qint64 value) |
| void | on_rfBW_changed (quint64 value) |
| void | on_afBW_valueChanged (int value) |
| void | on_volume_valueChanged (int value) |
| void | on_squelch_valueChanged (int value) |
| void | on_audioMute_toggled (bool checked) |
| void | onWidgetRolled (QWidget *widget, bool rollDown) |
| void | onMenuDialogCalled (const QPoint &p) |
| void | handleInputMessages () |
| void | audioSelect () |
| void | tick () |
Private Member Functions | |
| WFMDemodGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
| virtual | ~WFMDemodGUI () |
| void | blockApplySettings (bool block) |
| void | applySettings (bool force=false) |
| void | displaySettings () |
| void | leaveEvent (QEvent *) |
| void | enterEvent (QEvent *) |
Private Attributes | |
| Ui::WFMDemodGUI * | ui |
| PluginAPI * | m_pluginAPI |
| DeviceUISet * | m_deviceUISet |
| ChannelMarker | m_channelMarker |
| WFMDemodSettings | m_settings |
| bool | m_basicSettingsShown |
| bool | m_doApplySettings |
| bool | m_audioMute |
| bool | m_squelchOpen |
| WFMDemod * | m_wfmDemod |
| 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 20 of file wfmdemodgui.h.
|
explicitprivate |
Definition at line 201 of file wfmdemodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), audioSelect(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), LevelMeterSignalDB::ColorGreenAndBlue, displaySettings(), ChannelMarker::getColor(), getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, ColorMapper::GrayYellow, handleInputMessages(), WFMDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, WFMDemodSettings::m_rfBandwidth, WFMDemodSettings::m_rfBWDigits, WFMDemodSettings::m_rfBWMax, WFMDemodSettings::m_rfBWMin, WFMDemodSettings::m_rgbColor, m_settings, m_wfmDemod, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), WFMDemodSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatevirtual |
Definition at line 253 of file wfmdemodgui.cpp.
References m_deviceUISet, m_wfmDemod, DeviceUISet::removeRxChannelInstance(), and ui.
Here is the call graph for this function:
|
private |
Definition at line 266 of file wfmdemodgui.cpp.
References WFMDemod::MsgConfigureWFMDemod::create(), WFMDemod::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), BasebandSampleSink::getInputMessageQueue(), m_channelMarker, m_doApplySettings, WFMDemodSettings::m_rfBandwidth, m_settings, m_wfmDemod, MessageQueue::push(), and WFMDemod::requiredBW().
Referenced by audioSelect(), channelMarkerChangedByCursor(), deserialize(), on_afBW_valueChanged(), on_audioMute_toggled(), on_deltaFrequency_changed(), on_rfBW_changed(), on_squelch_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), setCenterFrequency(), and WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 317 of file wfmdemodgui.cpp.
References applySettings(), DSPEngine::instance(), WFMDemodSettings::m_audioDeviceName, AudioSelectDialog::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 261 of file wfmdemodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
Here is the caller graph for this function:
|
slot |
Definition at line 110 of file wfmdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, WFMDemodSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
slot |
Definition at line 117 of file wfmdemodgui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 22 of file wfmdemodgui.cpp.
References WFMDemodGUI().
Referenced by WFMPlugin::createRxChannelGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 66 of file wfmdemodgui.cpp.
References applySettings(), WFMDemodSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 28 of file wfmdemodgui.cpp.
|
private |
Definition at line 280 of file wfmdemodgui.cpp.
References arg(), blockApplySettings(), ChannelMarker::getCenterFrequency(), ChannelMarker::getTitle(), WFMDemodSettings::m_afBandwidth, WFMDemodSettings::m_audioMute, m_channelMarker, WFMDemodSettings::m_inputFrequencyOffset, WFMDemodSettings::m_rfBandwidth, WFMDemodSettings::m_rgbColor, m_settings, WFMDemodSettings::m_squelch, WFMDemodSettings::m_title, WFMDemodSettings::m_volume, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), handleMessage(), resetToDefaults(), and WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 312 of file wfmdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 43 of file wfmdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
Here is the call graph for this function:
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 35 of file wfmdemodgui.h.
Referenced by handleInputMessages(), and WFMDemodGUI().
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 38 of file wfmdemodgui.cpp.
|
privateslot |
Definition at line 97 of file wfmdemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 78 of file wfmdemodgui.cpp.
References blockApplySettings(), displaySettings(), WFMDemod::MsgConfigureWFMDemod::getSettings(), m_settings, and Message::match().
Referenced by handleInputMessages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 307 of file wfmdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
Here is the call graph for this function:
|
privateslot |
Definition at line 136 of file wfmdemodgui.cpp.
References applySettings(), arg(), WFMDemodSettings::m_afBandwidth, m_settings, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 157 of file wfmdemodgui.cpp.
References applySettings(), WFMDemodSettings::m_audioMute, and m_settings.
Here is the call graph for this function:
|
privateslot |
Definition at line 122 of file wfmdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, WFMDemodSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
Here is the call graph for this function:
|
privateslot |
Definition at line 129 of file wfmdemodgui.cpp.
References applySettings(), m_channelMarker, WFMDemodSettings::m_rfBandwidth, m_settings, and ChannelMarker::setBandwidth().
Here is the call graph for this function:
|
privateslot |
Definition at line 150 of file wfmdemodgui.cpp.
References applySettings(), arg(), m_settings, WFMDemodSettings::m_squelch, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 143 of file wfmdemodgui.cpp.
References applySettings(), arg(), m_settings, WFMDemodSettings::m_volume, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 169 of file wfmdemodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, WFMDemodSettings::m_inputFrequencyOffset, WFMDemodSettings::m_reverseAPIAddress, WFMDemodSettings::m_reverseAPIChannelIndex, WFMDemodSettings::m_reverseAPIDeviceIndex, WFMDemodSettings::m_reverseAPIPort, WFMDemodSettings::m_rgbColor, m_settings, WFMDemodSettings::m_title, WFMDemodSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 163 of file wfmdemodgui.cpp.
Referenced by WFMDemodGUI().
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 54 of file wfmdemodgui.cpp.
References applySettings(), displaySettings(), m_settings, and WFMDemodSettings::resetToDefaults().
Referenced by deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 61 of file wfmdemodgui.cpp.
References m_settings, and WFMDemodSettings::serialize().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 48 of file wfmdemodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 33 of file wfmdemodgui.cpp.
|
privateslot |
Definition at line 330 of file wfmdemodgui.cpp.
References CalcDb::dbPower(), WFMDemod::getMagSqLevels(), WFMDemod::getSquelchOpen(), m_squelchOpen, m_wfmDemod, and ui.
Referenced by WFMDemodGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 50 of file wfmdemodgui.h.
|
private |
Definition at line 48 of file wfmdemodgui.h.
|
private |
Definition at line 46 of file wfmdemodgui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_rfBW_changed(), onMenuDialogCalled(), setCenterFrequency(), and WFMDemodGUI().
|
private |
Definition at line 45 of file wfmdemodgui.h.
Referenced by WFMDemodGUI(), and ~WFMDemodGUI().
|
private |
Definition at line 49 of file wfmdemodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 54 of file wfmdemodgui.h.
|
private |
Definition at line 44 of file wfmdemodgui.h.
|
private |
Definition at line 47 of file wfmdemodgui.h.
Referenced by applySettings(), audioSelect(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), handleMessage(), on_afBW_valueChanged(), on_audioMute_toggled(), on_deltaFrequency_changed(), on_rfBW_changed(), on_squelch_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), serialize(), and WFMDemodGUI().
|
private |
Definition at line 51 of file wfmdemodgui.h.
Referenced by tick().
|
private |
Definition at line 53 of file wfmdemodgui.h.
Referenced by applySettings(), tick(), WFMDemodGUI(), and ~WFMDemodGUI().
|
private |
Definition at line 43 of file wfmdemodgui.h.
Referenced by channelMarkerChangedByCursor(), displaySettings(), on_afBW_valueChanged(), on_squelch_valueChanged(), on_volume_valueChanged(), tick(), WFMDemodGUI(), and ~WFMDemodGUI().
1.8.13