mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Add DialogPositioner to ensure dialogs are fully on screen and remain on
screen when screen orientation changes. Add DialPopup to allow dials to adjusted with a slider, which is easier on touchscreens. Add TableTapAndHold to support table context menus on touchscreens.
This commit is contained in:
parent
60a933771d
commit
0dd466a900
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -234,6 +235,7 @@ void BeamSteeringCWModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/scopevis.h"
|
#include "dsp/scopevis.h"
|
||||||
#include "dsp/spectrumvis.h"
|
#include "dsp/spectrumvis.h"
|
||||||
@ -158,6 +160,7 @@ DOA2GUI::DOA2GUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, MIMOChannel *ch
|
|||||||
|
|
||||||
ui->halfWLLabel->setText(QString("%1/2").arg(QChar(0xBB, 0x03)));
|
ui->halfWLLabel->setText(QString("%1/2").arg(QChar(0xBB, 0x03)));
|
||||||
ui->azUnits->setText(QString("%1").arg(QChar(0260)));
|
ui->azUnits->setText(QString("%1").arg(QChar(0260)));
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
DOA2GUI::~DOA2GUI()
|
DOA2GUI::~DOA2GUI()
|
||||||
@ -300,6 +303,7 @@ void DOA2GUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/scopevis.h"
|
#include "dsp/scopevis.h"
|
||||||
#include "dsp/spectrumvis.h"
|
#include "dsp/spectrumvis.h"
|
||||||
@ -269,6 +270,7 @@ void InterferometerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/glscope.h"
|
#include "gui/glscope.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
#include "util/simpleserializer.h"
|
#include "util/simpleserializer.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
@ -481,6 +483,7 @@ void ChannelAnalyzerGUI::onMenuDialogCalled(const QPoint& p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -582,6 +585,7 @@ ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, DeviceUISet *device
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
ChannelAnalyzerGUI::~ChannelAnalyzerGUI()
|
||||||
|
@ -51,6 +51,9 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/clickablelabel.h"
|
#include "gui/clickablelabel.h"
|
||||||
|
#include "gui/tabletapandhold.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -3371,7 +3374,7 @@ void ADSBDemodGUI::findOnChannelMap(Aircraft *aircraft)
|
|||||||
|
|
||||||
void ADSBDemodGUI::adsbData_customContextMenuRequested(QPoint pos)
|
void ADSBDemodGUI::adsbData_customContextMenuRequested(QPoint pos)
|
||||||
{
|
{
|
||||||
QTableWidgetItem *item = ui->adsbData->itemAt(pos);
|
QTableWidgetItem *item = ui->adsbData->itemAt(pos);
|
||||||
if (item)
|
if (item)
|
||||||
{
|
{
|
||||||
int row = item->row();
|
int row = item->row();
|
||||||
@ -3806,6 +3809,7 @@ void ADSBDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -4752,6 +4756,8 @@ ADSBDemodGUI::ADSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
m_osmPort = 0; // Pick a free port
|
m_osmPort = 0; // Pick a free port
|
||||||
m_templateServer = new ADSBOSMTemplateServer("q2RVNAe3eFKCH4XsrE3r", m_osmPort);
|
m_templateServer = new ADSBOSMTemplateServer("q2RVNAe3eFKCH4XsrE3r", m_osmPort);
|
||||||
|
|
||||||
|
ui->map->setAttribute(Qt::WA_AcceptTouchEvents, true);
|
||||||
|
|
||||||
ui->map->rootContext()->setContextProperty("aircraftModel", &m_aircraftModel);
|
ui->map->rootContext()->setContextProperty("aircraftModel", &m_aircraftModel);
|
||||||
ui->map->rootContext()->setContextProperty("airportModel", &m_airportModel);
|
ui->map->rootContext()->setContextProperty("airportModel", &m_airportModel);
|
||||||
ui->map->rootContext()->setContextProperty("airspaceModel", &m_airspaceModel);
|
ui->map->rootContext()->setContextProperty("airspaceModel", &m_airspaceModel);
|
||||||
@ -4819,6 +4825,8 @@ ADSBDemodGUI::ADSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
// Context menu
|
// Context menu
|
||||||
ui->adsbData->setContextMenuPolicy(Qt::CustomContextMenu);
|
ui->adsbData->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(ui->adsbData, SIGNAL(customContextMenuRequested(QPoint)), SLOT(adsbData_customContextMenuRequested(QPoint)));
|
connect(ui->adsbData, SIGNAL(customContextMenuRequested(QPoint)), SLOT(adsbData_customContextMenuRequested(QPoint)));
|
||||||
|
TableTapAndHold *tableTapAndHold = new TableTapAndHold(ui->adsbData);
|
||||||
|
connect(tableTapAndHold, &TableTapAndHold::tapAndHold, this, &ADSBDemodGUI::adsbData_customContextMenuRequested);
|
||||||
|
|
||||||
ui->photoHeader->setVisible(false);
|
ui->photoHeader->setVisible(false);
|
||||||
ui->photoFlag->setVisible(false);
|
ui->photoFlag->setVisible(false);
|
||||||
@ -4903,6 +4911,7 @@ ADSBDemodGUI::ADSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
connect(&m_redrawMapTimer, &QTimer::timeout, this, &ADSBDemodGUI::redrawMap);
|
connect(&m_redrawMapTimer, &QTimer::timeout, this, &ADSBDemodGUI::redrawMap);
|
||||||
m_redrawMapTimer.setSingleShot(true);
|
m_redrawMapTimer.setSingleShot(true);
|
||||||
ui->map->installEventFilter(this);
|
ui->map->installEventFilter(this);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ADSBDemodGUI::~ADSBDemodGUI()
|
ADSBDemodGUI::~ADSBDemodGUI()
|
||||||
@ -5552,6 +5561,7 @@ void ADSBDemodGUI::showEvent(QShowEvent *event)
|
|||||||
// MapQuickItems can be in wrong position when window is first displayed
|
// MapQuickItems can be in wrong position when window is first displayed
|
||||||
m_redrawMapTimer.start(500);
|
m_redrawMapTimer.start(500);
|
||||||
}
|
}
|
||||||
|
ChannelGUI::showEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ADSBDemodGUI::eventFilter(QObject *obj, QEvent *event)
|
bool ADSBDemodGUI::eventFilter(QObject *obj, QEvent *event)
|
||||||
@ -5570,7 +5580,7 @@ bool ADSBDemodGUI::eventFilter(QObject *obj, QEvent *event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return ChannelGUI::eventFilter(obj, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ADSBDemodGUI::applyImportSettings()
|
void ADSBDemodGUI::applyImportSettings()
|
||||||
|
@ -1060,8 +1060,8 @@ private slots:
|
|||||||
void downloadAirspaceFinished();
|
void downloadAirspaceFinished();
|
||||||
void downloadNavAidsFinished();
|
void downloadNavAidsFinished();
|
||||||
void photoClicked();
|
void photoClicked();
|
||||||
virtual void showEvent(QShowEvent *event);
|
virtual void showEvent(QShowEvent *event) override;
|
||||||
virtual bool eventFilter(QObject *obj, QEvent *event);
|
virtual bool eventFilter(QObject *obj, QEvent *event) override;
|
||||||
void import();
|
void import();
|
||||||
void handleImportReply(QNetworkReply* reply);
|
void handleImportReply(QNetworkReply* reply);
|
||||||
void preferenceChanged(int elementType);
|
void preferenceChanged(int elementType);
|
||||||
|
@ -42,9 +42,12 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/glscopesettings.h"
|
#include "dsp/glscopesettings.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/tabletapandhold.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
#include "feature/featurewebapiutils.h"
|
#include "feature/featurewebapiutils.h"
|
||||||
@ -395,6 +398,7 @@ void AISDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, true);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -521,12 +525,15 @@ AISDemodGUI::AISDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
connect(ui->messages->horizontalHeader(), SIGNAL(sectionResized(int, int, int)), SLOT(messages_sectionResized(int, int, int)));
|
connect(ui->messages->horizontalHeader(), SIGNAL(sectionResized(int, int, int)), SLOT(messages_sectionResized(int, int, int)));
|
||||||
ui->messages->setContextMenuPolicy(Qt::CustomContextMenu);
|
ui->messages->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(ui->messages, SIGNAL(customContextMenuRequested(QPoint)), SLOT(customContextMenuRequested(QPoint)));
|
connect(ui->messages, SIGNAL(customContextMenuRequested(QPoint)), SLOT(customContextMenuRequested(QPoint)));
|
||||||
|
TableTapAndHold *tableTapAndHold = new TableTapAndHold(ui->messages);
|
||||||
|
connect(tableTapAndHold, &TableTapAndHold::tapAndHold, this, &AISDemodGUI::customContextMenuRequested);
|
||||||
|
|
||||||
ui->scopeContainer->setVisible(false);
|
ui->scopeContainer->setVisible(false);
|
||||||
|
|
||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AISDemodGUI::customContextMenuRequested(QPoint pos)
|
void AISDemodGUI::customContextMenuRequested(QPoint pos)
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_amdemodgui.h"
|
#include "ui_amdemodgui.h"
|
||||||
@ -217,6 +218,7 @@ void AMDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -43,6 +43,8 @@
|
|||||||
#include "util/units.h"
|
#include "util/units.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/graphicsviewzoom.h"
|
#include "gui/graphicsviewzoom.h"
|
||||||
@ -570,6 +572,7 @@ void APTDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -669,12 +672,14 @@ APTDemodGUI::APTDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
m_scene->addItem(m_tempText);
|
m_scene->addItem(m_tempText);
|
||||||
ui->image->setScene(m_scene);
|
ui->image->setScene(m_scene);
|
||||||
ui->image->show();
|
ui->image->show();
|
||||||
|
ui->image->setDragMode(QGraphicsView::ScrollHandDrag);
|
||||||
|
|
||||||
m_scene->installEventFilter(this);
|
m_scene->installEventFilter(this);
|
||||||
|
|
||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
APTDemodGUI::~APTDemodGUI()
|
APTDemodGUI::~APTDemodGUI()
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include "dsp/scopevis.h"
|
#include "dsp/scopevis.h"
|
||||||
#include "dsp/glscopesettings.h"
|
#include "dsp/glscopesettings.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "ui_atvdemodgui.h"
|
#include "ui_atvdemodgui.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
#include "util/simpleserializer.h"
|
#include "util/simpleserializer.h"
|
||||||
@ -220,6 +222,7 @@ void ATVDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -329,6 +332,7 @@ ATVDemodGUI::ATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Base
|
|||||||
ui->fmDeviationLabel->setText(delta);
|
ui->fmDeviationLabel->setText(delta);
|
||||||
|
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ATVDemodGUI::~ATVDemodGUI()
|
ATVDemodGUI::~ATVDemodGUI()
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "bfmdemodreport.h"
|
#include "bfmdemodreport.h"
|
||||||
@ -339,6 +340,7 @@ void BFMDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -436,6 +438,11 @@ BFMDemodGUI::BFMDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
ui->g14MappedFrequencies->setEnabled(false);
|
ui->g14MappedFrequencies->setEnabled(false);
|
||||||
ui->g14AltFrequencies->setEnabled(false);
|
ui->g14AltFrequencies->setEnabled(false);
|
||||||
|
|
||||||
|
#ifdef ANDROID
|
||||||
|
// Currently a bit too wide for most Android screens
|
||||||
|
ui->rdsContainer->setVisible(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
rdsUpdateFixedFields();
|
rdsUpdateFixedFields();
|
||||||
rdsUpdate(true);
|
rdsUpdate(true);
|
||||||
displaySettings();
|
displaySettings();
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
#include "gui/glspectrumgui.h"
|
#include "gui/glspectrumgui.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
#include "util/simpleserializer.h"
|
#include "util/simpleserializer.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
@ -352,6 +354,7 @@ void ChirpChatDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -438,6 +441,7 @@ ChirpChatDemodGUI::ChirpChatDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUI
|
|||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
resetLoRaStatus();
|
resetLoRaStatus();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ChirpChatDemodGUI::~ChirpChatDemodGUI()
|
ChirpChatDemodGUI::~ChirpChatDemodGUI()
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -415,6 +416,7 @@ void DABDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
#include "ui_datvdemodgui.h"
|
#include "ui_datvdemodgui.h"
|
||||||
@ -183,6 +185,7 @@ void DATVDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -310,6 +313,7 @@ DATVDemodGUI::DATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Ba
|
|||||||
ui->udpIndicator->setStyleSheet("QLabel { background-color: gray; border-radius: 8px; }");
|
ui->udpIndicator->setStyleSheet("QLabel { background-color: gray; border-radius: 8px; }");
|
||||||
resetToDefaults(); // does applySettings()
|
resetToDefaults(); // does applySettings()
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
DATVDemodGUI::~DATVDemodGUI()
|
DATVDemodGUI::~DATVDemodGUI()
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -307,6 +308,7 @@ void DSDDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
#include "util/simpleserializer.h"
|
#include "util/simpleserializer.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
@ -215,6 +217,7 @@ void FreeDVDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -326,6 +329,7 @@ FreeDVDemodGUI::FreeDVDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, B
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applyBandwidths(5 - ui->spanLog2->value(), true); // does applySettings(true)
|
applyBandwidths(5 - ui->spanLog2->value(), true); // does applySettings(true)
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
FreeDVDemodGUI::~FreeDVDemodGUI()
|
FreeDVDemodGUI::~FreeDVDemodGUI()
|
||||||
|
@ -37,6 +37,8 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -363,6 +365,7 @@ void M17DemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -510,6 +513,7 @@ M17DemodGUI::M17DemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(QList<QString>(), true);
|
applySettings(QList<QString>(), true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
M17DemodGUI::~M17DemodGUI()
|
M17DemodGUI::~M17DemodGUI()
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dcscodes.h"
|
#include "dsp/dcscodes.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -315,6 +317,7 @@ void NFMDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -439,6 +442,7 @@ NFMDemodGUI::NFMDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
NFMDemodGUI::~NFMDemodGUI()
|
NFMDemodGUI::~NFMDemodGUI()
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -397,6 +398,7 @@ void PacketDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/glscopesettings.h"
|
#include "dsp/glscopesettings.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "pagerdemod.h"
|
#include "pagerdemod.h"
|
||||||
@ -444,6 +445,7 @@ void PagerDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -41,9 +41,12 @@
|
|||||||
#include "gui/datetimedelegate.h"
|
#include "gui/datetimedelegate.h"
|
||||||
#include "gui/decimaldelegate.h"
|
#include "gui/decimaldelegate.h"
|
||||||
#include "gui/timedelegate.h"
|
#include "gui/timedelegate.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/glscopesettings.h"
|
#include "dsp/glscopesettings.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/tabletapandhold.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
#include "feature/featurewebapiutils.h"
|
#include "feature/featurewebapiutils.h"
|
||||||
@ -501,6 +504,7 @@ void RadiosondeDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -627,6 +631,8 @@ RadiosondeDemodGUI::RadiosondeDemodGUI(PluginAPI* pluginAPI, DeviceUISet *device
|
|||||||
connect(ui->frames->horizontalHeader(), SIGNAL(sectionResized(int, int, int)), SLOT(frames_sectionResized(int, int, int)));
|
connect(ui->frames->horizontalHeader(), SIGNAL(sectionResized(int, int, int)), SLOT(frames_sectionResized(int, int, int)));
|
||||||
ui->frames->setContextMenuPolicy(Qt::CustomContextMenu);
|
ui->frames->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(ui->frames, SIGNAL(customContextMenuRequested(QPoint)), SLOT(customContextMenuRequested(QPoint)));
|
connect(ui->frames, SIGNAL(customContextMenuRequested(QPoint)), SLOT(customContextMenuRequested(QPoint)));
|
||||||
|
TableTapAndHold *tableTapAndHold = new TableTapAndHold(ui->frames);
|
||||||
|
connect(tableTapAndHold, &TableTapAndHold::tapAndHold, this, &RadiosondeDemodGUI::customContextMenuRequested);
|
||||||
|
|
||||||
ui->frames->setItemDelegateForColumn(FRAME_COL_DATE, new DateTimeDelegate("yyyy/MM/dd"));
|
ui->frames->setItemDelegateForColumn(FRAME_COL_DATE, new DateTimeDelegate("yyyy/MM/dd"));
|
||||||
ui->frames->setItemDelegateForColumn(FRAME_COL_TIME, new TimeDelegate());
|
ui->frames->setItemDelegateForColumn(FRAME_COL_TIME, new TimeDelegate());
|
||||||
@ -643,6 +649,7 @@ RadiosondeDemodGUI::RadiosondeDemodGUI(PluginAPI* pluginAPI, DeviceUISet *device
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void RadiosondeDemodGUI::customContextMenuRequested(QPoint pos)
|
void RadiosondeDemodGUI::customContextMenuRequested(QPoint pos)
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
#include "ssbdemod.h"
|
#include "ssbdemod.h"
|
||||||
|
|
||||||
@ -281,6 +283,7 @@ void SSBDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -398,6 +401,7 @@ SSBDemodGUI::SSBDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
|
||||||
applyBandwidths(m_settings.m_filterBank[m_settings.m_filterIndex].m_spanLog2, true); // does applySettings(true)
|
applyBandwidths(m_settings.m_filterBank[m_settings.m_filterIndex].m_spanLog2, true); // does applySettings(true)
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
SSBDemodGUI::~SSBDemodGUI()
|
SSBDemodGUI::~SSBDemodGUI()
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -251,6 +253,7 @@ void VORDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -333,6 +336,7 @@ VORDemodGUI::VORDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
VORDemodGUI::~VORDemodGUI()
|
VORDemodGUI::~VORDemodGUI()
|
||||||
|
@ -43,6 +43,8 @@
|
|||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -1130,6 +1132,7 @@ void VORDemodMCGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -1282,6 +1285,7 @@ VORDemodMCGUI::VORDemodMCGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Bas
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
VORDemodMCGUI::~VORDemodMCGUI()
|
VORDemodMCGUI::~VORDemodMCGUI()
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -178,6 +179,7 @@ void WFMDemodGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -231,6 +233,7 @@ FileSinkGUI::FileSinkGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
FileSinkGUI::~FileSinkGUI()
|
FileSinkGUI::~FileSinkGUI()
|
||||||
@ -378,6 +381,7 @@ void FileSinkGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -519,8 +523,8 @@ void FileSinkGUI::on_showFileDialog_clicked(bool checked)
|
|||||||
tr("SDR I/Q Files (*.sdriq *.wav)")
|
tr("SDR I/Q Files (*.sdriq *.wav)")
|
||||||
);
|
);
|
||||||
|
|
||||||
fileDialog.setOptions(QFileDialog::DontUseNativeDialog);
|
|
||||||
fileDialog.setFileMode(QFileDialog::AnyFile);
|
fileDialog.setFileMode(QFileDialog::AnyFile);
|
||||||
|
fileDialog.setAcceptMode(QFileDialog::AcceptSave);
|
||||||
QStringList fileNames;
|
QStringList fileNames;
|
||||||
|
|
||||||
if (fileDialog.exec())
|
if (fileDialog.exec())
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "freqtracker.h"
|
#include "freqtracker.h"
|
||||||
@ -279,6 +281,7 @@ void FreqTrackerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -373,6 +376,7 @@ FreqTrackerGUI::FreqTrackerGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, B
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
FreqTrackerGUI::~FreqTrackerGUI()
|
FreqTrackerGUI::~FreqTrackerGUI()
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
|
|
||||||
@ -348,6 +349,7 @@ void LocalSinkGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/decimaldelegate.h"
|
#include "gui/decimaldelegate.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "noisefigure.h"
|
#include "noisefigure.h"
|
||||||
@ -560,6 +561,7 @@ void NoiseFigureGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/timedelegate.h"
|
#include "gui/timedelegate.h"
|
||||||
#include "gui/decimaldelegate.h"
|
#include "gui/decimaldelegate.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
#include "feature/featurewebapiutils.h"
|
#include "feature/featurewebapiutils.h"
|
||||||
@ -1929,6 +1930,7 @@ void RadioAstronomyGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/glscopesettings.h"
|
#include "dsp/glscopesettings.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
@ -235,6 +237,7 @@ void RadioClockGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -328,6 +331,7 @@ RadioClockGUI::RadioClockGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Bas
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
RadioClockGUI::~RadioClockGUI()
|
RadioClockGUI::~RadioClockGUI()
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -131,6 +133,7 @@ RemoteSinkGUI::RemoteSinkGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Bas
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoteSinkGUI::~RemoteSinkGUI()
|
RemoteSinkGUI::~RemoteSinkGUI()
|
||||||
@ -247,6 +250,7 @@ void RemoteSinkGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -199,6 +201,7 @@ RemoteTCPSinkGUI::RemoteTCPSinkGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISe
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoteTCPSinkGUI::~RemoteTCPSinkGUI()
|
RemoteTCPSinkGUI::~RemoteTCPSinkGUI()
|
||||||
@ -307,6 +310,7 @@ void RemoteTCPSinkGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -217,6 +219,7 @@ SigMFFileSinkGUI::SigMFFileSinkGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISe
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
SigMFFileSinkGUI::~SigMFFileSinkGUI()
|
SigMFFileSinkGUI::~SigMFFileSinkGUI()
|
||||||
@ -370,6 +373,7 @@ void SigMFFileSinkGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "ui_udpsinkgui.h"
|
#include "ui_udpsinkgui.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -214,6 +216,7 @@ UDPSinkGUI::UDPSinkGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandS
|
|||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettingsImmediate(true);
|
applySettingsImmediate(true);
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
UDPSinkGUI::~UDPSinkGUI()
|
UDPSinkGUI::~UDPSinkGUI()
|
||||||
@ -623,6 +626,7 @@ void UDPSinkGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -386,6 +387,7 @@ void FileSourceGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/hbfilterchainconverter.h"
|
#include "dsp/hbfilterchainconverter.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -253,6 +254,7 @@ void LocalSourceGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_ieee_802_15_4_modgui.h"
|
#include "ui_ieee_802_15_4_modgui.h"
|
||||||
@ -343,6 +345,7 @@ void IEEE_802_15_4_ModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -471,6 +474,7 @@ IEEE_802_15_4_ModGUI::IEEE_802_15_4_ModGUI(PluginAPI* pluginAPI, DeviceUISet *de
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings();
|
applySettings();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
IEEE_802_15_4_ModGUI::~IEEE_802_15_4_ModGUI()
|
IEEE_802_15_4_ModGUI::~IEEE_802_15_4_ModGUI()
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_aismodgui.h"
|
#include "ui_aismodgui.h"
|
||||||
@ -366,6 +368,7 @@ void AISModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -497,6 +500,7 @@ AISModGUI::AISModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings();
|
applySettings();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
AISModGUI::~AISModGUI()
|
AISModGUI::~AISModGUI()
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_ammodgui.h"
|
#include "ui_ammodgui.h"
|
||||||
@ -306,6 +308,7 @@ void AMModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -406,6 +409,7 @@ AMModGUI::AMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampl
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
AMModGUI::~AMModGUI()
|
AMModGUI::~AMModGUI()
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_atvmodgui.h"
|
#include "ui_atvmodgui.h"
|
||||||
@ -119,6 +121,7 @@ ATVModGUI::ATVModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ATVModGUI::~ATVModGUI()
|
ATVModGUI::~ATVModGUI()
|
||||||
@ -711,6 +714,7 @@ void ATVModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_chirpchatmodgui.h"
|
#include "ui_chirpchatmodgui.h"
|
||||||
@ -386,6 +388,7 @@ void ChirpChatModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -465,6 +468,7 @@ ChirpChatModGUI::ChirpChatModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet,
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings();
|
applySettings();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ChirpChatModGUI::~ChirpChatModGUI()
|
ChirpChatModGUI::~ChirpChatModGUI()
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_datvmodgui.h"
|
#include "ui_datvmodgui.h"
|
||||||
@ -514,6 +515,7 @@ void DATVModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
#include "ui_freedvmodgui.h"
|
#include "ui_freedvmodgui.h"
|
||||||
|
|
||||||
@ -318,6 +320,7 @@ void FreeDVModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -415,6 +418,7 @@ FreeDVModGUI::FreeDVModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applyBandwidths(5 - ui->spanLog2->value(), true); // does applySettings(true)
|
applyBandwidths(5 - ui->spanLog2->value(), true); // does applySettings(true)
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
FreeDVModGUI::~FreeDVModGUI()
|
FreeDVModGUI::~FreeDVModGUI()
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_m17modgui.h"
|
#include "ui_m17modgui.h"
|
||||||
@ -415,6 +417,7 @@ void M17ModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -524,6 +527,7 @@ M17ModGUI::M17ModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(QList<QString>{"channelMarker", "rollupState"});
|
applySettings(QList<QString>{"channelMarker", "rollupState"});
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
M17ModGUI::~M17ModGUI()
|
M17ModGUI::~M17ModGUI()
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_nfmmodgui.h"
|
#include "ui_nfmmodgui.h"
|
||||||
@ -396,6 +398,7 @@ void NFMModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -512,6 +515,7 @@ NFMModGUI::NFMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings();
|
applySettings();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
NFMModGUI::~NFMModGUI()
|
NFMModGUI::~NFMModGUI()
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
#include "gui/fmpreemphasisdialog.h"
|
#include "gui/fmpreemphasisdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_packetmodgui.h"
|
#include "ui_packetmodgui.h"
|
||||||
@ -403,6 +405,7 @@ void PacketModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -510,6 +513,7 @@ PacketModGUI::PacketModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings();
|
applySettings();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketModGUI::~PacketModGUI()
|
PacketModGUI::~PacketModGUI()
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
SSBModGUI* SSBModGUI::create(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx)
|
SSBModGUI* SSBModGUI::create(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx)
|
||||||
@ -382,6 +384,7 @@ void SSBModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -497,6 +500,7 @@ SSBModGUI::SSBModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applyBandwidths(5 - ui->spanLog2->value(), true); // does applySettings(true)
|
applyBandwidths(5 - ui->spanLog2->value(), true); // does applySettings(true)
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
SSBModGUI::~SSBModGUI()
|
SSBModGUI::~SSBModGUI()
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_wfmmodgui.h"
|
#include "ui_wfmmodgui.h"
|
||||||
@ -312,6 +314,7 @@ void WFMModGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
@ -422,6 +425,7 @@ WFMModGUI::WFMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSam
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
WFMModGUI::~WFMModGUI()
|
WFMModGUI::~WFMModGUI()
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
#include "remotesource.h"
|
#include "remotesource.h"
|
||||||
@ -326,6 +327,7 @@ void RemoteSourceGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -25,6 +25,8 @@
|
|||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "gui/basicchannelsettingsdialog.h"
|
#include "gui/basicchannelsettingsdialog.h"
|
||||||
#include "gui/devicestreamselectiondialog.h"
|
#include "gui/devicestreamselectiondialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "plugin/pluginapi.h"
|
#include "plugin/pluginapi.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -171,6 +173,7 @@ UDPSourceGUI::UDPSourceGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseb
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
UDPSourceGUI::~UDPSourceGUI()
|
UDPSourceGUI::~UDPSourceGUI()
|
||||||
@ -505,6 +508,7 @@ void UDPSourceGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#include "device/deviceset.h"
|
#include "device/deviceset.h"
|
||||||
#include "channel/channelapi.h"
|
#include "channel/channelapi.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "ui_afcgui.h"
|
#include "ui_afcgui.h"
|
||||||
@ -171,6 +173,7 @@ AFCGUI::AFCGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *featur
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
AFCGUI::~AFCGUI()
|
AFCGUI::~AFCGUI()
|
||||||
@ -287,6 +290,7 @@ void AFCGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "feature/featurewebapiutils.h"
|
#include "feature/featurewebapiutils.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/tabletapandhold.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
|
|
||||||
@ -226,6 +228,8 @@ AISGUI::AISGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *featur
|
|||||||
// Context menu
|
// Context menu
|
||||||
ui->vessels->setContextMenuPolicy(Qt::CustomContextMenu);
|
ui->vessels->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(ui->vessels, SIGNAL(customContextMenuRequested(QPoint)), SLOT(vessels_customContextMenuRequested(QPoint)));
|
connect(ui->vessels, SIGNAL(customContextMenuRequested(QPoint)), SLOT(vessels_customContextMenuRequested(QPoint)));
|
||||||
|
TableTapAndHold *tableTapAndHold = new TableTapAndHold(ui->vessels);
|
||||||
|
connect(tableTapAndHold, &TableTapAndHold::tapAndHold, this, &AISGUI::vessels_customContextMenuRequested);
|
||||||
|
|
||||||
m_settings.setRollupState(&m_rollupState);
|
m_settings.setRollupState(&m_rollupState);
|
||||||
|
|
||||||
@ -291,6 +295,7 @@ void AISGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
|
|
||||||
#include "ui_ambegui.h"
|
#include "ui_ambegui.h"
|
||||||
#include "ambegui.h"
|
#include "ambegui.h"
|
||||||
@ -125,6 +126,7 @@ void AMBEGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "channel/channelwebapiutils.h"
|
#include "channel/channelwebapiutils.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
@ -223,6 +224,7 @@ void AntennaToolsGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "feature/featurewebapiutils.h"
|
#include "feature/featurewebapiutils.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
@ -698,6 +699,7 @@ void APRSGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/glscope.h"
|
#include "gui/glscope.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "device/deviceset.h"
|
#include "device/deviceset.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
@ -188,6 +190,7 @@ DemodAnalyzerGUI::DemodAnalyzerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUI
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
DemodAnalyzerGUI::~DemodAnalyzerGUI()
|
DemodAnalyzerGUI::~DemodAnalyzerGUI()
|
||||||
@ -276,6 +279,7 @@ void DemodAnalyzerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
|
|
||||||
@ -322,6 +323,7 @@ void GS232ControllerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "device/deviceset.h"
|
#include "device/deviceset.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
@ -258,6 +259,7 @@ void JogdialControllerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicesourceengine.h"
|
#include "dsp/dspdevicesourceengine.h"
|
||||||
@ -98,6 +99,7 @@ void LimeRFEGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
|
|
||||||
@ -212,6 +213,7 @@ void PERTesterGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/datetimedelegate.h"
|
#include "gui/datetimedelegate.h"
|
||||||
#include "gui/decimaldelegate.h"
|
#include "gui/decimaldelegate.h"
|
||||||
|
#include "gui/tabletapandhold.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
|
|
||||||
@ -175,6 +177,8 @@ RadiosondeGUI::RadiosondeGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, F
|
|||||||
// Context menu
|
// Context menu
|
||||||
ui->radiosondes->setContextMenuPolicy(Qt::CustomContextMenu);
|
ui->radiosondes->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
connect(ui->radiosondes, SIGNAL(customContextMenuRequested(QPoint)), SLOT(radiosondes_customContextMenuRequested(QPoint)));
|
connect(ui->radiosondes, SIGNAL(customContextMenuRequested(QPoint)), SLOT(radiosondes_customContextMenuRequested(QPoint)));
|
||||||
|
TableTapAndHold *tableTapAndHold = new TableTapAndHold(ui->radiosondes);
|
||||||
|
connect(tableTapAndHold, &TableTapAndHold::tapAndHold, this, &RadiosondeGUI::customContextMenuRequested);
|
||||||
|
|
||||||
ui->radiosondes->setItemDelegateForColumn(RADIOSONDE_COL_LATITUDE, new DecimalDelegate(5));
|
ui->radiosondes->setItemDelegateForColumn(RADIOSONDE_COL_LATITUDE, new DecimalDelegate(5));
|
||||||
ui->radiosondes->setItemDelegateForColumn(RADIOSONDE_COL_LONGITUDE, new DecimalDelegate(5));
|
ui->radiosondes->setItemDelegateForColumn(RADIOSONDE_COL_LONGITUDE, new DecimalDelegate(5));
|
||||||
@ -254,6 +258,7 @@ void RadiosondeGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/flowlayout.h"
|
#include "gui/flowlayout.h"
|
||||||
#include "gui/scidoublespinbox.h"
|
#include "gui/scidoublespinbox.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
|
|
||||||
#include "ui_remotecontrolgui.h"
|
#include "ui_remotecontrolgui.h"
|
||||||
#include "remotecontrol.h"
|
#include "remotecontrol.h"
|
||||||
@ -202,6 +203,7 @@ void RemoteControlGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "device/deviceset.h"
|
#include "device/deviceset.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
@ -298,6 +299,7 @@ void RigCtlServerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "feature/featureuiset.h"
|
#include "feature/featureuiset.h"
|
||||||
#include "feature/featurewebapiutils.h"
|
#include "feature/featurewebapiutils.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "util/units.h"
|
#include "util/units.h"
|
||||||
@ -397,6 +398,7 @@ void SatelliteTrackerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
@ -512,7 +514,7 @@ void SatelliteTrackerGUI::on_useMyPosition_clicked(bool checked)
|
|||||||
void SatelliteTrackerGUI::on_displaySettings_clicked()
|
void SatelliteTrackerGUI::on_displaySettings_clicked()
|
||||||
{
|
{
|
||||||
SatelliteTrackerSettingsDialog dialog(&m_settings);
|
SatelliteTrackerSettingsDialog dialog(&m_settings);
|
||||||
|
new DialogPositioner(&dialog, true);
|
||||||
if (dialog.exec() == QDialog::Accepted)
|
if (dialog.exec() == QDialog::Accepted)
|
||||||
{
|
{
|
||||||
m_settingsKeys.append("deviceSettings");
|
m_settingsKeys.append("deviceSettings");
|
||||||
@ -575,7 +577,7 @@ void SatelliteTrackerGUI::on_updateSatData_clicked()
|
|||||||
void SatelliteTrackerGUI::on_selectSats_clicked()
|
void SatelliteTrackerGUI::on_selectSats_clicked()
|
||||||
{
|
{
|
||||||
SatelliteSelectionDialog dialog(&m_settings, m_satellites);
|
SatelliteSelectionDialog dialog(&m_settings, m_satellites);
|
||||||
|
new DialogPositioner(&dialog, true);
|
||||||
if (dialog.exec() == QDialog::Accepted)
|
if (dialog.exec() == QDialog::Accepted)
|
||||||
{
|
{
|
||||||
updateSelectedSats();
|
updateSelectedSats();
|
||||||
@ -587,7 +589,7 @@ void SatelliteTrackerGUI::on_selectSats_clicked()
|
|||||||
void SatelliteTrackerGUI::on_radioControl_clicked()
|
void SatelliteTrackerGUI::on_radioControl_clicked()
|
||||||
{
|
{
|
||||||
SatelliteRadioControlDialog dialog(&m_settings, m_satellites);
|
SatelliteRadioControlDialog dialog(&m_settings, m_satellites);
|
||||||
|
new DialogPositioner(&dialog, true);
|
||||||
if (dialog.exec() == QDialog::Accepted)
|
if (dialog.exec() == QDialog::Accepted)
|
||||||
{
|
{
|
||||||
m_settingsKeys.append("deviceSettings");
|
m_settingsKeys.append("deviceSettings");
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "device/deviceset.h"
|
#include "device/deviceset.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
@ -190,6 +192,7 @@ SimplePTTGUI::SimplePTTGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Fea
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
applySettings(true);
|
applySettings(true);
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
SimplePTTGUI::~SimplePTTGUI()
|
SimplePTTGUI::~SimplePTTGUI()
|
||||||
@ -321,6 +324,7 @@ void SimplePTTGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/dmsspinbox.h"
|
#include "gui/dmsspinbox.h"
|
||||||
#include "gui/graphicsviewzoom.h"
|
#include "gui/graphicsviewzoom.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "util/units.h"
|
#include "util/units.h"
|
||||||
@ -491,6 +492,7 @@ void StarTrackerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
@ -1122,6 +1124,8 @@ void StarTrackerGUI::createGalacticLineOfSightScene()
|
|||||||
|
|
||||||
ui->image->setScene(scene);
|
ui->image->setScene(scene);
|
||||||
ui->image->show();
|
ui->image->show();
|
||||||
|
|
||||||
|
ui->image->setDragMode(QGraphicsView::ScrollHandDrag);
|
||||||
}
|
}
|
||||||
|
|
||||||
void StarTrackerGUI::plotGalacticLineOfSight()
|
void StarTrackerGUI::plotGalacticLineOfSight()
|
||||||
|
@ -41,6 +41,8 @@
|
|||||||
#include "util/units.h"
|
#include "util/units.h"
|
||||||
#include "gui/basicfeaturesettingsdialog.h"
|
#include "gui/basicfeaturesettingsdialog.h"
|
||||||
#include "gui/crightclickenabler.h"
|
#include "gui/crightclickenabler.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "maincore.h"
|
#include "maincore.h"
|
||||||
|
|
||||||
#include "vorlocalizer.h"
|
#include "vorlocalizer.h"
|
||||||
@ -833,6 +835,7 @@ void VORLocalizerGUI::onMenuDialogCalled(const QPoint &p)
|
|||||||
dialog.setDefaultTitle(m_displayedName);
|
dialog.setDefaultTitle(m_displayedName);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_title = dialog.getTitle();
|
m_settings.m_title = dialog.getTitle();
|
||||||
@ -970,6 +973,8 @@ VORLocalizerGUI::VORLocalizerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISe
|
|||||||
rollupContents->arrangeRollups();
|
rollupContents->arrangeRollups();
|
||||||
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
connect(rollupContents, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool)));
|
||||||
|
|
||||||
|
ui->map->setAttribute(Qt::WA_AcceptTouchEvents, true);
|
||||||
|
|
||||||
ui->map->rootContext()->setContextProperty("vorModel", &m_vorModel);
|
ui->map->rootContext()->setContextProperty("vorModel", &m_vorModel);
|
||||||
ui->map->setSource(QUrl(QStringLiteral("qrc:/demodvor/map/map.qml")));
|
ui->map->setSource(QUrl(QStringLiteral("qrc:/demodvor/map/map.qml")));
|
||||||
|
|
||||||
@ -1042,6 +1047,7 @@ VORLocalizerGUI::VORLocalizerGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISe
|
|||||||
connect(MainCore::instance(), &MainCore::deviceChanged, this, &VORLocalizerGUI::channelsRefresh);
|
connect(MainCore::instance(), &MainCore::deviceChanged, this, &VORLocalizerGUI::channelsRefresh);
|
||||||
// List already opened channels
|
// List already opened channels
|
||||||
channelsRefresh();
|
channelsRefresh();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
VORLocalizerGUI::~VORLocalizerGUI()
|
VORLocalizerGUI::~VORLocalizerGUI()
|
||||||
@ -1269,8 +1275,7 @@ bool VORLocalizerGUI::eventFilter(QObject *obj, QEvent *event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return FeatureGUI::eventFilter(obj, event);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VORLocalizerGUI::makeUIConnections()
|
void VORLocalizerGUI::makeUIConnections()
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicemimoengine.h"
|
#include "dsp/dspdevicemimoengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -878,6 +879,7 @@ void BladeRF2MIMOGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicemimoengine.h"
|
#include "dsp/dspdevicemimoengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -103,6 +105,7 @@ LimeSDRMIMOGUI::LimeSDRMIMOGUI(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
|
|
||||||
sendSettings();
|
sendSettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
LimeSDRMIMOGUI::~LimeSDRMIMOGUI()
|
LimeSDRMIMOGUI::~LimeSDRMIMOGUI()
|
||||||
@ -1244,6 +1247,7 @@ void LimeSDRMIMOGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicemimoengine.h"
|
#include "dsp/dspdevicemimoengine.h"
|
||||||
@ -75,6 +77,7 @@ MetisMISOGui::MetisMISOGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
|
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
|
||||||
|
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
MetisMISOGui::~MetisMISOGui()
|
MetisMISOGui::~MetisMISOGui()
|
||||||
@ -611,6 +614,7 @@ void MetisMISOGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicemimoengine.h"
|
#include "dsp/dspdevicemimoengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -106,6 +108,7 @@ PlutoSDRMIMOGUI::PlutoSDRMIMOGUI(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
m_sampleMIMO->setMessageQueueToGUI(&m_inputMessageQueue);
|
m_sampleMIMO->setMessageQueueToGUI(&m_inputMessageQueue);
|
||||||
|
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PlutoSDRMIMOGUI::~PlutoSDRMIMOGUI()
|
PlutoSDRMIMOGUI::~PlutoSDRMIMOGUI()
|
||||||
@ -988,6 +991,7 @@ void PlutoSDRMIMOGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicemimoengine.h"
|
#include "dsp/dspdevicemimoengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -88,6 +90,7 @@ TestMIGui::TestMIGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
|
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
|
||||||
|
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
TestMIGui::~TestMIGui()
|
TestMIGui::~TestMIGui()
|
||||||
@ -559,6 +562,7 @@ void TestMIGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "dsp/spectrumvis.h"
|
#include "dsp/spectrumvis.h"
|
||||||
@ -315,6 +316,7 @@ void TestMOSyncGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspdevicemimoengine.h"
|
#include "dsp/dspdevicemimoengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -100,6 +102,7 @@ XTRXMIMOGUI::XTRXMIMOGUI(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
|
|
||||||
sendSettings();
|
sendSettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
XTRXMIMOGUI::~XTRXMIMOGUI()
|
XTRXMIMOGUI::~XTRXMIMOGUI()
|
||||||
@ -1083,6 +1086,7 @@ void XTRXMIMOGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
#include "gui/audioselectdialog.h"
|
#include "gui/audioselectdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "audiooutputgui.h"
|
#include "audiooutputgui.h"
|
||||||
@ -60,6 +62,7 @@ AudioOutputGui::AudioOutputGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
m_audioOutput->setMessageQueueToGUI(&m_inputMessageQueue);
|
m_audioOutput->setMessageQueueToGUI(&m_inputMessageQueue);
|
||||||
|
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioOutputGui::~AudioOutputGui()
|
AudioOutputGui::~AudioOutputGui()
|
||||||
@ -246,6 +249,7 @@ void AudioOutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -478,6 +479,7 @@ void Bladerf1OutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -462,6 +463,7 @@ void BladeRF2OutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
|
|
||||||
@ -351,6 +352,7 @@ void FileOutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -481,6 +482,7 @@ void HackRFOutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -697,6 +698,7 @@ void LimeSDROutputGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -298,6 +299,7 @@ void LocalOutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
#include "device/deviceuiset.h"
|
#include "device/deviceuiset.h"
|
||||||
#include "plutosdr/deviceplutosdr.h"
|
#include "plutosdr/deviceplutosdr.h"
|
||||||
@ -81,6 +83,7 @@ PlutoSDROutputGUI::PlutoSDROutputGUI(DeviceUISet *deviceUISet, QWidget* parent)
|
|||||||
m_statusTimer.start(500);
|
m_statusTimer.start(500);
|
||||||
|
|
||||||
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()), Qt::QueuedConnection);
|
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()), Qt::QueuedConnection);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PlutoSDROutputGUI::~PlutoSDROutputGUI()
|
PlutoSDROutputGUI::~PlutoSDROutputGUI()
|
||||||
@ -525,6 +528,7 @@ void PlutoSDROutputGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
|
|
||||||
@ -91,6 +93,7 @@ RemoteOutputSinkGui::RemoteOutputSinkGui(DeviceUISet *deviceUISet, QWidget* pare
|
|||||||
displaySettings();
|
displaySettings();
|
||||||
sendSettings();
|
sendSettings();
|
||||||
makeUIConnections();
|
makeUIConnections();
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoteOutputSinkGui::~RemoteOutputSinkGui()
|
RemoteOutputSinkGui::~RemoteOutputSinkGui()
|
||||||
@ -559,6 +562,7 @@ void RemoteOutputSinkGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "ui_soapysdroutputgui.h"
|
#include "ui_soapysdroutputgui.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "soapygui/discreterangegui.h"
|
#include "soapygui/discreterangegui.h"
|
||||||
#include "soapygui/intervalrangegui.h"
|
#include "soapygui/intervalrangegui.h"
|
||||||
#include "soapygui/stringrangegui.h"
|
#include "soapygui/stringrangegui.h"
|
||||||
@ -894,6 +895,7 @@ void SoapySDROutputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/spectrumvis.h"
|
#include "dsp/spectrumvis.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
@ -291,6 +292,7 @@ void TestSinkGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -590,6 +591,7 @@ void USRPOutputGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -586,6 +587,7 @@ void XTRXOutputGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
|
|
||||||
@ -479,6 +480,7 @@ void AirspyGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "airspyhfgui.h"
|
#include "airspyhfgui.h"
|
||||||
@ -503,6 +504,7 @@ void AirspyHFGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "audioinputgui.h"
|
#include "audioinputgui.h"
|
||||||
@ -55,6 +57,7 @@ AudioInputGui::AudioInputGui(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
|
|
||||||
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()), Qt::QueuedConnection);
|
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()), Qt::QueuedConnection);
|
||||||
m_sampleSource->setMessageQueueToGUI(&m_inputMessageQueue);
|
m_sampleSource->setMessageQueueToGUI(&m_inputMessageQueue);
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioInputGui::~AudioInputGui()
|
AudioInputGui::~AudioInputGui()
|
||||||
@ -320,6 +323,7 @@ void AudioInputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -560,6 +561,7 @@ void Bladerf1InputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -556,6 +557,7 @@ void BladeRF2InputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "fcdprogui.h"
|
#include "fcdprogui.h"
|
||||||
@ -601,6 +602,7 @@ void FCDProGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "fcdproplusgui.h"
|
#include "fcdproplusgui.h"
|
||||||
@ -403,6 +404,7 @@ void FCDProPlusGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -543,6 +544,7 @@ void HackRFInputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "util/db.h"
|
#include "util/db.h"
|
||||||
@ -330,6 +331,7 @@ void KiwiSDRGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialpopup.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "device/deviceapi.h"
|
#include "device/deviceapi.h"
|
||||||
@ -102,6 +104,7 @@ LimeSDRInputGUI::LimeSDRInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
|
|||||||
m_limeSDRInput->setMessageQueueToGUI(&m_inputMessageQueue);
|
m_limeSDRInput->setMessageQueueToGUI(&m_inputMessageQueue);
|
||||||
|
|
||||||
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
|
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(openDeviceSettingsDialog(const QPoint &)));
|
||||||
|
DialPopup::addPopupsToChildDials(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
LimeSDRInputGUI::~LimeSDRInputGUI()
|
LimeSDRInputGUI::~LimeSDRInputGUI()
|
||||||
@ -806,6 +809,7 @@ void LimeSDRInputGUI::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
@ -328,6 +329,7 @@ void LocalInputGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "gui/colormapper.h"
|
#include "gui/colormapper.h"
|
||||||
#include "gui/glspectrum.h"
|
#include "gui/glspectrum.h"
|
||||||
#include "gui/basicdevicesettingsdialog.h"
|
#include "gui/basicdevicesettingsdialog.h"
|
||||||
|
#include "gui/dialogpositioner.h"
|
||||||
#include "dsp/dspengine.h"
|
#include "dsp/dspengine.h"
|
||||||
#include "dsp/dspcommands.h"
|
#include "dsp/dspcommands.h"
|
||||||
#include "perseusgui.h"
|
#include "perseusgui.h"
|
||||||
@ -418,6 +419,7 @@ void PerseusGui::openDeviceSettingsDialog(const QPoint& p)
|
|||||||
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
dialog.setReverseAPIDeviceIndex(m_settings.m_reverseAPIDeviceIndex);
|
||||||
|
|
||||||
dialog.move(p);
|
dialog.move(p);
|
||||||
|
new DialogPositioner(&dialog, false);
|
||||||
dialog.exec();
|
dialog.exec();
|
||||||
|
|
||||||
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
m_settings.m_useReverseAPI = dialog.useReverseAPI();
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user