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 <amdemodgui.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 AMDemodGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel) |
Private Slots | |
void | on_deltaFrequency_changed (qint64 value) |
void | on_pll_toggled (bool checked) |
void | on_ssb_toggled (bool checked) |
void | on_bandpassEnable_toggled (bool checked) |
void | on_rfBW_valueChanged (int value) |
void | on_volume_valueChanged (int value) |
void | on_squelch_valueChanged (int value) |
void | on_audioMute_toggled (bool checked) |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
void | onMenuDialogCalled (const QPoint &p) |
void | handleInputMessages () |
void | audioSelect () |
void | samSSBSelect () |
void | tick () |
Private Member Functions | |
AMDemodGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
virtual | ~AMDemodGUI () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | displayStreamIndex () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::AMDemodGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
AMDemodSettings | m_settings |
bool | m_doApplySettings |
AMDemod * | m_amDemod |
bool | m_squelchOpen |
bool | m_samUSB |
uint32_t | m_tickCount |
MessageQueue | m_inputMessageQueue |
QIcon | m_iconDSBUSB |
QIcon | m_iconDSBLSB |
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 23 of file amdemodgui.h.
|
explicitprivate |
Definition at line 251 of file amdemodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), audioSelect(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), LevelMeterSignalDB::ColorGreenAndBlue, displaySettings(), ChannelMarker::getColor(), getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleInputMessages(), m_amDemod, AMDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, m_iconDSBLSB, m_iconDSBUSB, m_settings, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerRxChannelInstance(), samSSBSelect(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), AMDemodSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 311 of file amdemodgui.cpp.
References m_amDemod, m_deviceUISet, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 323 of file amdemodgui.cpp.
References AMDemod::MsgConfigureAMDemod::create(), AMDemod::MsgConfigureChannelizer::create(), AMDemod::getAudioSampleRate(), ChannelMarker::getCenterFrequency(), BasebandSampleSink::getInputMessageQueue(), m_amDemod, m_channelMarker, m_doApplySettings, m_settings, and MessageQueue::push().
Referenced by AMDemodGUI(), audioSelect(), channelMarkerChangedByCursor(), deserialize(), on_audioMute_toggled(), on_bandpassEnable_toggled(), on_deltaFrequency_changed(), on_pll_toggled(), on_rfBW_valueChanged(), on_squelch_valueChanged(), on_ssb_toggled(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), samSSBSelect(), and setCenterFrequency().
|
privateslot |
Definition at line 420 of file amdemodgui.cpp.
References applySettings(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, AMDemodSettings::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by AMDemodGUI().
|
private |
Definition at line 318 of file amdemodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
|
slot |
Definition at line 126 of file amdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, AMDemodSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by AMDemodGUI().
|
slot |
Definition at line 133 of file amdemodgui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by AMDemodGUI().
|
static |
Definition at line 42 of file amdemodgui.cpp.
References AMDemodGUI().
Referenced by AMDemodPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 85 of file amdemodgui.cpp.
References applySettings(), AMDemodSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 48 of file amdemodgui.cpp.
|
private |
Definition at line 337 of file amdemodgui.cpp.
References arg(), blockApplySettings(), displayStreamIndex(), ChannelMarker::getCenterFrequency(), ChannelMarker::getTitle(), AMDemodSettings::m_audioMute, AMDemodSettings::m_bandpassEnable, m_channelMarker, m_iconDSBLSB, m_iconDSBUSB, AMDemodSettings::m_inputFrequencyOffset, AMDemodSettings::m_pll, AMDemodSettings::m_rfBandwidth, AMDemodSettings::m_rgbColor, m_samUSB, m_settings, AMDemodSettings::m_squelch, AMDemodSettings::m_syncAMOperation, AMDemodSettings::m_title, AMDemodSettings::m_volume, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), AMDemodSettings::SyncAMLSB, AMDemodSettings::SyncAMUSB, and ui.
Referenced by AMDemodGUI(), deserialize(), handleMessage(), and resetToDefaults().
|
private |
Definition at line 401 of file amdemodgui.cpp.
References arg(), DeviceUISet::m_deviceMIMOEngine, m_deviceUISet, m_settings, AMDemodSettings::m_streamIndex, and RollupWidget::setStreamIndicator().
Referenced by displaySettings(), and onMenuDialogCalled().
|
private |
Definition at line 415 of file amdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 63 of file amdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 38 of file amdemodgui.h.
Referenced by AMDemodGUI(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 58 of file amdemodgui.cpp.
|
privateslot |
Definition at line 113 of file amdemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by AMDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 97 of file amdemodgui.cpp.
References blockApplySettings(), displaySettings(), AMDemod::MsgConfigureAMDemod::getSettings(), m_settings, and Message::match().
Referenced by handleInputMessages().
|
private |
Definition at line 410 of file amdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 191 of file amdemodgui.cpp.
References applySettings(), AMDemodSettings::m_audioMute, and m_settings.
|
privateslot |
Definition at line 163 of file amdemodgui.cpp.
References applySettings(), AMDemodSettings::m_bandpassEnable, and m_settings.
|
privateslot |
Definition at line 138 of file amdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, AMDemodSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 145 of file amdemodgui.cpp.
References applySettings(), AMDemodSettings::m_pll, m_settings, and ui.
|
privateslot |
Definition at line 169 of file amdemodgui.cpp.
References applySettings(), arg(), m_channelMarker, AMDemodSettings::m_rfBandwidth, m_settings, ChannelMarker::setBandwidth(), and ui.
|
privateslot |
Definition at line 184 of file amdemodgui.cpp.
References applySettings(), arg(), m_settings, AMDemodSettings::m_squelch, and ui.
|
privateslot |
Definition at line 157 of file amdemodgui.cpp.
References applySettings(), m_samUSB, m_settings, AMDemodSettings::m_syncAMOperation, AMDemodSettings::SyncAMDSB, AMDemodSettings::SyncAMLSB, and AMDemodSettings::SyncAMUSB.
|
privateslot |
Definition at line 177 of file amdemodgui.cpp.
References applySettings(), arg(), m_settings, AMDemodSettings::m_volume, and ui.
|
privateslot |
Definition at line 207 of file amdemodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, RollupWidget::ContextMenuStreamSettings, displayStreamIndex(), ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), AMDemod::getNumberOfDeviceStreams(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), DeviceStreamSelectionDialog::getSelectedStreamIndex(), ChannelMarker::getTitle(), m_amDemod, m_channelMarker, RollupWidget::m_contextMenuType, DeviceUISet::m_deviceMIMOEngine, m_deviceUISet, AMDemodSettings::m_inputFrequencyOffset, AMDemodSettings::m_reverseAPIAddress, AMDemodSettings::m_reverseAPIChannelIndex, AMDemodSettings::m_reverseAPIDeviceIndex, AMDemodSettings::m_reverseAPIPort, AMDemodSettings::m_rgbColor, m_settings, AMDemodSettings::m_streamIndex, AMDemodSettings::m_title, AMDemodSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), DeviceStreamSelectionDialog::setNumberOfStreams(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), DeviceStreamSelectionDialog::setStreamIndex(), ChannelMarker::setStreamIndex(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by AMDemodGUI().
|
privateslot |
Definition at line 197 of file amdemodgui.cpp.
Referenced by AMDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 73 of file amdemodgui.cpp.
References applySettings(), displaySettings(), m_settings, and AMDemodSettings::resetToDefaults().
Referenced by deserialize().
|
privateslot |
Definition at line 433 of file amdemodgui.cpp.
References applySettings(), AMDemodSSBDialog::isUsb(), m_iconDSBLSB, m_iconDSBUSB, m_samUSB, m_settings, AMDemodSettings::m_syncAMOperation, AMDemodSettings::SyncAMDSB, AMDemodSettings::SyncAMLSB, AMDemodSettings::SyncAMUSB, and ui.
Referenced by AMDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 80 of file amdemodgui.cpp.
References m_settings, and AMDemodSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 67 of file amdemodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 53 of file amdemodgui.cpp.
|
privateslot |
Definition at line 453 of file amdemodgui.cpp.
References arg(), CalcDb::dbPower(), AMDemod::getAudioSampleRate(), AMDemod::getMagSqLevels(), AMDemod::getPllFrequency(), AMDemod::getPllLocked(), AMDemod::getSquelchOpen(), m_amDemod, M_PI, AMDemodSettings::m_pll, m_settings, m_squelchOpen, m_tickCount, and ui.
Referenced by AMDemodGUI().
|
private |
Definition at line 53 of file amdemodgui.h.
Referenced by AMDemodGUI(), applySettings(), onMenuDialogCalled(), tick(), and ~AMDemodGUI().
|
private |
Definition at line 49 of file amdemodgui.h.
Referenced by AMDemodGUI(), applySettings(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_rfBW_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
private |
Definition at line 48 of file amdemodgui.h.
Referenced by AMDemodGUI(), displayStreamIndex(), onMenuDialogCalled(), and ~AMDemodGUI().
|
private |
Definition at line 51 of file amdemodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 60 of file amdemodgui.h.
Referenced by AMDemodGUI(), displaySettings(), and samSSBSelect().
|
private |
Definition at line 59 of file amdemodgui.h.
Referenced by AMDemodGUI(), displaySettings(), and samSSBSelect().
|
private |
Definition at line 57 of file amdemodgui.h.
|
private |
Definition at line 47 of file amdemodgui.h.
|
private |
Definition at line 55 of file amdemodgui.h.
Referenced by displaySettings(), on_ssb_toggled(), and samSSBSelect().
|
private |
Definition at line 50 of file amdemodgui.h.
Referenced by AMDemodGUI(), applySettings(), audioSelect(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), displayStreamIndex(), handleMessage(), on_audioMute_toggled(), on_bandpassEnable_toggled(), on_deltaFrequency_changed(), on_pll_toggled(), on_rfBW_valueChanged(), on_squelch_valueChanged(), on_ssb_toggled(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), samSSBSelect(), serialize(), and tick().
|
private |
Definition at line 54 of file amdemodgui.h.
Referenced by tick().
|
private |
Definition at line 56 of file amdemodgui.h.
Referenced by tick().
|
private |
Definition at line 46 of file amdemodgui.h.
Referenced by AMDemodGUI(), channelMarkerChangedByCursor(), displaySettings(), on_pll_toggled(), on_rfBW_valueChanged(), on_squelch_valueChanged(), on_volume_valueChanged(), samSSBSelect(), tick(), and ~AMDemodGUI().