1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 11:34:09 -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
@@ -33,6 +33,8 @@
#include "gui/audioselectdialog.h"
#include "gui/basicchannelsettingsdialog.h"
#include "gui/devicestreamselectiondialog.h"
#include "gui/dialpopup.h"
#include "gui/dialogpositioner.h"
#include "maincore.h"
#include "ui_ammodgui.h"
@@ -306,6 +308,7 @@ void AMModGUI::onMenuDialogCalled(const QPoint &p)
}
dialog.move(p);
new DialogPositioner(&dialog, false);
dialog.exec();
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
@@ -406,6 +409,7 @@ AMModGUI::AMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandSampl
displaySettings();
makeUIConnections();
applySettings(true);
DialPopup::addPopupsToChildDials(this);
}
AMModGUI::~AMModGUI()