|  | 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 <wfmmodgui.h>
 Inheritance diagram for WFMModGUI:
 Inheritance diagram for WFMModGUI: Collaboration diagram for WFMModGUI:
 Collaboration diagram for WFMModGUI:| Public Slots | |
| void | channelMarkerChangedByCursor () | 
| 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 WFMModGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx) | 
| Private Slots | |
| void | handleSourceMessages () | 
| void | on_deltaFrequency_changed (qint64 value) | 
| void | on_rfBW_currentIndexChanged (int index) | 
| void | on_afBW_valueChanged (int value) | 
| void | on_fmDev_valueChanged (int value) | 
| void | on_toneFrequency_valueChanged (int value) | 
| void | on_volume_valueChanged (int value) | 
| void | on_channelMute_toggled (bool checked) | 
| void | on_tone_toggled (bool checked) | 
| void | on_morseKeyer_toggled (bool checked) | 
| void | on_mic_toggled (bool checked) | 
| void | on_play_toggled (bool checked) | 
| void | on_playLoop_toggled (bool checked) | 
| void | on_navTimeSlider_valueChanged (int value) | 
| void | on_showFileDialog_clicked (bool checked) | 
| void | onWidgetRolled (QWidget *widget, bool rollDown) | 
| void | onMenuDialogCalled (const QPoint &p) | 
| void | configureFileName () | 
| void | audioSelect () | 
| void | tick () | 
| Private Member Functions | |
| WFMModGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx, QWidget *parent=0) | |
| virtual | ~WFMModGUI () | 
| void | blockApplySettings (bool block) | 
| void | applySettings (bool force=false) | 
| void | displaySettings () | 
| void | updateWithStreamData () | 
| void | updateWithStreamTime () | 
| void | leaveEvent (QEvent *) | 
| void | enterEvent (QEvent *) | 
| Static Private Member Functions | |
| static int | requiredBW (int rfBW) | 
| Private Attributes | |
| Ui::WFMModGUI * | ui | 
| PluginAPI * | m_pluginAPI | 
| DeviceUISet * | m_deviceUISet | 
| ChannelMarker | m_channelMarker | 
| WFMModSettings | m_settings | 
| bool | m_doApplySettings | 
| WFMMod * | m_wfmMod | 
| MovingAverageUtil< double, double, 20 > | m_channelPowerDbAvg | 
| QString | m_fileName | 
| quint32 | m_recordLength | 
| int | m_recordSampleRate | 
| int | m_samplesCount | 
| std::size_t | m_tickCount | 
| bool | m_enableNavTime | 
| 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 40 of file wfmmodgui.h.
| 
 | explicitprivate | 
Definition at line 318 of file wfmmodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), audioSelect(), blockApplySettings(), channelMarkerChangedByCursor(), displaySettings(), WFMMod::getCWKeyer(), getInputMessageQueue(), MainWindow::getInstance(), WFMModSettings::getRFBW(), ColorMapper::GrayGold, handleSourceMessages(), i, WFMMod::m_channelIdURI, m_channelMarker, m_deviceUISet, WFMModSettings::m_nbRfBW, m_settings, m_wfmMod, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerTxChannelInstance(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), WFMModSettings::setChannelMarker(), ChannelMarker::setColor(), WFMModSettings::setCWKeyerGUI(), BasebandSampleSource::setMessageQueueToGUI(), ChannelMarker::setSourceOrSinkStream(), ChannelMarker::setTitle(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | privatevirtual | 
Definition at line 391 of file wfmmodgui.cpp.
References m_deviceUISet, m_wfmMod, DeviceUISet::removeTxChannelInstance(), and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 403 of file wfmmodgui.cpp.
References WFMMod::MsgConfigureWFMMod::create(), WFMMod::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasebandSampleSource::getInputMessageQueue(), WFMModSettings::getRFBW(), m_channelMarker, m_doApplySettings, m_settings, m_wfmMod, MessageQueue::push(), requiredBW(), RollupWidget::setTitleColor(), and ui.
Referenced by audioSelect(), channelMarkerChangedByCursor(), deserialize(), on_afBW_valueChanged(), on_channelMute_toggled(), on_deltaFrequency_changed(), on_fmDev_valueChanged(), on_mic_toggled(), on_morseKeyer_toggled(), on_play_toggled(), on_playLoop_toggled(), on_rfBW_currentIndexChanged(), on_tone_toggled(), on_toneFrequency_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), setCenterFrequency(), and WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | privateslot | 
Definition at line 477 of file wfmmodgui.cpp.
References applySettings(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, WFMModSettings::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 398 of file wfmmodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), handleMessage(), and WFMModGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 132 of file wfmmodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, WFMModSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | privateslot | 
Definition at line 273 of file wfmmodgui.cpp.
References WFMMod::MsgConfigureFileSourceName::create(), BasebandSampleSource::getInputMessageQueue(), m_fileName, m_wfmMod, and MessageQueue::push().
Referenced by on_showFileDialog_clicked().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 39 of file wfmmodgui.cpp.
References WFMModGUI().
Referenced by WFMModPlugin::createTxChannelGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 82 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 45 of file wfmmodgui.cpp.
| 
 | private | 
