![]() |
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 <localsourcegui.h>
Inheritance diagram for LocalSourceGUI:
Collaboration diagram for LocalSourceGUI: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 LocalSourceGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *txChannel) |
Private Slots | |
| void | handleSourceMessages () |
| void | on_interpolationFactor_currentIndexChanged (int index) |
| void | on_position_valueChanged (int value) |
| void | on_localDevice_currentIndexChanged (int index) |
| void | on_localDevicesRefresh_clicked (bool checked) |
| void | onWidgetRolled (QWidget *widget, bool rollDown) |
| void | onMenuDialogCalled (const QPoint &p) |
| void | tick () |
Private Member Functions | |
| LocalSourceGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *txChannel, QWidget *parent=0) | |
| virtual | ~LocalSourceGUI () |
| void | blockApplySettings (bool block) |
| void | applySettings (bool force=false) |
| void | applyChannelSettings () |
| void | displaySettings () |
| void | displayRateAndShift () |
| void | updateLocalDevices () |
| void | leaveEvent (QEvent *) |
| void | enterEvent (QEvent *) |
| void | applyInterpolation () |
| void | applyPosition () |
Private Attributes | |
| Ui::LocalSourceGUI * | ui |
| PluginAPI * | m_pluginAPI |
| DeviceUISet * | m_deviceUISet |
| ChannelMarker | m_channelMarker |
| LocalSourceSettings | m_settings |
| int | m_sampleRate |
| quint64 | m_deviceCenterFrequency |
| Center frequency in device. More... | |
| double | m_shiftFrequencyFactor |
| Channel frequency shift factor. More... | |
| bool | m_doApplySettings |
| LocalSource * | m_localSource |
| MessageQueue | m_inputMessageQueue |
| QTime | m_time |
| uint32_t | m_tickCount |
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 localsourcegui.h.
|
explicitprivate |
Definition at line 108 of file localsourcegui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), displaySettings(), getInputMessageQueue(), handleSourceMessages(), LocalSource::m_channelIdURI, m_channelMarker, m_deviceUISet, m_localSource, LocalSourceSettings::m_rgbColor, m_settings, m_time, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerTxChannelInstance(), ChannelMarker::setCenterFrequency(), LocalSourceSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSource::setMessageQueueToGUI(), ChannelMarker::setSourceOrSinkStream(), ChannelMarker::setTitle(), ChannelMarker::setVisible(), ui, updateLocalDevices(), and RollupWidget::widgetRolled().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatevirtual |
Definition at line 148 of file localsourcegui.cpp.
References m_deviceUISet, m_localSource, DeviceUISet::removeTxChannelInstance(), and ui.
Here is the call graph for this function:
|
private |
Definition at line 171 of file localsourcegui.cpp.
References LocalSource::MsgConfigureChannelizer::create(), BasebandSampleSource::getInputMessageQueue(), m_doApplySettings, LocalSourceSettings::m_filterChainHash, m_localSource, LocalSourceSettings::m_log2Interp, m_settings, and MessageQueue::push().
Referenced by applyPosition().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 308 of file localsourcegui.cpp.
References applyPosition(), i, LocalSourceSettings::m_filterChainHash, LocalSourceSettings::m_log2Interp, m_settings, and ui.
Referenced by displaySettings(), and on_interpolationFactor_currentIndexChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 322 of file localsourcegui.cpp.
References applyChannelSettings(), arg(), HBFilterChainConverter::convertToString(), displayRateAndShift(), LocalSourceSettings::m_filterChainHash, LocalSourceSettings::m_log2Interp, m_settings, m_shiftFrequencyFactor, and ui.
Referenced by applyInterpolation(), and on_position_valueChanged().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 160 of file localsourcegui.cpp.
References LocalSource::MsgConfigureLocalSource::create(), ChannelMarker::getColor(), BasebandSampleSource::getInputMessageQueue(), m_channelMarker, m_doApplySettings, m_localSource, m_settings, MessageQueue::push(), and RollupWidget::setTitleColor().
Referenced by deserialize(), LocalSourceGUI(), on_localDevice_currentIndexChanged(), onMenuDialogCalled(), and resetToDefaults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 155 of file localsourcegui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
Here is the caller graph for this function:
|
static |
Definition at line 29 of file localsourcegui.cpp.
References LocalSourceGUI().
Referenced by LocalSourcePlugin::createTxChannelGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 71 of file localsourcegui.cpp.
References applySettings(), LocalSourceSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 35 of file localsourcegui.cpp.
|
private |
Definition at line 201 of file localsourcegui.cpp.
References arg(), m_channelMarker, LocalSourceSettings::m_log2Interp, m_sampleRate, m_settings, m_shiftFrequencyFactor, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), and ui.
Referenced by applyPosition(), and handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 182 of file localsourcegui.cpp.
References applyInterpolation(), blockApplySettings(), ChannelMarker::getTitle(), m_channelMarker, LocalSourceSettings::m_log2Interp, LocalSourceSettings::m_rgbColor, m_sampleRate, m_settings, LocalSourceSettings::m_title, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setMovable(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by deserialize(), handleMessage(), LocalSourceGUI(), and resetToDefaults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 229 of file localsourcegui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 50 of file localsourcegui.cpp.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 56 of file localsourcegui.h.
Referenced by handleSourceMessages(), and LocalSourceGUI().
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 45 of file localsourcegui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 83 of file localsourcegui.cpp.
References blockApplySettings(), displayRateAndShift(), displaySettings(), LocalSource::MsgSampleRateNotification::getSampleRate(), LocalSource::MsgConfigureLocalSource::getSettings(), m_sampleRate, m_settings, and Message::match().
Referenced by handleSourceMessages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 234 of file localsourcegui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by LocalSourceGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 224 of file localsourcegui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
Here is the call graph for this function:
|
privateslot |
Definition at line 284 of file localsourcegui.cpp.
References applyInterpolation(), LocalSourceSettings::m_log2Interp, and m_settings.
Here is the call graph for this function:
|
privateslot |
Definition at line 296 of file localsourcegui.cpp.
References applySettings(), LocalSourceSettings::m_localDeviceIndex, m_settings, and ui.
Here is the call graph for this function:
|
privateslot |
Definition at line 302 of file localsourcegui.cpp.
References updateLocalDevices().
Here is the call graph for this function:
|
privateslot |
Definition at line 290 of file localsourcegui.cpp.
References applyPosition(), LocalSourceSettings::m_filterChainHash, and m_settings.
Here is the call graph for this function:
|
privateslot |
Definition at line 253 of file localsourcegui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, LocalSourceSettings::m_reverseAPIAddress, LocalSourceSettings::m_reverseAPIChannelIndex, LocalSourceSettings::m_reverseAPIDeviceIndex, LocalSourceSettings::m_reverseAPIPort, LocalSourceSettings::m_rgbColor, m_settings, LocalSourceSettings::m_title, LocalSourceSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by LocalSourceGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 247 of file localsourcegui.cpp.
Referenced by LocalSourceGUI().
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 59 of file localsourcegui.cpp.
References applySettings(), displaySettings(), m_settings, and LocalSourceSettings::resetToDefaults().
Referenced by deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 66 of file localsourcegui.cpp.
References m_settings, and LocalSourceSettings::serialize().
Here is the call graph for this function:
|
virtual |
Implements PluginInstanceGUI.
Definition at line 54 of file localsourcegui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 40 of file localsourcegui.cpp.
|
privateslot |
|
private |
Definition at line 212 of file localsourcegui.cpp.
References arg(), LocalSource::getLocalDevices(), m_localSource, and ui.
Referenced by LocalSourceGUI(), and on_localDevicesRefresh_clicked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 63 of file localsourcegui.h.
Referenced by applySettings(), displayRateAndShift(), displaySettings(), enterEvent(), leaveEvent(), LocalSourceGUI(), and onMenuDialogCalled().
|
private |
Center frequency in device.
Definition at line 66 of file localsourcegui.h.
|
private |
Definition at line 62 of file localsourcegui.h.
Referenced by LocalSourceGUI(), and ~LocalSourceGUI().
|
private |
Definition at line 68 of file localsourcegui.h.
Referenced by applyChannelSettings(), applySettings(), and blockApplySettings().
|
private |
Definition at line 71 of file localsourcegui.h.
|
private |
Definition at line 70 of file localsourcegui.h.
Referenced by applyChannelSettings(), applySettings(), LocalSourceGUI(), updateLocalDevices(), and ~LocalSourceGUI().
|
private |
Definition at line 61 of file localsourcegui.h.
|
private |
Definition at line 65 of file localsourcegui.h.
Referenced by displayRateAndShift(), displaySettings(), and handleMessage().
|
private |
Definition at line 64 of file localsourcegui.h.
Referenced by applyChannelSettings(), applyInterpolation(), applyPosition(), applySettings(), deserialize(), displayRateAndShift(), displaySettings(), handleMessage(), LocalSourceGUI(), on_interpolationFactor_currentIndexChanged(), on_localDevice_currentIndexChanged(), on_position_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and serialize().
|
private |
Channel frequency shift factor.
Definition at line 67 of file localsourcegui.h.
Referenced by applyPosition(), and displayRateAndShift().
|
private |
Definition at line 74 of file localsourcegui.h.
Referenced by tick().
|
private |
Definition at line 73 of file localsourcegui.h.
Referenced by LocalSourceGUI().
|
private |
Definition at line 60 of file localsourcegui.h.
Referenced by applyInterpolation(), applyPosition(), displayRateAndShift(), displaySettings(), LocalSourceGUI(), on_localDevice_currentIndexChanged(), updateLocalDevices(), and ~LocalSourceGUI().
1.8.13