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 <atvdemodgui.h>
Public Slots | |
void | channelMarkerChangedByCursor () |
void | channelMarkerHighlightedByCursor () |
Public Member Functions | |
virtual void | destroy () |
void | setName (const QString &strName) |
QString | getName () const |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 intCenterFrequency) |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &arrData) |
virtual MessageQueue * | getInputMessageQueue () |
virtual bool | handleMessage (const Message &objMessage) |
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 ATVDemodGUI * | create (PluginAPI *objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Slots | |
void | handleSourceMessages () |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
void | tick () |
void | on_synchLevel_valueChanged (int value) |
void | on_blackLevel_valueChanged (int value) |
void | on_lineTime_valueChanged (int value) |
void | on_topTime_valueChanged (int value) |
void | on_hSync_clicked () |
void | on_vSync_clicked () |
void | on_invertVideo_clicked () |
void | on_halfImage_clicked () |
void | on_modulation_currentIndexChanged (int index) |
void | on_nbLines_currentIndexChanged (int index) |
void | on_fps_currentIndexChanged (int index) |
void | on_standard_currentIndexChanged (int index) |
void | on_reset_clicked (bool checked) |
void | on_rfBW_valueChanged (int value) |
void | on_rfOppBW_valueChanged (int value) |
void | on_rfFiltering_toggled (bool checked) |
void | on_decimatorEnable_toggled (bool checked) |
void | on_deltaFrequency_changed (qint64 value) |
void | on_bfo_valueChanged (int value) |
void | on_fmDeviation_valueChanged (int value) |
void | on_screenTabWidget_currentChanged (int index) |
Private Member Functions | |
ATVDemodGUI (PluginAPI *objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *objParent=0) | |
virtual | ~ATVDemodGUI () |
void | blockApplySettings (bool blnBlock) |
void | applySettings () |
void | applyRFSettings () |
void | setChannelMarkerBandwidth () |
void | setRFFiltersSlidersRange (int sampleRate) |
void | lineTimeUpdate () |
void | topTimeUpdate () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Static Private Member Functions | |
static float | getFps (int fpsIndex) |
static float | getNominalLineTime (int nbLinesIndex, int fpsIndex) |
static int | getNumberOfLines (int nbLinesIndex) |
Private Attributes | |
Ui::ATVDemodGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
ATVDemod * | m_atvDemod |
bool | m_blnDoApplySettings |
MovingAverageUtil< double, double, 4 > | m_objMagSqAverage |
int | m_intTickCount |
ScopeVis * | m_scopeVis |
float | m_fltLineTimeMultiplier |
float | m_fltTopTimeMultiplier |
int | m_rfSliderDivisor |
int | m_inputSampleRate |
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 39 of file atvdemodgui.h.
|
explicitprivate |
Definition at line 272 of file atvdemodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), arg(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), ChannelMarker::getColor(), getInputMessageQueue(), BasebandSampleSink::getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleSourceMessages(), ScopeVis::TraceData::m_amp, ScopeVis::TraceData::m_ampIndex, m_atvDemod, ATVDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, ScopeVis::TraceData::m_ofs, ScopeVis::TraceData::m_ofsCoarse, m_scopeVis, ScopeVis::TriggerData::m_triggerLevel, ScopeVis::TriggerData::m_triggerLevelCoarse, ScopeVis::TriggerData::m_triggerPositiveEdge, onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), resetToDefaults(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), ATVDemod::setScopeSink(), RollupWidget::setTitleColor(), ATVDemod::setTVScreen(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 340 of file atvdemodgui.cpp.
References m_atvDemod, m_deviceUISet, m_scopeVis, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 381 of file atvdemodgui.cpp.
References ATVDemod::configureRF(), ChannelMarker::getCenterFrequency(), BasebandSampleSink::getInputMessageQueue(), m_atvDemod, m_blnDoApplySettings, m_channelMarker, m_rfSliderDivisor, and ui.
Referenced by channelMarkerChangedByCursor(), handleMessage(), on_bfo_valueChanged(), on_decimatorEnable_toggled(), on_deltaFrequency_changed(), on_fmDeviation_valueChanged(), on_modulation_currentIndexChanged(), on_rfBW_valueChanged(), on_rfFiltering_toggled(), and on_rfOppBW_valueChanged().
|
private |
Definition at line 353 of file atvdemodgui.cpp.
References ATVDemod::configure(), ATVDemod::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), getFps(), BasebandSampleSink::getInputMessageQueue(), getNominalLineTime(), getNumberOfLines(), ATVDemod::getSampleRate(), m_atvDemod, m_blnDoApplySettings, m_channelMarker, m_fltLineTimeMultiplier, m_fltTopTimeMultiplier, m_inputSampleRate, MessageQueue::push(), and ui.
Referenced by channelMarkerChangedByCursor(), deserialize(), handleMessage(), on_blackLevel_valueChanged(), on_fps_currentIndexChanged(), on_halfImage_clicked(), on_hSync_clicked(), on_invertVideo_clicked(), on_lineTime_valueChanged(), on_nbLines_currentIndexChanged(), on_screenTabWidget_currentChanged(), on_standard_currentIndexChanged(), on_synchLevel_valueChanged(), on_topTime_valueChanged(), on_vSync_clicked(), resetToDefaults(), and setCenterFrequency().
|
private |
Definition at line 348 of file atvdemodgui.cpp.
References m_blnDoApplySettings.
Referenced by deserialize(), and resetToDefaults().
|
slot |
Definition at line 239 of file atvdemodgui.cpp.
References applyRFSettings(), applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, and ui.
Referenced by ATVDemodGUI().
|
slot |
Definition at line 248 of file atvdemodgui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by ATVDemodGUI().
|
static |
Definition at line 38 of file atvdemodgui.cpp.
References ATVDemodGUI().
Referenced by ATVDemodPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 129 of file atvdemodgui.cpp.
References applySettings(), blockApplySettings(), ChannelMarker::emitChangedByAPI(), SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), lineTimeUpdate(), m_channelMarker, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), resetToDefaults(), ChannelMarker::setCenterFrequency(), topTimeUpdate(), and ui.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 46 of file atvdemodgui.cpp.
|
private |
Definition at line 461 of file atvdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 61 of file atvdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
staticprivate |
Definition at line 678 of file atvdemodgui.cpp.
Referenced by applySettings(), and getNominalLineTime().
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 55 of file atvdemodgui.h.
Referenced by ATVDemodGUI(), and handleSourceMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 56 of file atvdemodgui.cpp.
|
staticprivate |
Definition at line 716 of file atvdemodgui.cpp.
References getFps(), and getNumberOfLines().
Referenced by applySettings(), lineTimeUpdate(), and topTimeUpdate().
|
staticprivate |
Definition at line 724 of file atvdemodgui.cpp.
Referenced by applySettings(), and getNominalLineTime().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 206 of file atvdemodgui.cpp.
References applyRFSettings(), applySettings(), arg(), ATVDemod::MsgReportChannelSampleRateChanged::getSampleRate(), lineTimeUpdate(), m_inputSampleRate, m_scopeVis, Message::match(), ScopeVis::setLiveRate(), setRFFiltersSlidersRange(), topTimeUpdate(), and ui.
Referenced by handleSourceMessages().
|
privateslot |
Definition at line 253 of file atvdemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by ATVDemodGUI().
|
private |
Definition at line 456 of file atvdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
private |
Definition at line 628 of file atvdemodgui.cpp.
References arg(), ATVDemod::getEffectiveSampleRate(), getNominalLineTime(), m_atvDemod, m_fltLineTimeMultiplier, and ui.
Referenced by deserialize(), handleMessage(), on_fps_currentIndexChanged(), on_lineTime_valueChanged(), on_nbLines_currentIndexChanged(), and resetToDefaults().
|
privateslot |
Definition at line 610 of file atvdemodgui.cpp.
References applyRFSettings(), arg(), and ui.
|
privateslot |
Definition at line 499 of file atvdemodgui.cpp.
References applySettings(), arg(), and ui.
|
privateslot |
Definition at line 597 of file atvdemodgui.cpp.
References applyRFSettings(), and setChannelMarkerBandwidth().
|
privateslot |
Definition at line 604 of file atvdemodgui.cpp.
References applyRFSettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 616 of file atvdemodgui.cpp.
References applyRFSettings(), arg(), and ui.
|
privateslot |
Definition at line 547 of file atvdemodgui.cpp.
References applySettings(), lineTimeUpdate(), and topTimeUpdate().
|
privateslot |
Definition at line 534 of file atvdemodgui.cpp.
References applySettings().
|
privateslot |
Definition at line 519 of file atvdemodgui.cpp.
References applySettings().
|
privateslot |
Definition at line 529 of file atvdemodgui.cpp.
References applySettings().
|
privateslot |
Definition at line 505 of file atvdemodgui.cpp.
References applySettings(), arg(), lineTimeUpdate(), and ui.
|
privateslot |
Definition at line 567 of file atvdemodgui.cpp.
References applyRFSettings(), ATVDemod::getEffectiveSampleRate(), m_atvDemod, setChannelMarkerBandwidth(), and setRFFiltersSlidersRange().
|
privateslot |
Definition at line 539 of file atvdemodgui.cpp.
References applySettings(), lineTimeUpdate(), and topTimeUpdate().
|
privateslot |
Definition at line 561 of file atvdemodgui.cpp.
References resetToDefaults().
|
privateslot |
Definition at line 575 of file atvdemodgui.cpp.
References applyRFSettings(), arg(), m_rfSliderDivisor, setChannelMarkerBandwidth(), and ui.
|
privateslot |
Definition at line 589 of file atvdemodgui.cpp.
References applyRFSettings(), ATVDemod::getEffectiveSampleRate(), m_atvDemod, setChannelMarkerBandwidth(), and setRFFiltersSlidersRange().
|
privateslot |
Definition at line 582 of file atvdemodgui.cpp.
References applyRFSettings(), arg(), m_rfSliderDivisor, setChannelMarkerBandwidth(), and ui.
|
privateslot |
Definition at line 622 of file atvdemodgui.cpp.
References applySettings().
|
privateslot |
Definition at line 555 of file atvdemodgui.cpp.
References applySettings().
|
privateslot |
Definition at line 493 of file atvdemodgui.cpp.
References applySettings(), arg(), and ui.
|
privateslot |
Definition at line 512 of file atvdemodgui.cpp.
References applySettings(), arg(), topTimeUpdate(), and ui.
|
privateslot |
Definition at line 524 of file atvdemodgui.cpp.
References applySettings().
|
privateslot |
Definition at line 266 of file atvdemodgui.cpp.
Referenced by ATVDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 72 of file atvdemodgui.cpp.
References applySettings(), blockApplySettings(), lineTimeUpdate(), topTimeUpdate(), and ui.
Referenced by ATVDemodGUI(), deserialize(), and on_reset_clicked().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 103 of file atvdemodgui.cpp.
References SimpleSerializer::final(), ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), m_channelMarker, ui, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), and SimpleSerializer::writeU32().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 66 of file atvdemodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
private |
Definition at line 397 of file atvdemodgui.cpp.
References ATVDemod::ATV_LSB, ATVDemod::ATV_USB, ChannelMarker::dsb, ChannelMarker::emitChangedByAPI(), m_blnDoApplySettings, m_channelMarker, m_inputSampleRate, m_rfSliderDivisor, ChannelMarker::setBandwidth(), ChannelMarker::setOppositeBandwidth(), ChannelMarker::setSidebands(), ui, ChannelMarker::vlsb, and ChannelMarker::vusb.
Referenced by on_decimatorEnable_toggled(), on_modulation_currentIndexChanged(), on_rfBW_valueChanged(), on_rfFiltering_toggled(), and on_rfOppBW_valueChanged().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 51 of file atvdemodgui.cpp.
|
private |
Definition at line 431 of file atvdemodgui.cpp.
References arg(), m_rfSliderDivisor, and ui.
Referenced by handleMessage(), on_modulation_currentIndexChanged(), and on_rfFiltering_toggled().
|
privateslot |
Definition at line 466 of file atvdemodgui.cpp.
References arg(), CalcDb::dbPower(), ATVDemod::getBFOLocked(), ATVDemod::getMagSq(), m_atvDemod, m_intTickCount, m_objMagSqAverage, SDR_RX_SCALED, and ui.
Referenced by ATVDemodGUI().
|
private |
Definition at line 653 of file atvdemodgui.cpp.
References arg(), ATVDemod::getEffectiveSampleRate(), getNominalLineTime(), m_atvDemod, m_fltTopTimeMultiplier, and ui.
Referenced by deserialize(), handleMessage(), on_fps_currentIndexChanged(), on_nbLines_currentIndexChanged(), on_topTime_valueChanged(), and resetToDefaults().
|
private |
Definition at line 67 of file atvdemodgui.h.
Referenced by applyRFSettings(), applySettings(), ATVDemodGUI(), lineTimeUpdate(), on_modulation_currentIndexChanged(), on_rfFiltering_toggled(), tick(), topTimeUpdate(), and ~ATVDemodGUI().
|
private |
Definition at line 69 of file atvdemodgui.h.
Referenced by applyRFSettings(), applySettings(), blockApplySettings(), and setChannelMarkerBandwidth().
|
private |
Definition at line 66 of file atvdemodgui.h.
Referenced by applyRFSettings(), applySettings(), ATVDemodGUI(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), deserialize(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), serialize(), setCenterFrequency(), and setChannelMarkerBandwidth().
|
private |
Definition at line 65 of file atvdemodgui.h.
Referenced by ATVDemodGUI(), and ~ATVDemodGUI().
|
private |
Definition at line 76 of file atvdemodgui.h.
Referenced by applySettings(), and lineTimeUpdate().
|
private |
Definition at line 77 of file atvdemodgui.h.
Referenced by applySettings(), and topTimeUpdate().
|
private |
Definition at line 80 of file atvdemodgui.h.
|
private |
Definition at line 79 of file atvdemodgui.h.
Referenced by applySettings(), handleMessage(), and setChannelMarkerBandwidth().
|
private |
Definition at line 72 of file atvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 71 of file atvdemodgui.h.
Referenced by tick().
|
private |
Definition at line 64 of file atvdemodgui.h.
|
private |
Definition at line 78 of file atvdemodgui.h.
Referenced by applyRFSettings(), on_rfBW_valueChanged(), on_rfOppBW_valueChanged(), setChannelMarkerBandwidth(), and setRFFiltersSlidersRange().
|
private |
Definition at line 74 of file atvdemodgui.h.
Referenced by ATVDemodGUI(), handleMessage(), and ~ATVDemodGUI().
|
private |
Definition at line 63 of file atvdemodgui.h.
Referenced by applyRFSettings(), applySettings(), ATVDemodGUI(), channelMarkerChangedByCursor(), deserialize(), handleMessage(), lineTimeUpdate(), on_bfo_valueChanged(), on_blackLevel_valueChanged(), on_fmDeviation_valueChanged(), on_lineTime_valueChanged(), on_rfBW_valueChanged(), on_rfOppBW_valueChanged(), on_synchLevel_valueChanged(), on_topTime_valueChanged(), resetToDefaults(), serialize(), setChannelMarkerBandwidth(), setRFFiltersSlidersRange(), tick(), topTimeUpdate(), and ~ATVDemodGUI().