From 9e5a7bb6fdb67fb4c8aa272b83d20a54f46bf309 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 3 Nov 2017 09:39:36 +0100 Subject: [PATCH] SSB mod/demod: fixed default window title --- plugins/channelrx/demodssb/ssbdemodgui.cpp | 9 ++++++++- plugins/channeltx/modssb/ssbmodgui.cpp | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/plugins/channelrx/demodssb/ssbdemodgui.cpp b/plugins/channelrx/demodssb/ssbdemodgui.cpp index e4efb7c13..cf03e3800 100644 --- a/plugins/channelrx/demodssb/ssbdemodgui.cpp +++ b/plugins/channelrx/demodssb/ssbdemodgui.cpp @@ -235,7 +235,14 @@ SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, QWidget connect(&MainWindow::getInstance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); - m_channelMarker.setVisible(true); + m_channelMarker.setColor(Qt::green); + m_channelMarker.setBandwidth(6000); + m_channelMarker.setCenterFrequency(0); + m_channelMarker.setTitle("SSB Demodulator"); + m_channelMarker.setUDPAddress("127.0.0.1"); + m_channelMarker.setUDPSendPort(9999); + m_channelMarker.setVisible(true); + setTitleColor(m_channelMarker.getColor()); m_settings.setChannelMarker(&m_channelMarker); m_settings.setSpectrumGUI(ui->spectrumGUI); diff --git a/plugins/channeltx/modssb/ssbmodgui.cpp b/plugins/channeltx/modssb/ssbmodgui.cpp index 69c3e9b54..ae8155a1c 100644 --- a/plugins/channeltx/modssb/ssbmodgui.cpp +++ b/plugins/channeltx/modssb/ssbmodgui.cpp @@ -396,7 +396,11 @@ SSBModGUI::SSBModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, QWidget* pa m_channelMarker.setBandwidth(m_rate); m_channelMarker.setSidebands(ChannelMarker::usb); m_channelMarker.setCenterFrequency(0); + m_channelMarker.setTitle("SSB Modulator"); + m_channelMarker.setUDPAddress("127.0.0.1"); + m_channelMarker.setUDPSendPort(9999); m_channelMarker.setVisible(true); + setTitleColor(m_channelMarker.getColor()); connect(&m_channelMarker, SIGNAL(changed()), this, SLOT(channelMarkerChanged()));