|  | 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 <freqtrackergui.h>
 Inheritance diagram for FreqTrackerGUI:
 Inheritance diagram for FreqTrackerGUI: Collaboration diagram for FreqTrackerGUI:
 Collaboration diagram for FreqTrackerGUI:| 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 FreqTrackerGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) | 
| Private Slots | |
| void | on_deltaFrequency_changed (qint64 value) | 
| void | on_log2Decim_currentIndexChanged (int index) | 
| void | on_rfBW_valueChanged (int value) | 
| void | on_tracking_toggled (bool checked) | 
| void | on_alphaEMA_valueChanged (int value) | 
| void | on_trackerType_currentIndexChanged (int index) | 
| void | on_pllPskOrder_currentIndexChanged (int index) | 
| void | on_rrc_toggled (bool checked) | 
| void | on_rrcRolloff_valueChanged (int value) | 
| void | on_squelch_valueChanged (int value) | 
| void | on_squelchGate_valueChanged (int value) | 
| void | onWidgetRolled (QWidget *widget, bool rollDown) | 
| void | onMenuDialogCalled (const QPoint &p) | 
| void | handleInputMessages () | 
| void | tick () | 
| Private Member Functions | |
| FreqTrackerGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
| virtual | ~FreqTrackerGUI () | 
| void | blockApplySettings (bool block) | 
| void | applySettings (bool force=false) | 
| void | displaySettings () | 
| void | leaveEvent (QEvent *) | 
| void | enterEvent (QEvent *) | 
| Private Attributes | |
| Ui::FreqTrackerGUI * | ui | 
| PluginAPI * | m_pluginAPI | 
| DeviceUISet * | m_deviceUISet | 
| ChannelMarker | m_channelMarker | 
| FreqTrackerSettings | m_settings | 
| int | m_channelSampleRate | 
| bool | m_doApplySettings | 
| FreqTracker * | m_freqTracker | 
| bool | m_squelchOpen | 
| uint32_t | m_tickCount | 
| 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 freqtrackergui.h.
| 
 | explicitprivate | 
Definition at line 278 of file freqtrackergui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), LevelMeterSignalDB::ColorGreenAndBlue, displaySettings(), ChannelMarker::getColor(), getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleInputMessages(), FreqTracker::m_channelIdURI, m_channelMarker, m_deviceUISet, m_freqTracker, m_settings, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), FreqTrackerSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), 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 327 of file freqtrackergui.cpp.
References m_deviceUISet, m_freqTracker, DeviceUISet::removeRxChannelInstance(), and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 339 of file freqtrackergui.cpp.
References FreqTracker::MsgConfigureFreqTracker::create(), BasebandSampleSink::getInputMessageQueue(), m_doApplySettings, m_freqTracker, m_settings, and MessageQueue::push().
Referenced by channelMarkerChangedByCursor(), deserialize(), FreqTrackerGUI(), on_alphaEMA_valueChanged(), on_deltaFrequency_changed(), on_log2Decim_currentIndexChanged(), on_pllPskOrder_currentIndexChanged(), on_rfBW_valueChanged(), on_rrc_toggled(), on_rrcRolloff_valueChanged(), on_squelch_valueChanged(), on_squelchGate_valueChanged(), on_trackerType_currentIndexChanged(), on_tracking_toggled(), onMenuDialogCalled(), resetToDefaults(), and setCenterFrequency().
 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 334 of file freqtrackergui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | slot | 
Definition at line 144 of file freqtrackergui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, FreqTrackerSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by FreqTrackerGUI().
 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:| 
 | slot | 
Definition at line 151 of file freqtrackergui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by FreqTrackerGUI().
 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 40 of file freqtrackergui.cpp.
References FreqTrackerGUI().
Referenced by FreqTrackerPlugin::createRxChannelGUI().
 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 83 of file freqtrackergui.cpp.
References applySettings(), FreqTrackerSettings::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 46 of file freqtrackergui.cpp.
| 
 | private | 
Definition at line 348 of file freqtrackergui.cpp.
References arg(), blockApplySettings(), ChannelMarker::getCenterFrequency(), ChannelMarker::getTitle(), i, FreqTrackerSettings::m_alphaEMA, m_channelMarker, FreqTrackerSettings::m_inputFrequencyOffset, FreqTrackerSettings::m_log2Decim, FreqTrackerSettings::m_pllPskOrder, FreqTrackerSettings::m_rfBandwidth, FreqTrackerSettings::m_rgbColor, FreqTrackerSettings::m_rrc, FreqTrackerSettings::m_rrcRolloff, m_settings, FreqTrackerSettings::m_squelch, FreqTrackerSettings::m_squelchGate, FreqTrackerSettings::m_title, FreqTrackerSettings::m_trackerType, FreqTrackerSettings::m_tracking, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), FreqTrackerGUI(), handleMessage(), and resetToDefaults().
 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 394 of file freqtrackergui.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 61 of file freqtrackergui.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 freqtrackergui.h.
Referenced by FreqTrackerGUI(), and handleInputMessages().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 56 of file freqtrackergui.cpp.
| 
 | privateslot | 
Definition at line 131 of file freqtrackergui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by FreqTrackerGUI().
 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 95 of file freqtrackergui.cpp.
