1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04: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:
Jon Beniston
2022-12-20 10:31:15 +00:00
parent 60a933771d
commit 0dd466a900
120 changed files with 830 additions and 10 deletions
+4
View File
@@ -19,6 +19,8 @@
#include "device/deviceuiset.h"
#include "gui/basicchannelsettingsdialog.h"
#include "gui/dialpopup.h"
#include "gui/dialogpositioner.h"
#include "dsp/hbfilterchainconverter.h"
#include "dsp/scopevis.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->azUnits->setText(QString("%1").arg(QChar(0260)));
DialPopup::addPopupsToChildDials(this);
}
DOA2GUI::~DOA2GUI()
@@ -300,6 +303,7 @@ void DOA2GUI::onMenuDialogCalled(const QPoint &p)
dialog.setDefaultTitle(m_displayedName);
dialog.move(p);
new DialogPositioner(&dialog, false);
dialog.exec();
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();