Definition at line 421 of file wfmmodgui.cpp.
References arg(), blockApplySettings(), ChannelMarker::getCenterFrequency(), WFMModSettings::getRFBWIndex(), ChannelMarker::getTitle(), WFMModSettings::m_afBandwidth, m_channelMarker, WFMModSettings::m_channelMute, WFMModSettings::m_fmDeviation, WFMModSettings::m_inputFrequencyOffset, WFMModSettings::m_modAFInput, WFMModSettings::m_playLoop, WFMModSettings::m_rfBandwidth, WFMModSettings::m_rgbColor, m_settings, WFMModSettings::m_title, WFMModSettings::m_toneFrequency, WFMModSettings::m_volumeFactor, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), handleMessage(), resetToDefaults(), and WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 472 of file wfmmodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 60 of file wfmmodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inlinevirtual | 
Implements PluginInstanceGUI.
Definition at line 55 of file wfmmodgui.h.
Referenced by handleSourceMessages(), and WFMModGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 55 of file wfmmodgui.cpp.
| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 94 of file wfmmodgui.cpp.
References blockApplySettings(), displaySettings(), WFMMod::MsgConfigureWFMMod::getSettings(), CWKeyer::MsgConfigureCWKeyer::getSettings(), m_recordLength, m_recordSampleRate, m_samplesCount, m_settings, Message::match(), ui, updateWithStreamData(), and updateWithStreamTime().
Referenced by handleSourceMessages().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | privateslot | 
Definition at line 139 of file wfmmodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 467 of file wfmmodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 167 of file wfmmodgui.cpp.
References applySettings(), arg(), WFMModSettings::m_afBandwidth, m_settings, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 195 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::m_channelMute, and m_settings.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 152 of file wfmmodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, WFMModSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 174 of file wfmmodgui.cpp.
References applySettings(), arg(), WFMModSettings::m_fmDeviation, m_settings, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 236 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::m_modAFInput, m_settings, ui, WFMModSettings::WFMModInputAudio, and WFMModSettings::WFMModInputNone.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 227 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::m_modAFInput, m_settings, ui, WFMModSettings::WFMModInputCWTone, and WFMModSettings::WFMModInputNone.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 245 of file wfmmodgui.cpp.
References WFMMod::MsgConfigureFileSourceSeek::create(), BasebandSampleSource::getInputMessageQueue(), m_enableNavTime, m_recordLength, m_wfmMod, and MessageQueue::push().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 207 of file wfmmodgui.cpp.
References applySettings(), m_enableNavTime, WFMModSettings::m_modAFInput, m_settings, ui, WFMModSettings::WFMModInputFile, and WFMModSettings::WFMModInputNone.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 201 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::m_playLoop, and m_settings.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 159 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::getRFBW(), m_channelMarker, WFMModSettings::m_rfBandwidth, m_settings, and ChannelMarker::setBandwidth().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 258 of file wfmmodgui.cpp.
References configureFileName(), m_fileName, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 218 of file wfmmodgui.cpp.
References applySettings(), WFMModSettings::m_modAFInput, m_settings, ui, WFMModSettings::WFMModInputNone, and WFMModSettings::WFMModInputTone.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 188 of file wfmmodgui.cpp.
References applySettings(), arg(), m_settings, WFMModSettings::m_toneFrequency, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 181 of file wfmmodgui.cpp.
References applySettings(), arg(), m_settings, WFMModSettings::m_volumeFactor, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 286 of file wfmmodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, WFMModSettings::m_inputFrequencyOffset, WFMModSettings::m_reverseAPIAddress, WFMModSettings::m_reverseAPIChannelIndex, WFMModSettings::m_reverseAPIDeviceIndex, WFMModSettings::m_reverseAPIPort, WFMModSettings::m_rgbColor, m_settings, WFMModSettings::m_title, WFMModSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | privateslot | 
Definition at line 280 of file wfmmodgui.cpp.
Referenced by WFMModGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | inlinestaticprivate | 
Definition at line 94 of file wfmmodgui.h.
Referenced by applySettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 70 of file wfmmodgui.cpp.
References applySettings(), displaySettings(), m_settings, and WFMModSettings::resetToDefaults().
Referenced by deserialize().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 77 of file wfmmodgui.cpp.
References m_settings, and WFMModSettings::serialize().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 64 of file wfmmodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 50 of file wfmmodgui.cpp.
| 
 | privateslot | 
