mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-30 22:14:31 -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:
@@ -33,6 +33,8 @@
|
||||
#include "dsp/dspengine.h"
|
||||
#include "gui/crightclickenabler.h"
|
||||
#include "gui/audioselectdialog.h"
|
||||
#include "gui/dialpopup.h"
|
||||
#include "gui/dialogpositioner.h"
|
||||
#include "maincore.h"
|
||||
|
||||
#include "freqtracker.h"
|
||||
@@ -279,6 +281,7 @@ void FreqTrackerGUI::onMenuDialogCalled(const QPoint &p)
|
||||
}
|
||||
|
||||
dialog.move(p);
|
||||
new DialogPositioner(&dialog, false);
|
||||
dialog.exec();
|
||||
|
||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||
@@ -373,6 +376,7 @@ FreqTrackerGUI::FreqTrackerGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, B
|
||||
displaySettings();
|
||||
makeUIConnections();
|
||||
applySettings(true);
|
||||
DialPopup::addPopupsToChildDials(this);
|
||||
}
|
||||
|
||||
FreqTrackerGUI::~FreqTrackerGUI()
|
||||
|
||||
Reference in New Issue
Block a user