References arg(), blockApplySettings(), displaySettings(), FreqTracker::MsgSampleRateNotification::getFrequencyOffset(), FreqTracker::MsgSampleRateNotification::getSampleRate(), FreqTracker::MsgConfigureFreqTracker::getSettings(), m_channelMarker, m_channelSampleRate, FreqTrackerSettings::m_inputFrequencyOffset, m_settings, FreqTrackerSettings::m_tracking, Message::match(), ChannelMarker::setCenterFrequency(), and ui.
Referenced by handleInputMessages().
 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 389 of file freqtrackergui.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 189 of file freqtrackergui.cpp.
References applySettings(), FreqTrackerSettings::m_alphaEMA, m_settings, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 156 of file freqtrackergui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, FreqTrackerSettings::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 163 of file freqtrackergui.cpp.
References applySettings(), FreqTrackerSettings::m_log2Decim, and m_settings.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 203 of file freqtrackergui.cpp.
References applySettings(), FreqTrackerSettings::m_pllPskOrder, and m_settings.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 169 of file freqtrackergui.cpp.
References applySettings(), arg(), m_channelMarker, FreqTrackerSettings::m_rfBandwidth, m_settings, ChannelMarker::setBandwidth(), and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 213 of file freqtrackergui.cpp.
References applySettings(), FreqTrackerSettings::m_rrc, and m_settings.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 219 of file freqtrackergui.cpp.
References applySettings(), FreqTrackerSettings::m_rrcRolloff, m_settings, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 227 of file freqtrackergui.cpp.
References applySettings(), arg(), m_settings, FreqTrackerSettings::m_squelch, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 234 of file freqtrackergui.cpp.
References applySettings(), arg(), m_settings, FreqTrackerSettings::m_squelchGate, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 197 of file freqtrackergui.cpp.
References applySettings(), m_settings, and FreqTrackerSettings::m_trackerType.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 177 of file freqtrackergui.cpp.
References applySettings(), m_settings, FreqTrackerSettings::m_tracking, and ui.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | privateslot | 
Definition at line 247 of file freqtrackergui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, FreqTrackerSettings::m_inputFrequencyOffset, FreqTrackerSettings::m_reverseAPIAddress, FreqTrackerSettings::m_reverseAPIChannelIndex, FreqTrackerSettings::m_reverseAPIDeviceIndex, FreqTrackerSettings::m_reverseAPIPort, FreqTrackerSettings::m_rgbColor, m_settings, FreqTrackerSettings::m_title, FreqTrackerSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by FreqTrackerGUI().
 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 241 of file freqtrackergui.cpp.
Referenced by FreqTrackerGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 71 of file freqtrackergui.cpp.
References applySettings(), displaySettings(), m_settings, and FreqTrackerSettings::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 78 of file freqtrackergui.cpp.
References m_settings, and FreqTrackerSettings::serialize().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements PluginInstanceGUI.
Definition at line 65 of file freqtrackergui.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 51 of file freqtrackergui.cpp.
| 
 | privateslot | 
Definition at line 399 of file freqtrackergui.cpp.
References arg(), CalcDb::dbPower(), FreqTracker::getAvgDeltaFreq(), FreqTracker::getMagSqLevels(), FreqTracker::getPllLocked(), FreqTracker::getSquelchOpen(), m_freqTracker, m_settings, m_tickCount, FreqTrackerSettings::m_tracking, and ui.
Referenced by FreqTrackerGUI().
 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 66 of file freqtrackergui.h.
Referenced by channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), enterEvent(), FreqTrackerGUI(), getCenterFrequency(), handleMessage(), leaveEvent(), on_deltaFrequency_changed(), on_rfBW_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
| 
 | private | 
Definition at line 68 of file freqtrackergui.h.
Referenced by handleMessage().
| 
 | private | 
Definition at line 65 of file freqtrackergui.h.
Referenced by FreqTrackerGUI(), and ~FreqTrackerGUI().
| 
 | private | 
Definition at line 69 of file freqtrackergui.h.
Referenced by applySettings(), and blockApplySettings().
| 
 | private | 
Definition at line 71 of file freqtrackergui.h.
Referenced by applySettings(), FreqTrackerGUI(), tick(), and ~FreqTrackerGUI().
| 
 | private | 
Definition at line 74 of file freqtrackergui.h.
| 
 | private | 
Definition at line 64 of file freqtrackergui.h.
| 
 | private | 
Definition at line 67 of file freqtrackergui.h.
Referenced by applySettings(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), FreqTrackerGUI(), handleMessage(), on_alphaEMA_valueChanged(), on_deltaFrequency_changed(), on_log2Decim_currentIndexChanged(), on_pllPskOrder_currentIndexChanged(), on_rfBW_valueChanged(), on_rrc_toggled(), on_rrcRolloff_valueChanged(), on_squelch_valueChanged(), on_squelchGate_valueChanged(), on_trackerType_currentIndexChanged(), on_tracking_toggled(), onMenuDialogCalled(), resetToDefaults(), serialize(), and tick().
| 
 | private | 
Definition at line 72 of file freqtrackergui.h.
| 
 | private | 
Definition at line 73 of file freqtrackergui.h.
Referenced by tick().
| 
 | private | 
Definition at line 63 of file freqtrackergui.h.
Referenced by channelMarkerChangedByCursor(), displaySettings(), FreqTrackerGUI(), handleMessage(), on_alphaEMA_valueChanged(), on_rfBW_valueChanged(), on_rrcRolloff_valueChanged(), on_squelch_valueChanged(), on_squelchGate_valueChanged(), on_tracking_toggled(), tick(), and ~FreqTrackerGUI().
 1.8.13
 1.8.13