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 <chanalyzergui.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 ChannelAnalyzerGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Slots | |
void | on_deltaFrequency_changed (qint64 value) |
void | on_channelSampleRate_changed (quint64 value) |
void | on_pll_toggled (bool checked) |
void | on_pllPskOrder_currentIndexChanged (int index) |
void | on_useRationalDownsampler_toggled (bool checked) |
void | on_signalSelect_currentIndexChanged (int index) |
void | on_rrcFilter_toggled (bool checked) |
void | on_rrcRolloff_valueChanged (int value) |
void | on_BW_valueChanged (int value) |
void | on_lowCut_valueChanged (int value) |
void | on_spanLog2_currentIndexChanged (int index) |
void | on_ssb_toggled (bool checked) |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
void | onMenuDialogCalled (const QPoint &p) |
void | handleInputMessages () |
void | tick () |
Private Member Functions | |
ChannelAnalyzerGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
virtual | ~ChannelAnalyzerGUI () |
int | getRequestedChannelSampleRate () |
void | setNewFinalRate () |
set sample rate after final in-channel decimation More... | |
void | setFiltersUIBoundaries () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | displayPLLSettings () |
void | setSpectrumDisplay () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::ChannelAnalyzerGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
ChannelAnalyzerSettings | m_settings |
bool | m_doApplySettings |
int | m_rate |
sample rate after final in-channel decimation (spanlog2) More... | |
MovingAverageUtil< double, double, 40 > | m_channelPowerAvg |
ChannelAnalyzer * | m_channelAnalyzer |
SpectrumScopeComboVis * | m_spectrumScopeComboVis |
SpectrumVis * | m_spectrumVis |
ScopeVis * | m_scopeVis |
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 42 of file chanalyzergui.h.
|
explicitprivate |
Definition at line 387 of file chanalyzergui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), ChannelMarker::getColor(), getInputMessageQueue(), BasebandSampleSink::getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, ColorMapper::GrayGreenYellow, handleInputMessages(), m_channelAnalyzer, ChannelAnalyzer::m_channelIdURI, m_channelMarker, m_deviceUISet, m_rate, m_scopeVis, m_settings, m_spectrumScopeComboVis, m_spectrumVis, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), SDR_RX_SCALEF, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelAnalyzerSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), ChannelAnalyzer::setSampleSink(), ChannelAnalyzerSettings::setScopeGUI(), ChannelMarker::setSidebands(), ChannelAnalyzerSettings::setSpectrumGUI(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ChannelMarker::setVisible(), tick(), ui, ChannelMarker::usb, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 455 of file chanalyzergui.cpp.
References m_channelAnalyzer, m_deviceUISet, m_scopeVis, m_spectrumScopeComboVis, m_spectrumVis, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 546 of file chanalyzergui.cpp.
References ChannelAnalyzer::MsgConfigureChannelAnalyzer::create(), ChannelAnalyzer::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), BasebandSampleSink::getInputMessageQueue(), getRequestedChannelSampleRate(), m_channelAnalyzer, m_channelMarker, m_doApplySettings, m_scopeVis, m_settings, ChannelAnalyzerSettings::m_spanLog2, MessageQueue::push(), and ScopeVis::setLiveRateLog2Decim().
Referenced by ChannelAnalyzerGUI(), channelMarkerChangedByCursor(), deserialize(), on_BW_valueChanged(), on_channelSampleRate_changed(), on_deltaFrequency_changed(), on_lowCut_valueChanged(), on_pll_toggled(), on_pllPskOrder_currentIndexChanged(), on_rrcFilter_toggled(), on_rrcRolloff_valueChanged(), on_signalSelect_currentIndexChanged(), on_spanLog2_currentIndexChanged(), on_ssb_toggled(), on_useRationalDownsampler_toggled(), onMenuDialogCalled(), and setCenterFrequency().
|
private |
Definition at line 539 of file chanalyzergui.cpp.
References m_doApplySettings, and ui.
Referenced by displaySettings().
|
slot |
Definition at line 218 of file chanalyzergui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, and ui.
Referenced by ChannelAnalyzerGUI().
|
slot |
Definition at line 224 of file chanalyzergui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by ChannelAnalyzerGUI().
|
static |
Definition at line 39 of file chanalyzergui.cpp.
References ChannelAnalyzerGUI().
Referenced by ChannelAnalyzerPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 170 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::deserialize(), displaySettings(), m_settings, and ChannelAnalyzerSettings::resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 45 of file chanalyzergui.cpp.
|
private |
Definition at line 130 of file chanalyzergui.cpp.
References i, ChannelAnalyzerSettings::m_fll, ChannelAnalyzerSettings::m_pll, ChannelAnalyzerSettings::m_pllPskOrder, m_settings, and ui.
Referenced by displaySettings().
|
private |
Definition at line 77 of file chanalyzergui.cpp.
References blockApplySettings(), displayPLLSettings(), ChannelMarker::dsb, ChannelAnalyzer::getInputSampleRate(), ChannelMarker::getTitle(), ChannelMarker::lsb, ChannelAnalyzerSettings::m_bandwidth, m_channelAnalyzer, m_channelMarker, ChannelAnalyzerSettings::m_downSample, ChannelAnalyzerSettings::m_downSampleRate, ChannelAnalyzerSettings::m_frequency, ChannelAnalyzerSettings::m_inputType, ChannelAnalyzerSettings::m_lowCutoff, ChannelAnalyzerSettings::m_rgbColor, ChannelAnalyzerSettings::m_rrc, ChannelAnalyzerSettings::m_rrcRolloff, m_settings, ChannelAnalyzerSettings::m_spanLog2, ChannelAnalyzerSettings::m_ssb, ChannelAnalyzerSettings::m_title, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setLowCutoff(), setNewFinalRate(), ChannelMarker::setSidebands(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ui, and ChannelMarker::usb.
Referenced by ChannelAnalyzerGUI(), and deserialize().
|
private |
Definition at line 569 of file chanalyzergui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 60 of file chanalyzergui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 57 of file chanalyzergui.h.
Referenced by ChannelAnalyzerGUI(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 55 of file chanalyzergui.cpp.
|
private |
Definition at line 283 of file chanalyzergui.cpp.
References ChannelAnalyzer::getChannelizer(), DownChannelizer::getInputSampleRate(), m_channelAnalyzer, and ui.
Referenced by applySettings(), and setNewFinalRate().
|
privateslot |
Definition at line 203 of file chanalyzergui.cpp.
References Message::getIdentifier(), getInputMessageQueue(), and handleMessage().
Referenced by ChannelAnalyzerGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 187 of file chanalyzergui.cpp.
References ChannelAnalyzer::getInputSampleRate(), m_channelAnalyzer, ChannelAnalyzerSettings::m_downSampleRate, m_settings, Message::match(), setNewFinalRate(), and ui.
Referenced by handleInputMessages().
|
private |
Definition at line 564 of file chanalyzergui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 319 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_bandwidth, ChannelAnalyzerSettings::m_lowCutoff, m_settings, setFiltersUIBoundaries(), and ui.
|
privateslot |
Definition at line 249 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_downSampleRate, m_settings, and setNewFinalRate().
|
privateslot |
Definition at line 298 of file chanalyzergui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, ChannelAnalyzerSettings::m_frequency, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 328 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_bandwidth, ChannelAnalyzerSettings::m_lowCutoff, m_settings, setFiltersUIBoundaries(), and ui.
|
privateslot |
Definition at line 256 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_pll, m_settings, and ui.
|
privateslot |
Definition at line 266 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_fll, ChannelAnalyzerSettings::m_pllPskOrder, and m_settings.
|
privateslot |
Definition at line 305 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_rrc, and m_settings.
|
privateslot |
Definition at line 311 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_rrcRolloff, m_settings, and ui.
|
privateslot |
Definition at line 292 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_inputType, and m_settings.
|
privateslot |
Definition at line 337 of file chanalyzergui.cpp.
References applySettings(), m_settings, ChannelAnalyzerSettings::m_spanLog2, and setNewFinalRate().
|
privateslot |
Definition at line 348 of file chanalyzergui.cpp.
References applySettings(), m_settings, ChannelAnalyzerSettings::m_ssb, setFiltersUIBoundaries(), and ui.
|
privateslot |
Definition at line 276 of file chanalyzergui.cpp.
References applySettings(), ChannelAnalyzerSettings::m_downSample, m_settings, and setNewFinalRate().
|
privateslot |
Definition at line 366 of file chanalyzergui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, ChannelAnalyzerSettings::m_frequency, ChannelAnalyzerSettings::m_rgbColor, m_settings, ChannelAnalyzerSettings::m_title, RollupWidget::resetContextMenuType(), and RollupWidget::setTitleColor().
Referenced by ChannelAnalyzerGUI().
|
privateslot |
Definition at line 360 of file chanalyzergui.cpp.
Referenced by ChannelAnalyzerGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 72 of file chanalyzergui.cpp.
References m_settings, and ChannelAnalyzerSettings::resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 165 of file chanalyzergui.cpp.
References m_settings, and ChannelAnalyzerSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 65 of file chanalyzergui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, ChannelAnalyzerSettings::m_frequency, m_settings, and ChannelMarker::setCenterFrequency().
|
private |
Definition at line 481 of file chanalyzergui.cpp.
References arg(), ChannelMarker::dsb, ChannelMarker::lsb, m_channelMarker, m_rate, ChannelMarker::setBandwidth(), ChannelMarker::setLowCutoff(), ChannelMarker::setSidebands(), setSpectrumDisplay(), ui, and ChannelMarker::usb.
Referenced by on_BW_valueChanged(), on_lowCut_valueChanged(), on_ssb_toggled(), and setNewFinalRate().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 50 of file chanalyzergui.cpp.
|
private |
set sample rate after final in-channel decimation
Definition at line 465 of file chanalyzergui.cpp.
References arg(), getRequestedChannelSampleRate(), m_rate, m_scopeVis, m_settings, ChannelAnalyzerSettings::m_spanLog2, setFiltersUIBoundaries(), ScopeVis::setLiveRate(), and ui.
Referenced by displaySettings(), handleMessage(), on_channelSampleRate_changed(), on_spanLog2_currentIndexChanged(), and on_useRationalDownsampler_toggled().
|
private |
Definition at line 146 of file chanalyzergui.cpp.
References m_rate, m_settings, ChannelAnalyzerSettings::m_ssb, and ui.
Referenced by setFiltersUIBoundaries().
|
privateslot |
Definition at line 229 of file chanalyzergui.cpp.
References arg(), CalcDb::dbPower(), ChannelAnalyzer::getChannelSampleRate(), ChannelAnalyzer::getDecimation(), ChannelAnalyzer::getMagSqAvg(), ChannelAnalyzer::getPllFrequency(), ChannelAnalyzer::isPllLocked(), m_channelAnalyzer, m_channelPowerAvg, M_PI, and ui.
Referenced by ChannelAnalyzerGUI().
|
private |
Definition at line 74 of file chanalyzergui.h.
Referenced by applySettings(), ChannelAnalyzerGUI(), displaySettings(), getRequestedChannelSampleRate(), handleMessage(), tick(), and ~ChannelAnalyzerGUI().
|
private |
Definition at line 68 of file chanalyzergui.h.
Referenced by applySettings(), ChannelAnalyzerGUI(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), onMenuDialogCalled(), setCenterFrequency(), and setFiltersUIBoundaries().
|
private |
Definition at line 72 of file chanalyzergui.h.
Referenced by tick().
|
private |
Definition at line 67 of file chanalyzergui.h.
Referenced by ChannelAnalyzerGUI(), and ~ChannelAnalyzerGUI().
|
private |
Definition at line 70 of file chanalyzergui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 78 of file chanalyzergui.h.
|
private |
Definition at line 66 of file chanalyzergui.h.
|
private |
sample rate after final in-channel decimation (spanlog2)
Definition at line 71 of file chanalyzergui.h.
Referenced by ChannelAnalyzerGUI(), setFiltersUIBoundaries(), setNewFinalRate(), and setSpectrumDisplay().
|
private |
Definition at line 77 of file chanalyzergui.h.
Referenced by applySettings(), ChannelAnalyzerGUI(), setNewFinalRate(), and ~ChannelAnalyzerGUI().
|
private |
Definition at line 69 of file chanalyzergui.h.
Referenced by applySettings(), ChannelAnalyzerGUI(), deserialize(), displayPLLSettings(), displaySettings(), handleMessage(), on_BW_valueChanged(), on_channelSampleRate_changed(), on_deltaFrequency_changed(), on_lowCut_valueChanged(), on_pll_toggled(), on_pllPskOrder_currentIndexChanged(), on_rrcFilter_toggled(), on_rrcRolloff_valueChanged(), on_signalSelect_currentIndexChanged(), on_spanLog2_currentIndexChanged(), on_ssb_toggled(), on_useRationalDownsampler_toggled(), onMenuDialogCalled(), resetToDefaults(), serialize(), setCenterFrequency(), setNewFinalRate(), and setSpectrumDisplay().
|
private |
Definition at line 75 of file chanalyzergui.h.
Referenced by ChannelAnalyzerGUI(), and ~ChannelAnalyzerGUI().
|
private |
Definition at line 76 of file chanalyzergui.h.
Referenced by ChannelAnalyzerGUI(), and ~ChannelAnalyzerGUI().
|
private |
Definition at line 65 of file chanalyzergui.h.
Referenced by blockApplySettings(), ChannelAnalyzerGUI(), channelMarkerChangedByCursor(), displayPLLSettings(), displaySettings(), getRequestedChannelSampleRate(), handleMessage(), on_BW_valueChanged(), on_lowCut_valueChanged(), on_pll_toggled(), on_rrcRolloff_valueChanged(), on_ssb_toggled(), setFiltersUIBoundaries(), setNewFinalRate(), setSpectrumDisplay(), tick(), and ~ChannelAnalyzerGUI().