mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-04 22:27:53 -04:00
Demdulators: removed obsolete on menu double clicked event handling. Modulators: removed obsolete basic settings shown indicator
This commit is contained in:
parent
e2252836f0
commit
9cca7100ac
@ -312,23 +312,12 @@ void ChannelAnalyzerGUI::onWidgetRolled(QWidget* widget __attribute__((unused)),
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelAnalyzerGUI::onMenuDoubleClicked()
|
|
||||||
{
|
|
||||||
if(!m_basicSettingsShown) {
|
|
||||||
m_basicSettingsShown = true;
|
|
||||||
BasicChannelSettingsWidget* bcsw = new BasicChannelSettingsWidget(&m_channelMarker, this);
|
|
||||||
bcsw->show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
||||||
RollupWidget(parent),
|
RollupWidget(parent),
|
||||||
ui(new Ui::ChannelAnalyzerGUI),
|
ui(new Ui::ChannelAnalyzerGUI),
|
||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
// m_deviceAPI(deviceAPI),
|
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_rate(6000),
|
m_rate(6000),
|
||||||
m_spanLog2(3),
|
m_spanLog2(3),
|
||||||
@ -337,7 +326,6 @@ ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, DeviceUISet *device
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
|
|
||||||
|
|
||||||
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
||||||
m_scopeVis = new ScopeVis(ui->glScope);
|
m_scopeVis = new ScopeVis(ui->glScope);
|
||||||
@ -359,7 +347,6 @@ ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, DeviceUISet *device
|
|||||||
ui->glScope->connectTimer(MainWindow::getInstance()->getMasterTimer());
|
ui->glScope->connectTimer(MainWindow::getInstance()->getMasterTimer());
|
||||||
connect(&MainWindow::getInstance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick()));
|
connect(&MainWindow::getInstance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick()));
|
||||||
|
|
||||||
//m_channelMarker = new ChannelMarker(this);
|
|
||||||
m_channelMarker.setColor(Qt::gray);
|
m_channelMarker.setColor(Qt::gray);
|
||||||
m_channelMarker.setBandwidth(m_rate);
|
m_channelMarker.setBandwidth(m_rate);
|
||||||
m_channelMarker.setSidebands(ChannelMarker::usb);
|
m_channelMarker.setSidebands(ChannelMarker::usb);
|
||||||
@ -388,7 +375,6 @@ ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
|||||||
delete m_spectrumVis;
|
delete m_spectrumVis;
|
||||||
delete m_scopeVis;
|
delete m_scopeVis;
|
||||||
delete m_spectrumScopeComboVis;
|
delete m_spectrumScopeComboVis;
|
||||||
//delete m_channelMarker;
|
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -401,7 +387,6 @@ bool ChannelAnalyzerGUI::setNewRate(int spanLog2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_spanLog2 = spanLog2;
|
m_spanLog2 = spanLog2;
|
||||||
//m_rate = 48000 / (1<<spanLog2);
|
|
||||||
m_rate = m_channelAnalyzer->getSampleRate() / (1<<spanLog2);
|
m_rate = m_channelAnalyzer->getSampleRate() / (1<<spanLog2);
|
||||||
|
|
||||||
if (ui->BW->value() < -m_rate/200) {
|
if (ui->BW->value() < -m_rate/200) {
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
class DeviceUISet;
|
class DeviceUISet;
|
||||||
class BasebandSampleSink;
|
class BasebandSampleSink;
|
||||||
class ThreadedBasebandSampleSink;
|
|
||||||
class DownChannelizer;
|
|
||||||
class ChannelAnalyzer;
|
class ChannelAnalyzer;
|
||||||
class SpectrumScopeComboVis;
|
class SpectrumScopeComboVis;
|
||||||
class SpectrumVis;
|
class SpectrumVis;
|
||||||
@ -64,24 +62,19 @@ private slots:
|
|||||||
void on_spanLog2_valueChanged(int value);
|
void on_spanLog2_valueChanged(int value);
|
||||||
void on_ssb_toggled(bool checked);
|
void on_ssb_toggled(bool checked);
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
|
||||||
void handleInputMessages();
|
void handleInputMessages();
|
||||||
void tick();
|
void tick();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ChannelAnalyzerGUI* ui;
|
Ui::ChannelAnalyzerGUI* ui;
|
||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
// DeviceSourceAPI* m_deviceAPI;
|
|
||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
int m_rate;
|
int m_rate;
|
||||||
int m_spanLog2;
|
int m_spanLog2;
|
||||||
MovingAverage<Real> m_channelPowerDbAvg;
|
MovingAverage<Real> m_channelPowerDbAvg;
|
||||||
|
|
||||||
// ThreadedBasebandSampleSink* m_threadedChannelizer;
|
|
||||||
// DownChannelizer* m_channelizer;
|
|
||||||
ChannelAnalyzer* m_channelAnalyzer;
|
ChannelAnalyzer* m_channelAnalyzer;
|
||||||
SpectrumScopeComboVis* m_spectrumScopeComboVis;
|
SpectrumScopeComboVis* m_spectrumScopeComboVis;
|
||||||
SpectrumVis* m_spectrumVis;
|
SpectrumVis* m_spectrumVis;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
const PluginDescriptor ChannelAnalyzerPlugin::m_pluginDescriptor = {
|
const PluginDescriptor ChannelAnalyzerPlugin::m_pluginDescriptor = {
|
||||||
QString("Channel Analyzer"),
|
QString("Channel Analyzer"),
|
||||||
QString("3.8.2"),
|
QString("3.8.3"),
|
||||||
QString("(c) Edouard Griffiths, F4EXB"),
|
QString("(c) Edouard Griffiths, F4EXB"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
@ -373,22 +373,12 @@ void ChannelAnalyzerNGGUI::onWidgetRolled(QWidget* widget __attribute__((unused)
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChannelAnalyzerNGGUI::onMenuDoubleClicked()
|
|
||||||
{
|
|
||||||
if(!m_basicSettingsShown) {
|
|
||||||
m_basicSettingsShown = true;
|
|
||||||
BasicChannelSettingsWidget* bcsw = new BasicChannelSettingsWidget(&m_channelMarker, this);
|
|
||||||
bcsw->show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ChannelAnalyzerNGGUI::ChannelAnalyzerNGGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
ChannelAnalyzerNGGUI::ChannelAnalyzerNGGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
||||||
RollupWidget(parent),
|
RollupWidget(parent),
|
||||||
ui(new Ui::ChannelAnalyzerNGGUI),
|
ui(new Ui::ChannelAnalyzerNGGUI),
|
||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_rate(6000),
|
m_rate(6000),
|
||||||
m_spanLog2(0),
|
m_spanLog2(0),
|
||||||
@ -397,7 +387,6 @@ ChannelAnalyzerNGGUI::ChannelAnalyzerNGGUI(PluginAPI* pluginAPI, DeviceUISet *de
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
|
|
||||||
|
|
||||||
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
||||||
m_scopeVis = new ScopeVisNG(ui->glScope);
|
m_scopeVis = new ScopeVisNG(ui->glScope);
|
||||||
|
@ -63,7 +63,6 @@ private slots:
|
|||||||
void on_spanLog2_currentIndexChanged(int index);
|
void on_spanLog2_currentIndexChanged(int index);
|
||||||
void on_ssb_toggled(bool checked);
|
void on_ssb_toggled(bool checked);
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
|
||||||
void handleInputMessages();
|
void handleInputMessages();
|
||||||
void tick();
|
void tick();
|
||||||
|
|
||||||
@ -72,7 +71,6 @@ private:
|
|||||||
PluginAPI* m_pluginAPI;
|
PluginAPI* m_pluginAPI;
|
||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
int m_rate; //!< sample rate after final in-channel decimation (spanlog2)
|
int m_rate; //!< sample rate after final in-channel decimation (spanlog2)
|
||||||
int m_spanLog2;
|
int m_spanLog2;
|
||||||
|
@ -260,24 +260,12 @@ void ATVDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool r
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void ATVDemodGUI::onMenuDoubleClicked()
|
|
||||||
{
|
|
||||||
if (!m_blnBasicSettingsShown)
|
|
||||||
{
|
|
||||||
m_blnBasicSettingsShown = true;
|
|
||||||
BasicChannelSettingsWidget* bcsw = new BasicChannelSettingsWidget(
|
|
||||||
&m_channelMarker, this);
|
|
||||||
bcsw->show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* objParent) :
|
ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* objParent) :
|
||||||
RollupWidget(objParent),
|
RollupWidget(objParent),
|
||||||
ui(new Ui::ATVDemodGUI),
|
ui(new Ui::ATVDemodGUI),
|
||||||
m_pluginAPI(objPluginAPI),
|
m_pluginAPI(objPluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_blnBasicSettingsShown(false),
|
|
||||||
m_blnDoApplySettings(true),
|
m_blnDoApplySettings(true),
|
||||||
m_objMagSqAverage(40, 0),
|
m_objMagSqAverage(40, 0),
|
||||||
m_intTickCount(0),
|
m_intTickCount(0),
|
||||||
@ -286,7 +274,6 @@ ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Base
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
|
|
||||||
|
|
||||||
m_scopeVis = new ScopeVisNG(ui->glScope);
|
m_scopeVis = new ScopeVisNG(ui->glScope);
|
||||||
m_atvDemod = (ATVDemod*) rxChannel; //new ATVDemod(m_deviceUISet->m_deviceSourceAPI);
|
m_atvDemod = (ATVDemod*) rxChannel; //new ATVDemod(m_deviceUISet->m_deviceSourceAPI);
|
||||||
|
@ -58,7 +58,6 @@ private slots:
|
|||||||
void viewChanged();
|
void viewChanged();
|
||||||
void handleSourceMessages();
|
void handleSourceMessages();
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
|
||||||
void tick();
|
void tick();
|
||||||
void on_synchLevel_valueChanged(int value);
|
void on_synchLevel_valueChanged(int value);
|
||||||
void on_blackLevel_valueChanged(int value);
|
void on_blackLevel_valueChanged(int value);
|
||||||
@ -89,7 +88,6 @@ private:
|
|||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
ATVDemod* m_atvDemod;
|
ATVDemod* m_atvDemod;
|
||||||
|
|
||||||
bool m_blnBasicSettingsShown;
|
|
||||||
bool m_blnDoApplySettings;
|
bool m_blnDoApplySettings;
|
||||||
|
|
||||||
MovingAverage<double> m_objMagSqAverage;
|
MovingAverage<double> m_objMagSqAverage;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
const PluginDescriptor ATVDemodPlugin::m_ptrPluginDescriptor =
|
const PluginDescriptor ATVDemodPlugin::m_ptrPluginDescriptor =
|
||||||
{
|
{
|
||||||
QString("ATV Demodulator"),
|
QString("ATV Demodulator"),
|
||||||
QString("3.8.2"),
|
QString("3.8.3"),
|
||||||
QString("(c) F4HKW for F4EXB / SDRAngel"),
|
QString("(c) F4HKW for F4EXB / SDRAngel"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
@ -104,19 +104,6 @@ void LoRaDemodGUI::on_Spread_valueChanged(int value __attribute__((unused)))
|
|||||||
|
|
||||||
void LoRaDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
void LoRaDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
if((widget == ui->spectrumContainer) && (m_LoRaDemod != NULL))
|
|
||||||
m_LoRaDemod->setSpectrum(m_threadedSampleSink->getMessageQueue(), rollDown);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
void LoRaDemodGUI::onMenuDoubleClicked()
|
|
||||||
{
|
|
||||||
if(!m_basicSettingsShown) {
|
|
||||||
m_basicSettingsShown = true;
|
|
||||||
BasicChannelSettingsWidget* bcsw = new BasicChannelSettingsWidget(&m_channelMarker, this);
|
|
||||||
bcsw->show();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LoRaDemodGUI::LoRaDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
LoRaDemodGUI::LoRaDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
||||||
@ -125,13 +112,11 @@ LoRaDemodGUI::LoRaDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true)
|
m_doApplySettings(true)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
|
|
||||||
|
|
||||||
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
||||||
m_LoRaDemod = (LoRaDemod*) rxChannel; //new LoRaDemod(m_deviceUISet->m_deviceSourceAPI);
|
m_LoRaDemod = (LoRaDemod*) rxChannel; //new LoRaDemod(m_deviceUISet->m_deviceSourceAPI);
|
||||||
@ -142,11 +127,6 @@ LoRaDemodGUI::LoRaDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
ui->glSpectrum->setDisplayWaterfall(true);
|
ui->glSpectrum->setDisplayWaterfall(true);
|
||||||
ui->glSpectrum->setDisplayMaxHold(true);
|
ui->glSpectrum->setDisplayMaxHold(true);
|
||||||
|
|
||||||
// setTitleColor(Qt::magenta);
|
|
||||||
//
|
|
||||||
// m_channelMarker.setColor(Qt::magenta);
|
|
||||||
// m_channelMarker.setBandwidth(LoRaDemodSettings::bandwidths[0]);
|
|
||||||
// m_channelMarker.setCenterFrequency(0);
|
|
||||||
m_channelMarker.setVisible(true);
|
m_channelMarker.setVisible(true);
|
||||||
|
|
||||||
connect(&m_channelMarker, SIGNAL(changed()), this, SLOT(viewChanged()));
|
connect(&m_channelMarker, SIGNAL(changed()), this, SLOT(viewChanged()));
|
||||||
|
@ -41,7 +41,6 @@ private slots:
|
|||||||
void on_BW_valueChanged(int value);
|
void on_BW_valueChanged(int value);
|
||||||
void on_Spread_valueChanged(int value);
|
void on_Spread_valueChanged(int value);
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::LoRaDemodGUI* ui;
|
Ui::LoRaDemodGUI* ui;
|
||||||
@ -49,7 +48,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
LoRaDemodSettings m_settings;
|
LoRaDemodSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
|
||||||
LoRaDemod* m_LoRaDemod;
|
LoRaDemod* m_LoRaDemod;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
const PluginDescriptor LoRaPlugin::m_pluginDescriptor = {
|
const PluginDescriptor LoRaPlugin::m_pluginDescriptor = {
|
||||||
QString("LoRa Demodulator"),
|
QString("LoRa Demodulator"),
|
||||||
QString("3.8.2"),
|
QString("3.8.3"),
|
||||||
QString("(c) 2015 John Greb"),
|
QString("(c) 2015 John Greb"),
|
||||||
QString("http://www.maintech.de"),
|
QString("http://www.maintech.de"),
|
||||||
true,
|
true,
|
||||||
|
@ -183,20 +183,6 @@ void SSBDemodGUI::on_spanLog2_valueChanged(int value)
|
|||||||
|
|
||||||
void SSBDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
void SSBDemodGUI::onWidgetRolled(QWidget* widget __attribute__((unused)), bool rollDown __attribute__((unused)))
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
if((widget == ui->spectrumContainer) && (m_ssbDemod != NULL))
|
|
||||||
m_ssbDemod->setSpectrum(m_threadedSampleSink->getMessageQueue(), rollDown);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
void SSBDemodGUI::onMenuDoubleClicked()
|
|
||||||
{
|
|
||||||
if(!m_basicSettingsShown)
|
|
||||||
{
|
|
||||||
m_basicSettingsShown = true;
|
|
||||||
BasicChannelSettingsWidget* bcsw = new BasicChannelSettingsWidget(&m_channelMarker, this);
|
|
||||||
bcsw->show();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget* parent) :
|
||||||
@ -205,7 +191,6 @@ SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_spectrumRate(6000),
|
m_spectrumRate(6000),
|
||||||
m_audioBinaural(false),
|
m_audioBinaural(false),
|
||||||
@ -216,7 +201,6 @@ SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
|
|
||||||
|
|
||||||
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
||||||
m_ssbDemod = (SSBDemod*) rxChannel; //new SSBDemod(m_deviceUISet->m_deviceSourceAPI);
|
m_ssbDemod = (SSBDemod*) rxChannel; //new SSBDemod(m_deviceUISet->m_deviceSourceAPI);
|
||||||
|
@ -55,7 +55,6 @@ private slots:
|
|||||||
void on_audioMute_toggled(bool checked);
|
void on_audioMute_toggled(bool checked);
|
||||||
void on_spanLog2_valueChanged(int value);
|
void on_spanLog2_valueChanged(int value);
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
|
||||||
void tick();
|
void tick();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -64,7 +63,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
SSBDemodSettings m_settings;
|
SSBDemodSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
int m_spectrumRate;
|
int m_spectrumRate;
|
||||||
bool m_audioBinaural;
|
bool m_audioBinaural;
|
||||||
|
@ -128,14 +128,12 @@ TCPSrcGUI::TCPSrcGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
m_tcpSrc(0),
|
m_tcpSrc(0),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_channelPowerDbAvg(40,0),
|
m_channelPowerDbAvg(40,0),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_rfBandwidthChanged(false),
|
m_rfBandwidthChanged(false),
|
||||||
m_doApplySettings(true)
|
m_doApplySettings(true)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->connectedClientsBox->hide();
|
ui->connectedClientsBox->hide();
|
||||||
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
connect(this, SIGNAL(menuDoubleClickEvent()), this, SLOT(onMenuDoubleClicked()));
|
|
||||||
setAttribute(Qt::WA_DeleteOnClose, true);
|
setAttribute(Qt::WA_DeleteOnClose, true);
|
||||||
|
|
||||||
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
m_spectrumVis = new SpectrumVis(ui->glSpectrum);
|
||||||
@ -370,16 +368,6 @@ void TCPSrcGUI::onWidgetRolled(QWidget* widget, bool rollDown)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TCPSrcGUI::onMenuDoubleClicked()
|
|
||||||
{
|
|
||||||
if (!m_basicSettingsShown)
|
|
||||||
{
|
|
||||||
m_basicSettingsShown = true;
|
|
||||||
BasicChannelSettingsWidget* bcsw = new BasicChannelSettingsWidget(&m_channelMarker, this);
|
|
||||||
bcsw->show();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void TCPSrcGUI::addConnection(quint32 id, const QHostAddress& peerAddress, int peerPort)
|
void TCPSrcGUI::addConnection(quint32 id, const QHostAddress& peerAddress, int peerPort)
|
||||||
{
|
{
|
||||||
QStringList l;
|
QStringList l;
|
||||||
|
@ -48,7 +48,6 @@ private slots:
|
|||||||
void on_tcpPort_textEdited(const QString& arg1);
|
void on_tcpPort_textEdited(const QString& arg1);
|
||||||
void on_applyBtn_clicked();
|
void on_applyBtn_clicked();
|
||||||
void onWidgetRolled(QWidget* widget, bool rollDown);
|
void onWidgetRolled(QWidget* widget, bool rollDown);
|
||||||
void onMenuDoubleClicked();
|
|
||||||
void on_volume_valueChanged(int value);
|
void on_volume_valueChanged(int value);
|
||||||
void tick();
|
void tick();
|
||||||
|
|
||||||
@ -67,7 +66,6 @@ private:
|
|||||||
Real m_rfBandwidth;
|
Real m_rfBandwidth;
|
||||||
int m_boost;
|
int m_boost;
|
||||||
int m_tcpPort;
|
int m_tcpPort;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_rfBandwidthChanged;
|
bool m_rfBandwidthChanged;
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
const PluginDescriptor TCPSrcPlugin::m_pluginDescriptor = {
|
const PluginDescriptor TCPSrcPlugin::m_pluginDescriptor = {
|
||||||
QString("TCP Channel Source"),
|
QString("TCP Channel Source"),
|
||||||
QString("3.8.2"),
|
QString("3.8.3"),
|
||||||
QString("(c) Edouard Griffiths, F4EXB"),
|
QString("(c) Edouard Griffiths, F4EXB"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
@ -264,7 +264,6 @@ AMModGUI::AMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampl
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_channelPowerDbAvg(20,0),
|
m_channelPowerDbAvg(20,0),
|
||||||
m_recordLength(0),
|
m_recordLength(0),
|
||||||
|
@ -84,7 +84,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
AMModSettings m_settings;
|
AMModSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
|
||||||
AMMod* m_amMod;
|
AMMod* m_amMod;
|
||||||
|
@ -583,7 +583,6 @@ ATVModGUI::ATVModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_channelPowerDbAvg(20,0),
|
m_channelPowerDbAvg(20,0),
|
||||||
m_videoLength(0),
|
m_videoLength(0),
|
||||||
|
@ -98,7 +98,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
ATVModSettings m_settings;
|
ATVModSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
|
||||||
ATVMod* m_atvMod;
|
ATVMod* m_atvMod;
|
||||||
|
@ -281,7 +281,6 @@ NFMModGUI::NFMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_channelPowerDbAvg(20,0),
|
m_channelPowerDbAvg(20,0),
|
||||||
m_recordLength(0),
|
m_recordLength(0),
|
||||||
|
@ -86,7 +86,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
NFMModSettings m_settings;
|
NFMModSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
|
||||||
NFMMod* m_nfmMod;
|
NFMMod* m_nfmMod;
|
||||||
|
@ -342,7 +342,6 @@ SSBModGUI::SSBModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_spectrumRate(6000),
|
m_spectrumRate(6000),
|
||||||
m_channelPowerDbAvg(20,0),
|
m_channelPowerDbAvg(20,0),
|
||||||
|
@ -92,7 +92,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
SSBModSettings m_settings;
|
SSBModSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
int m_spectrumRate;
|
int m_spectrumRate;
|
||||||
|
|
||||||
|
@ -270,7 +270,6 @@ WFMModGUI::WFMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
m_pluginAPI(pluginAPI),
|
m_pluginAPI(pluginAPI),
|
||||||
m_deviceUISet(deviceUISet),
|
m_deviceUISet(deviceUISet),
|
||||||
m_channelMarker(this),
|
m_channelMarker(this),
|
||||||
m_basicSettingsShown(false),
|
|
||||||
m_doApplySettings(true),
|
m_doApplySettings(true),
|
||||||
m_channelPowerDbAvg(20,0),
|
m_channelPowerDbAvg(20,0),
|
||||||
m_recordLength(0),
|
m_recordLength(0),
|
||||||
|
@ -85,7 +85,6 @@ private:
|
|||||||
DeviceUISet* m_deviceUISet;
|
DeviceUISet* m_deviceUISet;
|
||||||
ChannelMarker m_channelMarker;
|
ChannelMarker m_channelMarker;
|
||||||
WFMModSettings m_settings;
|
WFMModSettings m_settings;
|
||||||
bool m_basicSettingsShown;
|
|
||||||
bool m_doApplySettings;
|
bool m_doApplySettings;
|
||||||
|
|
||||||
// ThreadedBasebandSampleSource* m_threadedChannelizer;
|
// ThreadedBasebandSampleSource* m_threadedChannelizer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user