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 <dsddemodgui.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 DSDDemodGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Member Functions | |
DSDDemodGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
virtual | ~DSDDemodGUI () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | updateMyPosition () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::DSDDemodGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
DSDDemodSettings | m_settings |
bool | m_doApplySettings |
ScopeVisXY * | m_scopeVisXY |
DSDDemod * | m_dsdDemod |
bool | m_enableCosineFiltering |
bool | m_syncOrConstellation |
bool | m_slot1On |
bool | m_slot2On |
bool | m_tdmaStereo |
bool | m_audioMute |
bool | m_squelchOpen |
uint32_t | m_tickCount |
float | m_myLatitude |
float | m_myLongitude |
MessageQueue | m_inputMessageQueue |
DSDStatusTextDialog | m_dsdStatusTextDialog |
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 45 of file dsddemodgui.h.
|
explicitprivate |
Definition at line 311 of file dsddemodgui.cpp.
References DeviceUISet::addChannelMarker(), ScopeVisXY::addGraticulePoint(), DeviceUISet::addRollupWidget(), applySettings(), arg(), audioSelect(), ScopeVisXY::calculateGraticule(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), LevelMeterSignalDB::ColorGreenAndBlue, displaySettings(), getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleInputMessages(), DSDDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, m_dsdDemod, m_scopeVisXY, m_settings, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), DSDDemodSettings::setChannelMarker(), ChannelMarker::setColor(), ScopeVisXY::setGridRGB(), BasebandSampleSink::setMessageQueueToGUI(), ScopeVisXY::setPixelsPerFrame(), ScopeVisXY::setPlotRGB(), ScopeVisXY::setScale(), DSDDemod::setScopeXYSink(), ChannelMarker::setTitle(), ChannelMarker::setVisible(), tick(), ui, updateMyPosition(), and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 390 of file dsddemodgui.cpp.
References m_deviceUISet, m_dsdDemod, m_scopeVisXY, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 471 of file dsddemodgui.cpp.
References DSDDemod::MsgConfigureDSDDemod::create(), DSDDemod::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), BasebandSampleSink::getInputMessageQueue(), m_channelMarker, m_doApplySettings, m_dsdDemod, m_settings, and MessageQueue::push().
Referenced by audioSelect(), channelMarkerChangedByCursor(), deserialize(), DSDDemodGUI(), on_audioMute_toggled(), on_baudRate_currentIndexChanged(), on_deltaFrequency_changed(), on_demodGain_valueChanged(), on_enableCosineFiltering_toggled(), on_fmDeviation_valueChanged(), on_highPassFilter_toggled(), on_rfBW_valueChanged(), on_slot1On_toggled(), on_slot2On_toggled(), on_squelch_valueChanged(), on_squelchGate_valueChanged(), on_symbolPLLLock_toggled(), on_syncOrConstellation_toggled(), on_tdmaStereoSplit_toggled(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and setCenterFrequency().
|
privateslot |
Definition at line 513 of file dsddemodgui.cpp.
References applySettings(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, DSDDemodSettings::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by DSDDemodGUI().
|
private |
Definition at line 496 of file dsddemodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), handleMessage(), and resetToDefaults().
|
slot |
Definition at line 501 of file dsddemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, DSDDemodSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by DSDDemodGUI().
|
slot |
Definition at line 508 of file dsddemodgui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by DSDDemodGUI().
|
static |
Definition at line 45 of file dsddemodgui.cpp.
References DSDDemodGUI().
Referenced by DSDDemodPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 91 of file dsddemodgui.cpp.
References applySettings(), DSDDemodSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 51 of file dsddemodgui.cpp.
|
private |
Definition at line 411 of file dsddemodgui.cpp.
References arg(), blockApplySettings(), ChannelMarker::getCenterFrequency(), DSDDemodBaudRates::getRateIndex(), ChannelMarker::getTitle(), DSDDemodSettings::m_audioMute, DSDDemodSettings::m_baudRate, m_channelMarker, DSDDemodSettings::m_demodGain, DSDDemodSettings::m_enableCosineFiltering, DSDDemodSettings::m_fmDeviation, DSDDemodSettings::m_highPassFilter, DSDDemodSettings::m_inputFrequencyOffset, DSDDemodSettings::m_pllLock, DSDDemodSettings::m_rfBandwidth, DSDDemodSettings::m_rgbColor, m_scopeVisXY, m_settings, DSDDemodSettings::m_slot1On, DSDDemodSettings::m_slot2On, DSDDemodSettings::m_squelch, DSDDemodSettings::m_squelchGate, DSDDemodSettings::m_syncOrConstellation, DSDDemodSettings::m_tdmaStereo, DSDDemodSettings::m_title, DSDDemodSettings::m_traceDecay, DSDDemodSettings::m_traceLengthMutliplier, DSDDemodSettings::m_traceStroke, DSDDemodSettings::m_volume, ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ScopeVisXY::setDecay(), ScopeVisXY::setPixelsPerFrame(), ScopeVisXY::setStroke(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), DSDDemodGUI(), handleMessage(), and resetToDefaults().
|
private |
Definition at line 491 of file dsddemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 66 of file dsddemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 60 of file dsddemodgui.h.
Referenced by DSDDemodGUI(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 61 of file dsddemodgui.cpp.
|
privateslot |
Definition at line 124 of file dsddemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by DSDDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 106 of file dsddemodgui.cpp.
References blockApplySettings(), displaySettings(), DSDDemod::MsgConfigureDSDDemod::getSettings(), m_settings, and Message::match().
Referenced by handleInputMessages().
|
private |
Definition at line 486 of file dsddemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 244 of file dsddemodgui.cpp.
References applySettings(), DSDDemodSettings::m_audioMute, and m_settings.
|
privateslot |
Definition at line 173 of file dsddemodgui.cpp.
References applySettings(), DSDDemodBaudRates::getRate(), DSDDemodSettings::m_baudRate, and m_settings.
|
privateslot |
Definition at line 137 of file dsddemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, DSDDemodSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 152 of file dsddemodgui.cpp.
References applySettings(), arg(), DSDDemodSettings::m_demodGain, m_settings, and ui.
|
privateslot |
Definition at line 179 of file dsddemodgui.cpp.
References applySettings(), DSDDemodSettings::m_enableCosineFiltering, and m_settings.
|
privateslot |
Definition at line 159 of file dsddemodgui.cpp.
References applySettings(), arg(), DSDDemodSettings::m_fmDeviation, m_settings, and ui.
|
privateslot |
Definition at line 250 of file dsddemodgui.cpp.
References applySettings(), DSDDemodSettings::m_highPassFilter, and m_settings.
|
privateslot |
Definition at line 144 of file dsddemodgui.cpp.
References applySettings(), arg(), m_channelMarker, DSDDemodSettings::m_rfBandwidth, m_settings, ChannelMarker::setBandwidth(), and ui.
|
privateslot |
Definition at line 212 of file dsddemodgui.cpp.
References applySettings(), m_settings, and DSDDemodSettings::m_slot1On.
|
privateslot |
Definition at line 218 of file dsddemodgui.cpp.
References applySettings(), m_settings, and DSDDemodSettings::m_slot2On.
|
privateslot |
Definition at line 237 of file dsddemodgui.cpp.
References applySettings(), arg(), m_settings, DSDDemodSettings::m_squelch, and ui.
|
privateslot |
Definition at line 230 of file dsddemodgui.cpp.
References applySettings(), arg(), m_settings, DSDDemodSettings::m_squelchGate, and ui.
|
privateslot |
Definition at line 256 of file dsddemodgui.cpp.
References applySettings(), DSDDemodSettings::m_pllLock, m_settings, and ui.
|
privateslot |
Definition at line 185 of file dsddemodgui.cpp.
References applySettings(), m_settings, and DSDDemodSettings::m_syncOrConstellation.
|
privateslot |
Definition at line 224 of file dsddemodgui.cpp.
References applySettings(), m_settings, and DSDDemodSettings::m_tdmaStereo.
|
privateslot |
Definition at line 205 of file dsddemodgui.cpp.
References arg(), m_scopeVisXY, m_settings, DSDDemodSettings::m_traceDecay, ScopeVisXY::setDecay(), and ui.
|
privateslot |
Definition at line 191 of file dsddemodgui.cpp.
References arg(), m_scopeVisXY, m_settings, DSDDemodSettings::m_traceLengthMutliplier, ScopeVisXY::setPixelsPerFrame(), and ui.
|
privateslot |
Definition at line 198 of file dsddemodgui.cpp.
References arg(), m_scopeVisXY, m_settings, DSDDemodSettings::m_traceStroke, ScopeVisXY::setStroke(), and ui.
|
privateslot |
Definition at line 305 of file dsddemodgui.cpp.
References m_dsdStatusTextDialog.
|
privateslot |
Definition at line 166 of file dsddemodgui.cpp.
References applySettings(), arg(), m_settings, DSDDemodSettings::m_volume, and ui.
|
privateslot |
Definition at line 273 of file dsddemodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, DSDDemodSettings::m_inputFrequencyOffset, DSDDemodSettings::m_reverseAPIAddress, DSDDemodSettings::m_reverseAPIChannelIndex, DSDDemodSettings::m_reverseAPIDeviceIndex, DSDDemodSettings::m_reverseAPIPort, DSDDemodSettings::m_rgbColor, m_settings, DSDDemodSettings::m_title, DSDDemodSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by DSDDemodGUI().
|
privateslot |
Definition at line 267 of file dsddemodgui.cpp.
Referenced by DSDDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 77 of file dsddemodgui.cpp.
References applySettings(), blockApplySettings(), displaySettings(), m_settings, and DSDDemodSettings::resetToDefaults().
Referenced by deserialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 86 of file dsddemodgui.cpp.
References m_settings, and DSDDemodSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 71 of file dsddemodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 56 of file dsddemodgui.cpp.
|
privateslot |
Definition at line 526 of file dsddemodgui.cpp.
References DSDStatusTextDialog::addLine(), arg(), CalcDb::dbPower(), DSDDecoder::getCarrierPos(), DSDDemod::getDecoder(), DSDDecoder::getFrameTypeText(), DSDDecoder::getInLevel(), DSDDemod::getMagSqLevels(), DSDDemod::getSquelchOpen(), DSDDecoder::getSymbolPLLLocked(), DSDDecoder::getSymbolSyncQuality(), DSDDecoder::getVoice1On(), DSDDecoder::getVoice2On(), DSDDecoder::getZeroCrossingPos(), m_dsdDemod, m_dsdStatusTextDialog, m_squelchOpen, m_tickCount, ui, and DSDDemod::updateAndGetStatusText().
Referenced by DSDDemodGUI().
|
private |
Definition at line 398 of file dsddemodgui.cpp.
References DSDDemod::configureMyPosition(), BasebandSampleSink::getInputMessageQueue(), MainWindow::getInstance(), MainSettings::getLatitude(), MainSettings::getLongitude(), MainWindow::getMainSettings(), m_dsdDemod, m_myLatitude, and m_myLongitude.
Referenced by DSDDemodGUI().
|
private |
Definition at line 92 of file dsddemodgui.h.
|
private |
Definition at line 80 of file dsddemodgui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), DSDDemodGUI(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_rfBW_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
private |
Definition at line 79 of file dsddemodgui.h.
Referenced by DSDDemodGUI(), and ~DSDDemodGUI().
|
private |
Definition at line 82 of file dsddemodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 86 of file dsddemodgui.h.
Referenced by applySettings(), DSDDemodGUI(), tick(), updateMyPosition(), and ~DSDDemodGUI().
|
private |
Definition at line 101 of file dsddemodgui.h.
Referenced by on_viewStatusLog_clicked(), and tick().
|
private |
Definition at line 87 of file dsddemodgui.h.
|
private |
Definition at line 99 of file dsddemodgui.h.
|
private |
Definition at line 96 of file dsddemodgui.h.
Referenced by updateMyPosition().
|
private |
Definition at line 97 of file dsddemodgui.h.
Referenced by updateMyPosition().
|
private |
Definition at line 78 of file dsddemodgui.h.
|
private |
Definition at line 84 of file dsddemodgui.h.
Referenced by displaySettings(), DSDDemodGUI(), on_traceDecay_valueChanged(), on_traceLength_valueChanged(), on_traceStroke_valueChanged(), and ~DSDDemodGUI().
|
private |
Definition at line 81 of file dsddemodgui.h.
Referenced by applySettings(), audioSelect(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), DSDDemodGUI(), handleMessage(), on_audioMute_toggled(), on_baudRate_currentIndexChanged(), on_deltaFrequency_changed(), on_demodGain_valueChanged(), on_enableCosineFiltering_toggled(), on_fmDeviation_valueChanged(), on_highPassFilter_toggled(), on_rfBW_valueChanged(), on_slot1On_toggled(), on_slot2On_toggled(), on_squelch_valueChanged(), on_squelchGate_valueChanged(), on_symbolPLLLock_toggled(), on_syncOrConstellation_toggled(), on_tdmaStereoSplit_toggled(), on_traceDecay_valueChanged(), on_traceLength_valueChanged(), on_traceStroke_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and serialize().
|
private |
Definition at line 89 of file dsddemodgui.h.
|
private |
Definition at line 90 of file dsddemodgui.h.
|
private |
Definition at line 93 of file dsddemodgui.h.
Referenced by tick().
|
private |
Definition at line 88 of file dsddemodgui.h.
|
private |
Definition at line 91 of file dsddemodgui.h.
|
private |
Definition at line 94 of file dsddemodgui.h.
Referenced by tick().
|
private |
Definition at line 77 of file dsddemodgui.h.
Referenced by channelMarkerChangedByCursor(), displaySettings(), DSDDemodGUI(), on_demodGain_valueChanged(), on_fmDeviation_valueChanged(), on_rfBW_valueChanged(), on_squelch_valueChanged(), on_squelchGate_valueChanged(), on_symbolPLLLock_toggled(), on_traceDecay_valueChanged(), on_traceLength_valueChanged(), on_traceStroke_valueChanged(), on_volume_valueChanged(), tick(), and ~DSDDemodGUI().