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 <atvmodgui.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 ATVModGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx) |
Private Member Functions | |
ATVModGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx, QWidget *parent=0) | |
virtual | ~ATVModGUI () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | updateWithStreamData () |
void | updateWithStreamTime () |
void | setRFFiltersSlidersRange (int sampleRate) |
void | setChannelMarkerBandwidth () |
int | getNbLines () |
int | getFPS () |
int | getNbLinesIndex (int nbLines) |
int | getFPSIndex (int fps) |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
Private Attributes | |
Ui::ATVModGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
ATVModSettings | m_settings |
bool | m_doApplySettings |
ATVMod * | m_atvMod |
MovingAverageUtil< double, double, 20 > | m_channelPowerDbAvg |
QString | m_imageFileName |
QString | m_videoFileName |
quint32 | m_videoLength |
video file length in seconds More... | |
float | m_videoFrameRate |
video file frame rate More... | |
int | m_frameCount |
std::size_t | m_tickCount |
bool | m_enableNavTime |
QMessageBox * | m_camBusyFPSMessageBox |
int | m_rfSliderDivisor |
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 39 of file atvmodgui.h.
|
explicitprivate |
Definition at line 647 of file atvmodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), channelMarkerChangedByCursor(), displaySettings(), ATVMod::getCameraNumbers(), ChannelMarker::getColor(), getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleSourceMessages(), m_atvMod, ATVMod::m_channelIdURI, m_channelMarker, m_deviceUISet, ATVModSettings::m_rgbColor, m_settings, onMenuDialogCalled(), onWidgetRolled(), DeviceUISet::registerTxChannelInstance(), resetToDefaults(), ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ATVModSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSource::setMessageQueueToGUI(), ChannelMarker::setSourceOrSinkStream(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 713 of file atvmodgui.cpp.
References m_atvMod, m_deviceUISet, DeviceUISet::removeTxChannelInstance(), and ui.
|
private |
Definition at line 725 of file atvmodgui.cpp.
References ATVMod::MsgConfigureATVMod::create(), ATVMod::MsgConfigureChannelizer::create(), ChannelMarker::getCenterFrequency(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, m_channelMarker, m_doApplySettings, m_settings, and MessageQueue::push().
Referenced by ATVModGUI(), channelMarkerChangedByCursor(), deserialize(), on_channelMute_toggled(), on_deltaFrequency_changed(), on_fmExcursion_valueChanged(), on_forceDecimator_toggled(), on_fps_currentIndexChanged(), on_inputSelect_currentIndexChanged(), on_invertVideo_clicked(), on_modulation_currentIndexChanged(), on_nbLines_currentIndexChanged(), on_overlayText_textEdited(), on_overlayTextShow_toggled(), on_playCamera_toggled(), on_playLoop_toggled(), on_playVideo_toggled(), on_rfBW_valueChanged(), on_rfOppBW_valueChanged(), on_rfScaling_valueChanged(), on_standard_currentIndexChanged(), on_uniformLevel_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
private |
Definition at line 720 of file atvmodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), and handleMessage().
|
slot |
Definition at line 180 of file atvmodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, ATVModSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by ATVModGUI().
|
privateslot |
Definition at line 595 of file atvmodgui.cpp.
References ATVMod::MsgConfigureImageFileName::create(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, m_imageFileName, and MessageQueue::push().
Referenced by on_imageFileDialog_clicked().
|
privateslot |
Definition at line 602 of file atvmodgui.cpp.
References ATVMod::MsgConfigureVideoFileName::create(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, m_videoFileName, and MessageQueue::push().
Referenced by on_videoFileDialog_clicked().
|
static |
Definition at line 38 of file atvmodgui.cpp.
References ATVModGUI().
Referenced by ATVModPlugin::createTxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 79 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::deserialize(), displaySettings(), m_settings, and ATVModSettings::resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 44 of file atvmodgui.cpp.
|
private |
Definition at line 738 of file atvmodgui.cpp.
References arg(), blockApplySettings(), ATVMod::getEffectiveSampleRate(), getFPS(), getFPSIndex(), getNbLines(), getNbLinesIndex(), ChannelMarker::getTitle(), m_atvMod, ATVModSettings::m_atvModInput, ATVModSettings::m_atvModulation, ATVModSettings::m_atvStd, ATVModSettings::m_cameraPlay, m_channelMarker, ATVModSettings::m_channelMute, ATVModSettings::m_fmExcursion, ATVModSettings::m_forceDecimator, ATVModSettings::m_fps, ATVModSettings::m_inputFrequencyOffset, ATVModSettings::m_invertedVideo, ATVModSettings::m_nbLines, ATVModSettings::m_overlayText, ATVModSettings::m_rfBandwidth, ATVModSettings::m_rfOppBandwidth, ATVModSettings::m_rfScalingFactor, m_rfSliderDivisor, ATVModSettings::m_rgbColor, m_settings, ATVModSettings::m_showOverlayText, ATVModSettings::m_title, ATVModSettings::m_uniformLevel, ATVModSettings::m_videoPlay, ATVModSettings::m_videoPlayLoop, ChannelMarker::setCenterFrequency(), setChannelMarkerBandwidth(), ChannelMarker::setColor(), setRFFiltersSlidersRange(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by ATVModGUI(), deserialize(), and handleMessage().
|
private |
Definition at line 802 of file atvmodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 59 of file atvmodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
private |
Definition at line 294 of file atvmodgui.cpp.
References ui.
Referenced by displaySettings(), and on_fps_currentIndexChanged().
|
private |
Definition at line 332 of file atvmodgui.cpp.
Referenced by displaySettings().
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 54 of file atvmodgui.h.
Referenced by ATVModGUI(), and handleSourceMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 54 of file atvmodgui.cpp.
|
private |
Definition at line 214 of file atvmodgui.cpp.
References ui.
Referenced by displaySettings(), and on_nbLines_currentIndexChanged().
|
private |
Definition at line 261 of file atvmodgui.cpp.
Referenced by displaySettings().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 96 of file atvmodgui.cpp.
References arg(), blockApplySettings(), displaySettings(), ATVMod::MsgReportCameraData::getdeviceNumber(), ATVMod::MsgConfigureImageFileName::getFileName(), ATVMod::MsgConfigureVideoFileName::getFileName(), ATVMod::MsgReportCameraData::getFPS(), ATVMod::MsgReportCameraData::getFPSManual(), ATVMod::MsgReportCameraData::getFPSManualEnable(), ATVMod::MsgReportCameraData::getHeight(), ATVMod::MsgConfigureATVMod::getSettings(), ATVMod::MsgReportCameraData::getStatus(), ATVMod::MsgReportCameraData::getWidth(), m_camBusyFPSMessageBox, m_frameCount, m_settings, m_videoFrameRate, m_videoLength, Message::match(), setRFFiltersSlidersRange(), ui, updateWithStreamData(), and updateWithStreamTime().
Referenced by handleSourceMessages().
|
privateslot |
Definition at line 359 of file atvmodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by ATVModGUI().
|
private |
Definition at line 797 of file atvmodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 572 of file atvmodgui.cpp.
References arg(), ATVMod::MsgConfigureCameraData::create(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 563 of file atvmodgui.cpp.
References ATVMod::MsgConfigureCameraData::create(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, MessageQueue::push(), and ui.
|
privateslot |
Definition at line 557 of file atvmodgui.cpp.
References ATVMod::MsgConfigureCameraIndex::create(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, and MessageQueue::push().
|
privateslot |
Definition at line 488 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_channelMute, and m_settings.
|
privateslot |
Definition at line 372 of file atvmodgui.cpp.
References applySettings(), m_channelMarker, ATVModSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 394 of file atvmodgui.cpp.
References applySettings(), arg(), ATVModSettings::m_fmExcursion, m_settings, and ui.
|
privateslot |
Definition at line 494 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_forceDecimator, and m_settings.
|
privateslot |
Definition at line 455 of file atvmodgui.cpp.
References applySettings(), getFPS(), ATVModSettings::m_fps, and m_settings.
|
privateslot |
Definition at line 500 of file atvmodgui.cpp.
References configureImageFileName(), m_imageFileName, and ui.
|
privateslot |
Definition at line 482 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_atvModInput, and m_settings.
|
privateslot |
Definition at line 476 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_invertedVideo, and m_settings.
|
privateslot |
Definition at line 379 of file atvmodgui.cpp.
References applySettings(), ATVMod::getEffectiveSampleRate(), m_atvMod, ATVModSettings::m_atvModulation, m_settings, setChannelMarkerBandwidth(), and setRFFiltersSlidersRange().
|
privateslot |
Definition at line 542 of file atvmodgui.cpp.
References ATVMod::MsgConfigureVideoFileSourceSeek::create(), BasebandSampleSource::getInputMessageQueue(), m_atvMod, m_enableNavTime, and MessageQueue::push().
|
privateslot |
Definition at line 448 of file atvmodgui.cpp.
References applySettings(), getNbLines(), ATVModSettings::m_nbLines, and m_settings.
|
privateslot |
Definition at line 588 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_overlayText, and m_settings.
|
privateslot |
Definition at line 582 of file atvmodgui.cpp.
References applySettings(), m_settings, and ATVModSettings::m_showOverlayText.
|
privateslot |
Definition at line 551 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_cameraPlay, and m_settings.
|
privateslot |
Definition at line 528 of file atvmodgui.cpp.
References applySettings(), m_settings, and ATVModSettings::m_videoPlayLoop.
|
privateslot |
Definition at line 534 of file atvmodgui.cpp.
References applySettings(), m_enableNavTime, m_settings, ATVModSettings::m_videoPlay, and ui.
|
privateslot |
Definition at line 401 of file atvmodgui.cpp.
References applySettings(), arg(), ATVModSettings::m_rfBandwidth, m_rfSliderDivisor, m_settings, setChannelMarkerBandwidth(), and ui.
|
privateslot |
Definition at line 409 of file atvmodgui.cpp.
References applySettings(), arg(), ATVModSettings::m_rfOppBandwidth, m_rfSliderDivisor, m_settings, setChannelMarkerBandwidth(), and ui.
|
privateslot |
Definition at line 387 of file atvmodgui.cpp.
References applySettings(), arg(), ATVModSettings::m_rfScalingFactor, m_settings, and ui.
|
privateslot |
Definition at line 463 of file atvmodgui.cpp.
References applySettings(), ATVModSettings::m_atvStd, and m_settings.
|
privateslot |
Definition at line 469 of file atvmodgui.cpp.
References applySettings(), arg(), m_settings, ATVModSettings::m_uniformLevel, and ui.
|
privateslot |
Definition at line 514 of file atvmodgui.cpp.
References configureVideoFileName(), m_videoFileName, and ui.
|
privateslot |
Definition at line 615 of file atvmodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, ATVModSettings::m_inputFrequencyOffset, ATVModSettings::m_reverseAPIAddress, ATVModSettings::m_reverseAPIChannelIndex, ATVModSettings::m_reverseAPIDeviceIndex, ATVModSettings::m_reverseAPIPort, ATVModSettings::m_rgbColor, m_settings, ATVModSettings::m_title, ATVModSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by ATVModGUI().
|
privateslot |
Definition at line 609 of file atvmodgui.cpp.
Referenced by ATVModGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 69 of file atvmodgui.cpp.
References m_settings, and ATVModSettings::resetToDefaults().
Referenced by ATVModGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 74 of file atvmodgui.cpp.
References m_settings, and ATVModSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 63 of file atvmodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
private |
Definition at line 417 of file atvmodgui.cpp.
References ATVModSettings::ATVModulationLSB, ATVModSettings::ATVModulationUSB, ATVModSettings::ATVModulationVestigialLSB, ATVModSettings::ATVModulationVestigialUSB, ChannelMarker::dsb, ChannelMarker::lsb, m_channelMarker, m_rfSliderDivisor, ChannelMarker::setBandwidth(), ChannelMarker::setOppositeBandwidth(), ChannelMarker::setSidebands(), ui, ChannelMarker::usb, ChannelMarker::vlsb, and ChannelMarker::vusb.
Referenced by displaySettings(), on_modulation_currentIndexChanged(), on_rfBW_valueChanged(), and on_rfOppBW_valueChanged().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 49 of file atvmodgui.cpp.
|
private |
Definition at line 187 of file atvmodgui.cpp.
References arg(), ATVModSettings::ATVModulationLSB, ATVModSettings::ATVModulationUSB, ATVModSettings::ATVModulationVestigialLSB, ATVModSettings::ATVModulationVestigialUSB, m_rfSliderDivisor, and ui.
Referenced by displaySettings(), handleMessage(), and on_modulation_currentIndexChanged().
|
privateslot |
Definition at line 807 of file atvmodgui.cpp.
References arg(), ATVModSettings::ATVModInputVideo, ATVMod::MsgConfigureVideoFileSourceStreamTiming::create(), CalcDb::dbPower(), BasebandSampleSource::getInputMessageQueue(), ATVMod::getMagSq(), m_atvMod, m_channelPowerDbAvg, m_tickCount, MessageQueue::push(), and ui.
Referenced by ATVModGUI().
|
private |
Definition at line 820 of file atvmodgui.cpp.
References m_videoFrameRate, m_videoLength, ui, and updateWithStreamTime().
Referenced by handleMessage().
|
private |
Definition at line 829 of file atvmodgui.cpp.
References m_enableNavTime, m_frameCount, m_videoFrameRate, m_videoLength, and ui.
Referenced by handleMessage(), and updateWithStreamData().
|
private |
Definition at line 68 of file atvmodgui.h.
Referenced by applySettings(), ATVModGUI(), configureImageFileName(), configureVideoFileName(), displaySettings(), on_cameraManualFPS_valueChanged(), on_cameraManualFPSEnable_toggled(), on_camSelect_currentIndexChanged(), on_modulation_currentIndexChanged(), on_navTimeSlider_valueChanged(), tick(), and ~ATVModGUI().
|
private |
Definition at line 78 of file atvmodgui.h.
Referenced by handleMessage().
|
private |
Definition at line 64 of file atvmodgui.h.
Referenced by applySettings(), ATVModGUI(), channelMarkerChangedByCursor(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), onMenuDialogCalled(), setCenterFrequency(), and setChannelMarkerBandwidth().
|
private |
Definition at line 69 of file atvmodgui.h.
Referenced by tick().
|
private |
Definition at line 63 of file atvmodgui.h.
Referenced by ATVModGUI(), and ~ATVModGUI().
|
private |
Definition at line 66 of file atvmodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 77 of file atvmodgui.h.
Referenced by on_navTimeSlider_valueChanged(), on_playVideo_toggled(), and updateWithStreamTime().
|
private |
Definition at line 75 of file atvmodgui.h.
Referenced by handleMessage(), and updateWithStreamTime().
|
private |
Definition at line 71 of file atvmodgui.h.
Referenced by configureImageFileName(), and on_imageFileDialog_clicked().
|
private |
Definition at line 80 of file atvmodgui.h.
|
private |
Definition at line 62 of file atvmodgui.h.
|
private |
Definition at line 79 of file atvmodgui.h.
Referenced by displaySettings(), on_rfBW_valueChanged(), on_rfOppBW_valueChanged(), setChannelMarkerBandwidth(), and setRFFiltersSlidersRange().
|
private |
Definition at line 65 of file atvmodgui.h.
Referenced by applySettings(), ATVModGUI(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), handleMessage(), on_channelMute_toggled(), on_deltaFrequency_changed(), on_fmExcursion_valueChanged(), on_forceDecimator_toggled(), on_fps_currentIndexChanged(), on_inputSelect_currentIndexChanged(), on_invertVideo_clicked(), on_modulation_currentIndexChanged(), on_nbLines_currentIndexChanged(), on_overlayText_textEdited(), on_overlayTextShow_toggled(), on_playCamera_toggled(), on_playLoop_toggled(), on_playVideo_toggled(), on_rfBW_valueChanged(), on_rfOppBW_valueChanged(), on_rfScaling_valueChanged(), on_standard_currentIndexChanged(), on_uniformLevel_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and serialize().
|
private |
Definition at line 76 of file atvmodgui.h.
Referenced by tick().
|
private |
Definition at line 72 of file atvmodgui.h.
Referenced by configureVideoFileName(), and on_videoFileDialog_clicked().
|
private |
video file frame rate
Definition at line 74 of file atvmodgui.h.
Referenced by handleMessage(), updateWithStreamData(), and updateWithStreamTime().
|
private |
video file length in seconds
Definition at line 73 of file atvmodgui.h.
Referenced by handleMessage(), updateWithStreamData(), and updateWithStreamTime().
|
private |
Definition at line 61 of file atvmodgui.h.
Referenced by ATVModGUI(), channelMarkerChangedByCursor(), displaySettings(), getFPS(), getNbLines(), handleMessage(), on_cameraManualFPS_valueChanged(), on_cameraManualFPSEnable_toggled(), on_fmExcursion_valueChanged(), on_imageFileDialog_clicked(), on_playVideo_toggled(), on_rfBW_valueChanged(), on_rfOppBW_valueChanged(), on_rfScaling_valueChanged(), on_uniformLevel_valueChanged(), on_videoFileDialog_clicked(), setChannelMarkerBandwidth(), setRFFiltersSlidersRange(), tick(), updateWithStreamData(), updateWithStreamTime(), and ~ATVModGUI().