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 <ssbmodgui.h>
Public Slots | |
void | channelMarkerChangedByCursor () |
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 SSBModGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx) |
Private Member Functions | |
SSBModGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx, QWidget *parent=0) | |
virtual | ~SSBModGUI () |
bool | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | applyBandwidths (int spanLog2, bool force=false) |
void | displaySettings () |
void | updateWithStreamData () |
void | updateWithStreamTime () |
void | channelMarkerUpdate () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::SSBModGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
SSBModSettings | m_settings |
bool | m_doApplySettings |
int | m_spectrumRate |
SpectrumVis * | m_spectrumVis |
SSBMod * | m_ssbMod |
MovingAverageUtil< double, double, 20 > | m_channelPowerDbAvg |
QString | m_fileName |
quint32 | m_recordLength |
int | m_recordSampleRate |
int | m_samplesCount |
std::size_t | m_tickCount |
bool | m_enableNavTime |
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 41 of file ssbmodgui.h.
|
explicitprivate |
Definition at line 387 of file ssbmodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applyBandwidths(), arg(), audioFeedbackSelect(), audioSelect(), channelMarkerChangedByCursor(), displaySettings(), ChannelMarker::getColor(), SSBMod::getCWKeyer(), getInputMessageQueue(), BasebandSampleSink::getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleSourceMessages(), SSBMod::m_channelIdURI, m_channelMarker, m_deviceUISet, m_iconDSBLSB, m_iconDSBUSB, m_settings, m_spectrumRate, m_spectrumVis, m_ssbMod, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerTxChannelInstance(), resetToDefaults(), SDR_TX_SCALEF, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), SSBModSettings::setChannelMarker(), ChannelMarker::setColor(), SSBModSettings::setCWKeyerGUI(), BasebandSampleSource::setMessageQueueToGUI(), ChannelMarker::setSidebands(), ChannelMarker::setSourceOrSinkStream(), SSBModSettings::setSpectrumGUI(), SSBMod::setSpectrumSampleSink(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ChannelMarker::setVisible(), tick(), ui, ChannelMarker::usb, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 469 of file ssbmodgui.cpp.
References m_deviceUISet, m_spectrumVis, m_ssbMod, DeviceUISet::removeTxChannelInstance(), and ui.
|
private |
Definition at line 507 of file ssbmodgui.cpp.
References applySettings(), arg(), blockApplySettings(), ChannelMarker::dsb, SSBMod::getAudioSampleRate(), ChannelMarker::lsb, SSBModSettings::m_bandwidth, m_channelMarker, SSBModSettings::m_dsb, m_iconDSBLSB, m_iconDSBUSB, SSBModSettings::m_lowCutoff, m_settings, SSBModSettings::m_spanLog2, m_spectrumRate, m_ssbMod, ChannelMarker::setBandwidth(), ChannelMarker::setLowCutoff(), ChannelMarker::setSidebands(), ui, and ChannelMarker::usb.
Referenced by deserialize(), handleMessage(), on_BW_valueChanged(), on_dsb_toggled(), on_lowCut_valueChanged(), on_spanLog2_valueChanged(), and SSBModGUI().
|
private |
Definition at line 484 of file ssbmodgui.cpp.
References SSBMod::MsgConfigureSSBMod::create(), SSBMod::MsgConfigureChannelizer::create(), BasebandSampleSource::getInputMessageQueue(), SSBModSettings::m_bandwidth, m_doApplySettings, SSBModSettings::m_inputFrequencyOffset, SSBModSettings::m_lowCutoff, m_settings, m_ssbMod, SSBModSettings::m_usb, and MessageQueue::push().
Referenced by applyBandwidths(), audioFeedbackSelect(), audioSelect(), channelMarkerChangedByCursor(), channelMarkerUpdate(), on_agc_toggled(), on_audioBinaural_toggled(), on_audioFlipChannels_toggled(), on_audioMute_toggled(), on_deltaFrequency_changed(), on_feedbackEnable_toggled(), on_feedbackVolume_valueChanged(), on_mic_toggled(), on_morseKeyer_toggled(), on_play_toggled(), on_playLoop_toggled(), on_tone_toggled(), on_toneFrequency_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
privateslot |
Definition at line 728 of file ssbmodgui.cpp.
References applySettings(), audioSelect(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, SSBModSettings::m_audioDeviceName, SSBModSettings::m_feedbackAudioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by SSBModGUI().
|
privateslot |
Definition at line 715 of file ssbmodgui.cpp.
References applySettings(), DSPEngine::instance(), AudioSelectDialog::m_audioDeviceName, SSBModSettings::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by audioFeedbackSelect(), and SSBModGUI().
|
private |
Definition at line 477 of file ssbmodgui.cpp.
References m_doApplySettings.
Referenced by applyBandwidths(), displaySettings(), and handleMessage().
|
slot |
Definition at line 149 of file ssbmodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, SSBModSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by SSBModGUI().
|
private |
Definition at line 156 of file ssbmodgui.cpp.
References applySettings(), displaySettings(), ChannelMarker::getColor(), m_channelMarker, SSBModSettings::m_rgbColor, and m_settings.
|
privateslot |
Definition at line 342 of file ssbmodgui.cpp.
References SSBMod::MsgConfigureFileSourceName::create(), BasebandSampleSource::getInputMessageQueue(), m_fileName, m_ssbMod, and MessageQueue::push().
Referenced by on_showFileDialog_clicked().
|
static |
Definition at line 39 of file ssbmodgui.cpp.
References SSBModGUI().
Referenced by SSBModPlugin::createTxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 81 of file ssbmodgui.cpp.
References applyBandwidths(), SSBModSettings::deserialize(), displaySettings(), m_settings, SSBModSettings::resetToDefaults(), and ui.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 45 of file ssbmodgui.cpp.
|
private |
Definition at line 611 of file ssbmodgui.cpp.
References arg(), blockApplySettings(), ChannelMarker::dsb, ChannelMarker::getTitle(), ChannelMarker::lsb, SSBModSettings::m_agc, SSBModSettings::m_audioBinaural, SSBModSettings::m_audioFlipChannels, SSBModSettings::m_audioMute, SSBModSettings::m_bandwidth, m_channelMarker, SSBModSettings::m_dsb, SSBModSettings::m_feedbackAudioEnable, SSBModSettings::m_feedbackVolumeFactor, m_iconDSBLSB, m_iconDSBUSB, SSBModSettings::m_inputFrequencyOffset, SSBModSettings::m_lowCutoff, SSBModSettings::m_modAFInput, SSBModSettings::m_playLoop, SSBModSettings::m_rgbColor, m_settings, SSBModSettings::m_spanLog2, SSBModSettings::m_title, SSBModSettings::m_toneFrequency, SSBModSettings::m_volumeFactor, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setLowCutoff(), ChannelMarker::setSidebands(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ui, and ChannelMarker::usb.
Referenced by channelMarkerUpdate(), deserialize(), handleMessage(), and SSBModGUI().
|
private |
Definition at line 710 of file ssbmodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 60 of file ssbmodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 56 of file ssbmodgui.h.
Referenced by handleSourceMessages(), and SSBModGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 55 of file ssbmodgui.cpp.
|
virtual |
Implements PluginInstanceGUI.
Definition at line 99 of file ssbmodgui.cpp.
References applyBandwidths(), blockApplySettings(), displaySettings(), SSBMod::getAudioSampleRate(), SSBMod::MsgConfigureSSBMod::getSettings(), CWKeyer::MsgConfigureCWKeyer::getSettings(), SSBModSettings::m_bandwidth, SSBModSettings::m_lowCutoff, m_recordLength, m_recordSampleRate, m_samplesCount, m_settings, m_ssbMod, SSBModSettings::m_usb, Message::match(), ui, updateWithStreamData(), and updateWithStreamTime().
Referenced by handleSourceMessages().
|
privateslot |
Definition at line 163 of file ssbmodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by SSBModGUI().
|
private |
Definition at line 705 of file ssbmodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 308 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_agc, and m_settings.
|
privateslot |
Definition at line 198 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_audioBinaural, and m_settings.
|
privateslot |
Definition at line 204 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_audioFlipChannels, and m_settings.
|
privateslot |
Definition at line 245 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_audioMute, and m_settings.
|
privateslot |
Definition at line 219 of file ssbmodgui.cpp.
References applyBandwidths(), and ui.
|
privateslot |
Definition at line 176 of file ssbmodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, SSBModSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 192 of file ssbmodgui.cpp.
References applyBandwidths(), and ui.
|
privateslot |
Definition at line 295 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_feedbackAudioEnable, and m_settings.
|
privateslot |
Definition at line 301 of file ssbmodgui.cpp.
References applySettings(), arg(), SSBModSettings::m_feedbackVolumeFactor, m_settings, and ui.
|
privateslot |
|
privateslot |
Definition at line 225 of file ssbmodgui.cpp.
References applyBandwidths(), and ui.
|
privateslot |
Definition at line 286 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_modAFInput, m_settings, SSBModSettings::SSBModInputAudio, SSBModSettings::SSBModInputNone, and ui.
|
privateslot |
Definition at line 277 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_modAFInput, m_settings, SSBModSettings::SSBModInputCWTone, SSBModSettings::SSBModInputNone, and ui.
|
privateslot |
Definition at line 314 of file ssbmodgui.cpp.
References SSBMod::MsgConfigureFileSourceSeek::create(), BasebandSampleSource::getInputMessageQueue(), m_enableNavTime, m_recordLength, m_ssbMod, and MessageQueue::push().
|
privateslot |
Definition at line 257 of file ssbmodgui.cpp.
References applySettings(), m_enableNavTime, SSBModSettings::m_modAFInput, m_settings, SSBModSettings::SSBModInputFile, SSBModSettings::SSBModInputNone, and ui.
|
privateslot |
Definition at line 251 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_playLoop, and m_settings.
|
privateslot |
Definition at line 327 of file ssbmodgui.cpp.
References configureFileName(), m_fileName, and ui.
|
privateslot |
Definition at line 210 of file ssbmodgui.cpp.
References applyBandwidths().
|
privateslot |
Definition at line 268 of file ssbmodgui.cpp.
References applySettings(), SSBModSettings::m_modAFInput, m_settings, SSBModSettings::SSBModInputNone, SSBModSettings::SSBModInputTone, and ui.
|
privateslot |
Definition at line 231 of file ssbmodgui.cpp.
References applySettings(), arg(), m_settings, SSBModSettings::m_toneFrequency, and ui.
|
privateslot |
Definition at line 238 of file ssbmodgui.cpp.
References applySettings(), arg(), m_settings, SSBModSettings::m_volumeFactor, and ui.
|
privateslot |
Definition at line 355 of file ssbmodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, SSBModSettings::m_inputFrequencyOffset, SSBModSettings::m_reverseAPIAddress, SSBModSettings::m_reverseAPIChannelIndex, SSBModSettings::m_reverseAPIDeviceIndex, SSBModSettings::m_reverseAPIPort, SSBModSettings::m_rgbColor, m_settings, SSBModSettings::m_title, SSBModSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by SSBModGUI().
|
privateslot |
Definition at line 349 of file ssbmodgui.cpp.
Referenced by SSBModGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 71 of file ssbmodgui.cpp.
References m_settings, and SSBModSettings::resetToDefaults().
Referenced by SSBModGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 76 of file ssbmodgui.cpp.
References m_settings, and SSBModSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 64 of file ssbmodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, SSBModSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 50 of file ssbmodgui.cpp.
|
privateslot |
Definition at line 741 of file ssbmodgui.cpp.
References arg(), SSBMod::MsgConfigureFileSourceStreamTiming::create(), CalcDb::dbPower(), BasebandSampleSource::getInputMessageQueue(), SSBMod::getMagSq(), m_channelPowerDbAvg, SSBModSettings::m_modAFInput, m_settings, m_ssbMod, m_tickCount, MessageQueue::push(), SSBModSettings::SSBModInputFile, and ui.
Referenced by SSBModGUI().
|
private |
Definition at line 754 of file ssbmodgui.cpp.
References m_recordLength, ui, and updateWithStreamTime().
Referenced by handleMessage().
|
private |
Definition at line 763 of file ssbmodgui.cpp.
References m_enableNavTime, m_recordLength, m_recordSampleRate, m_samplesCount, and ui.
Referenced by handleMessage(), and updateWithStreamData().
|
private |
Definition at line 66 of file ssbmodgui.h.
Referenced by applyBandwidths(), channelMarkerChangedByCursor(), channelMarkerUpdate(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), onMenuDialogCalled(), setCenterFrequency(), and SSBModGUI().
|
private |
Definition at line 73 of file ssbmodgui.h.
Referenced by tick().
|
private |
Definition at line 65 of file ssbmodgui.h.
Referenced by SSBModGUI(), and ~SSBModGUI().
|
private |
Definition at line 68 of file ssbmodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 80 of file ssbmodgui.h.
Referenced by on_navTimeSlider_valueChanged(), on_play_toggled(), and updateWithStreamTime().
|
private |
Definition at line 75 of file ssbmodgui.h.
Referenced by configureFileName(), and on_showFileDialog_clicked().
|
private |
Definition at line 84 of file ssbmodgui.h.
Referenced by applyBandwidths(), displaySettings(), and SSBModGUI().
|
private |
Definition at line 83 of file ssbmodgui.h.
Referenced by applyBandwidths(), displaySettings(), and SSBModGUI().
|
private |
Definition at line 81 of file ssbmodgui.h.
|
private |
Definition at line 64 of file ssbmodgui.h.
|
private |
Definition at line 76 of file ssbmodgui.h.
Referenced by handleMessage(), on_navTimeSlider_valueChanged(), updateWithStreamData(), and updateWithStreamTime().
|
private |
Definition at line 77 of file ssbmodgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 78 of file ssbmodgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 67 of file ssbmodgui.h.
Referenced by applyBandwidths(), applySettings(), audioFeedbackSelect(), audioSelect(), channelMarkerChangedByCursor(), channelMarkerUpdate(), deserialize(), displaySettings(), handleMessage(), on_agc_toggled(), on_audioBinaural_toggled(), on_audioFlipChannels_toggled(), on_audioMute_toggled(), on_deltaFrequency_changed(), on_feedbackEnable_toggled(), on_feedbackVolume_valueChanged(), on_mic_toggled(), on_morseKeyer_toggled(), on_play_toggled(), on_playLoop_toggled(), on_tone_toggled(), on_toneFrequency_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), serialize(), setCenterFrequency(), SSBModGUI(), and tick().
|
private |
Definition at line 69 of file ssbmodgui.h.
Referenced by applyBandwidths(), and SSBModGUI().
|
private |
Definition at line 71 of file ssbmodgui.h.
Referenced by SSBModGUI(), and ~SSBModGUI().
|
private |
Definition at line 72 of file ssbmodgui.h.
Referenced by applyBandwidths(), applySettings(), configureFileName(), handleMessage(), on_navTimeSlider_valueChanged(), SSBModGUI(), tick(), and ~SSBModGUI().
|
private |
Definition at line 79 of file ssbmodgui.h.
Referenced by tick().
|
private |
Definition at line 63 of file ssbmodgui.h.
Referenced by applyBandwidths(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), handleMessage(), on_BW_valueChanged(), on_dsb_toggled(), on_feedbackVolume_valueChanged(), on_flipSidebands_clicked(), on_lowCut_valueChanged(), on_mic_toggled(), on_morseKeyer_toggled(), on_play_toggled(), on_showFileDialog_clicked(), on_tone_toggled(), on_toneFrequency_valueChanged(), on_volume_valueChanged(), SSBModGUI(), tick(), updateWithStreamData(), updateWithStreamTime(), and ~SSBModGUI().