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 <freedvdemodgui.h>
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 FreeDVDemodGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Slots | |
void | on_deltaFrequency_changed (qint64 value) |
void | on_reSync_clicked (bool checked) |
void | on_freeDVMode_currentIndexChanged (int index) |
void | on_volume_valueChanged (int value) |
void | on_volumeIn_valueChanged (int value) |
void | on_agc_toggled (bool checked) |
void | on_audioMute_toggled (bool checked) |
void | on_spanLog2_valueChanged (int value) |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
void | onMenuDialogCalled (const QPoint &p) |
void | handleInputMessages () |
void | audioSelect () |
void | tick () |
Private Member Functions | |
FreeDVDemodGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
virtual | ~FreeDVDemodGUI () |
bool | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | applyBandwidths (int spanLog2, bool force=false) |
void | displayBandwidths (int spanLog2) |
void | displaySettings () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::FreeDVDemodGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
FreeDVDemodSettings | m_settings |
bool | m_doApplySettings |
int | m_spectrumRate |
bool | m_audioBinaural |
bool | m_audioFlipChannels |
bool | m_audioMute |
bool | m_squelchOpen |
uint32_t | m_tickCount |
FreeDVDemod * | m_freeDVDemod |
SpectrumVis * | m_spectrumVis |
MessageQueue | m_inputMessageQueue |
QIcon | m_iconDSBUSB |
QIcon | m_iconDSBLSB |
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 42 of file freedvdemodgui.h.
|
explicitprivate |
Definition at line 245 of file freedvdemodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applyBandwidths(), arg(), audioSelect(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), LevelMeterSignalDB::ColorCyanAndBlue, LevelMeterSignalDB::ColorGreenAndBlue, displaySettings(), getInputMessageQueue(), BasebandSampleSink::getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleInputMessages(), FreeDVDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, m_freeDVDemod, m_iconDSBLSB, m_iconDSBUSB, m_settings, m_spectrumRate, m_spectrumVis, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), resetToDefaults(), SDR_RX_SCALEF, FreeDVDemodSettings::setChannelMarker(), BasebandSampleSink::setMessageQueueToGUI(), FreeDVDemod::setSampleSink(), FreeDVDemodSettings::setSpectrumGUI(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 315 of file freedvdemodgui.cpp.
References m_deviceUISet, m_freeDVDemod, m_spectrumVis, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 343 of file freedvdemodgui.cpp.
References applySettings(), displayBandwidths(), m_settings, and FreeDVDemodSettings::m_spanLog2.
Referenced by deserialize(), FreeDVDemodGUI(), handleMessage(), and on_spanLog2_valueChanged().
|
private |
Definition at line 330 of file freedvdemodgui.cpp.
References FreeDVDemod::MsgConfigureFreeDVDemod::create(), FreeDVDemod::MsgConfigureChannelizer::create(), FreeDVDemod::getAudioSampleRate(), ChannelMarker::getCenterFrequency(), BasebandSampleSink::getInputMessageQueue(), m_channelMarker, m_doApplySettings, m_freeDVDemod, m_settings, and MessageQueue::push().
Referenced by applyBandwidths(), audioSelect(), channelMarkerChangedByCursor(), on_agc_toggled(), on_audioMute_toggled(), on_deltaFrequency_changed(), on_freeDVMode_currentIndexChanged(), on_volume_valueChanged(), on_volumeIn_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
privateslot |
Definition at line 415 of file freedvdemodgui.cpp.
References applySettings(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, FreeDVDemodSettings::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by FreeDVDemodGUI().
|
private |
Definition at line 323 of file freedvdemodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
|
slot |
Definition at line 136 of file freedvdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, FreeDVDemodSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by FreeDVDemodGUI().
|
slot |
Definition at line 143 of file freedvdemodgui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by FreeDVDemodGUI().
|
static |
Definition at line 39 of file freedvdemodgui.cpp.
References FreeDVDemodGUI().
Referenced by FreeDVPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 82 of file freedvdemodgui.cpp.
References applyBandwidths(), FreeDVDemodSettings::deserialize(), displaySettings(), m_settings, FreeDVDemodSettings::resetToDefaults(), and ui.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 45 of file freedvdemodgui.cpp.
|
private |
Definition at line 350 of file freedvdemodgui.cpp.
References arg(), FreeDVDemod::getModemSampleRate(), m_freeDVDemod, m_spectrumRate, and ui.
Referenced by applyBandwidths(), and displaySettings().
|
private |
Definition at line 369 of file freedvdemodgui.cpp.
References arg(), blockApplySettings(), displayBandwidths(), ChannelMarker::getCenterFrequency(), FreeDVDemodSettings::getHiCutoff(), FreeDVDemodSettings::getLowCutoff(), ChannelMarker::getTitle(), FreeDVDemodSettings::m_agc, FreeDVDemodSettings::m_audioMute, m_channelMarker, FreeDVDemodSettings::m_freeDVMode, FreeDVDemodSettings::m_inputFrequencyOffset, FreeDVDemodSettings::m_rgbColor, m_settings, FreeDVDemodSettings::m_spanLog2, FreeDVDemodSettings::m_title, FreeDVDemodSettings::m_volume, FreeDVDemodSettings::m_volumeIn, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setLowCutoff(), ChannelMarker::setSidebands(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ui, and ChannelMarker::usb.
Referenced by deserialize(), FreeDVDemodGUI(), and handleMessage().
|
private |
Definition at line 410 of file freedvdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 60 of file freedvdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 57 of file freedvdemodgui.h.
Referenced by FreeDVDemodGUI(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 55 of file freedvdemodgui.cpp.
|
privateslot |
Definition at line 123 of file freedvdemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by FreeDVDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 99 of file freedvdemodgui.cpp.
References applyBandwidths(), blockApplySettings(), displaySettings(), FreeDVDemod::getAudioSampleRate(), FreeDVDemod::MsgConfigureFreeDVDemod::getSettings(), m_freeDVDemod, m_settings, Message::match(), and ui.
Referenced by handleInputMessages().
|
private |
Definition at line 405 of file freedvdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 185 of file freedvdemodgui.cpp.
References applySettings(), FreeDVDemodSettings::m_agc, and m_settings.
|
privateslot |
Definition at line 191 of file freedvdemodgui.cpp.
References applySettings(), FreeDVDemodSettings::m_audioMute, m_audioMute, and m_settings.
|
privateslot |
Definition at line 148 of file freedvdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, FreeDVDemodSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 162 of file freedvdemodgui.cpp.
References applySettings(), FreeDVDemodSettings::getHiCutoff(), FreeDVDemodSettings::getLowCutoff(), m_channelMarker, FreeDVDemodSettings::m_freeDVMode, m_settings, ChannelMarker::setBandwidth(), ChannelMarker::setLowCutoff(), ChannelMarker::setSidebands(), and ChannelMarker::usb.
|
privateslot |
Definition at line 155 of file freedvdemodgui.cpp.
References FreeDVDemod::MsgResyncFreeDVDemod::create(), BasebandSampleSink::getInputMessageQueue(), m_freeDVDemod, and MessageQueue::push().
|
privateslot |
Definition at line 198 of file freedvdemodgui.cpp.
References applyBandwidths(), and ui.
|
privateslot |
Definition at line 171 of file freedvdemodgui.cpp.
References applySettings(), arg(), m_settings, FreeDVDemodSettings::m_volume, and ui.
|
privateslot |
Definition at line 178 of file freedvdemodgui.cpp.
References applySettings(), arg(), m_settings, FreeDVDemodSettings::m_volumeIn, and ui.
|
privateslot |
Definition at line 207 of file freedvdemodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, FreeDVDemodSettings::m_inputFrequencyOffset, FreeDVDemodSettings::m_reverseAPIAddress, FreeDVDemodSettings::m_reverseAPIChannelIndex, FreeDVDemodSettings::m_reverseAPIDeviceIndex, FreeDVDemodSettings::m_reverseAPIPort, FreeDVDemodSettings::m_rgbColor, m_settings, FreeDVDemodSettings::m_title, FreeDVDemodSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by FreeDVDemodGUI().
|
privateslot |
Definition at line 239 of file freedvdemodgui.cpp.
Referenced by FreeDVDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 72 of file freedvdemodgui.cpp.
References m_settings, and FreeDVDemodSettings::resetToDefaults().
Referenced by FreeDVDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 77 of file freedvdemodgui.cpp.
References m_settings, and FreeDVDemodSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 65 of file freedvdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, FreeDVDemodSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 50 of file freedvdemodgui.cpp.
|
privateslot |
Definition at line 428 of file freedvdemodgui.cpp.
References arg(), CalcDb::dbPower(), FreeDVDemod::getAudioActive(), FreeDVDemod::getBER(), FreeDVDemod::getFrequencyOffset(), FreeDVDemod::getMagSqLevels(), FreeDVDemod::getSNRLevels(), FreeDVDemod::isSync(), m_freeDVDemod, FreeDVDemodSettings::m_mminPowerThresholdDBf, m_squelchOpen, m_tickCount, and ui.
Referenced by FreeDVDemodGUI().
|
private |
Definition at line 72 of file freedvdemodgui.h.
|
private |
Definition at line 73 of file freedvdemodgui.h.
|
private |
Definition at line 74 of file freedvdemodgui.h.
Referenced by on_audioMute_toggled().
|
private |
Definition at line 68 of file freedvdemodgui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), enterEvent(), FreeDVDemodGUI(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_freeDVMode_currentIndexChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
private |
Definition at line 67 of file freedvdemodgui.h.
Referenced by FreeDVDemodGUI(), and ~FreeDVDemodGUI().
|
private |
Definition at line 70 of file freedvdemodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 78 of file freedvdemodgui.h.
Referenced by applySettings(), displayBandwidths(), FreeDVDemodGUI(), handleMessage(), on_reSync_clicked(), tick(), and ~FreeDVDemodGUI().
|
private |
Definition at line 83 of file freedvdemodgui.h.
Referenced by FreeDVDemodGUI().
|
private |
Definition at line 82 of file freedvdemodgui.h.
Referenced by FreeDVDemodGUI().
|
private |
Definition at line 80 of file freedvdemodgui.h.
|
private |
Definition at line 66 of file freedvdemodgui.h.
|
private |
Definition at line 69 of file freedvdemodgui.h.
Referenced by applyBandwidths(), applySettings(), audioSelect(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), FreeDVDemodGUI(), handleMessage(), on_agc_toggled(), on_audioMute_toggled(), on_deltaFrequency_changed(), on_freeDVMode_currentIndexChanged(), on_volume_valueChanged(), on_volumeIn_valueChanged(), onMenuDialogCalled(), resetToDefaults(), serialize(), and setCenterFrequency().
|
private |
Definition at line 71 of file freedvdemodgui.h.
Referenced by displayBandwidths(), and FreeDVDemodGUI().
|
private |
Definition at line 79 of file freedvdemodgui.h.
Referenced by FreeDVDemodGUI(), and ~FreeDVDemodGUI().
|
private |
Definition at line 75 of file freedvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 76 of file freedvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 65 of file freedvdemodgui.h.
Referenced by channelMarkerChangedByCursor(), deserialize(), displayBandwidths(), displaySettings(), FreeDVDemodGUI(), handleMessage(), on_spanLog2_valueChanged(), on_volume_valueChanged(), on_volumeIn_valueChanged(), tick(), and ~FreeDVDemodGUI().