Definition at line 490 of file wfmmodgui.cpp.
References arg(), WFMMod::MsgConfigureFileSourceStreamTiming::create(), CalcDb::dbPower(), BasebandSampleSource::getInputMessageQueue(), WFMMod::getMagSq(), m_channelPowerDbAvg, WFMModSettings::m_modAFInput, m_settings, m_tickCount, m_wfmMod, MessageQueue::push(), ui, and WFMModSettings::WFMModInputFile.
Referenced by WFMModGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 503 of file wfmmodgui.cpp.
References m_recordLength, ui, and updateWithStreamTime().
Referenced by handleMessage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 512 of file wfmmodgui.cpp.
References m_enableNavTime, m_recordLength, m_recordSampleRate, m_samplesCount, and ui.
Referenced by handleMessage(), and updateWithStreamData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 65 of file wfmmodgui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_rfBW_currentIndexChanged(), onMenuDialogCalled(), setCenterFrequency(), and WFMModGUI().
| 
 | private | 
Definition at line 72 of file wfmmodgui.h.
Referenced by tick().
| 
 | private | 
Definition at line 64 of file wfmmodgui.h.
Referenced by WFMModGUI(), and ~WFMModGUI().
| 
 | private | 
Definition at line 67 of file wfmmodgui.h.
Referenced by applySettings(), and blockApplySettings().
| 
 | private | 
Definition at line 79 of file wfmmodgui.h.
Referenced by on_navTimeSlider_valueChanged(), on_play_toggled(), and updateWithStreamTime().
| 
 | private | 
Definition at line 74 of file wfmmodgui.h.
Referenced by configureFileName(), and on_showFileDialog_clicked().
| 
 | private | 
Definition at line 80 of file wfmmodgui.h.
| 
 | private | 
Definition at line 63 of file wfmmodgui.h.
| 
 | private | 
Definition at line 75 of file wfmmodgui.h.
Referenced by handleMessage(), on_navTimeSlider_valueChanged(), updateWithStreamData(), and updateWithStreamTime().
| 
 | private | 
Definition at line 76 of file wfmmodgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
| 
 | private | 
Definition at line 77 of file wfmmodgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
| 
 | private | 
Definition at line 66 of file wfmmodgui.h.
Referenced by applySettings(), audioSelect(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), handleMessage(), on_afBW_valueChanged(), on_channelMute_toggled(), on_deltaFrequency_changed(), on_fmDev_valueChanged(), on_mic_toggled(), on_morseKeyer_toggled(), on_play_toggled(), on_playLoop_toggled(), on_rfBW_currentIndexChanged(), on_tone_toggled(), on_toneFrequency_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), serialize(), tick(), and WFMModGUI().
| 
 | private | 
Definition at line 78 of file wfmmodgui.h.
Referenced by tick().
| 
 | private | 
Definition at line 71 of file wfmmodgui.h.
Referenced by applySettings(), configureFileName(), on_navTimeSlider_valueChanged(), tick(), WFMModGUI(), and ~WFMModGUI().
| 
 | private | 
Definition at line 62 of file wfmmodgui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), displaySettings(), handleMessage(), on_afBW_valueChanged(), on_fmDev_valueChanged(), on_mic_toggled(), on_morseKeyer_toggled(), on_play_toggled(), on_showFileDialog_clicked(), on_tone_toggled(), on_toneFrequency_valueChanged(), on_volume_valueChanged(), tick(), updateWithStreamData(), updateWithStreamTime(), WFMModGUI(), and ~WFMModGUI().
 1.8.13
 1.8.13