1
0
Fork 0
flightgear/src/GUI
James Turner bce6b56c8d Remove use of QQ.Window / PopupTracker
Overlay menus work better than native popups for most use-cases, and
simplify integration (no window focus changes). Switch the remaining
menus to always use the overlay system

As part of this, fix how Overlay positions are adjusted, to avoid
the ugly zero-interval timer.
2020-06-10 16:54:27 +01:00
..
assets Launcher: move PNGs to assets/ subdir 2020-06-05 22:16:02 +01:00
qml Remove use of QQ.Window / PopupTracker 2020-06-10 16:54:27 +01:00
AddOnsController.cxx Launcher: allow ‘Airports’ when adding a scenery path 2020-04-13 09:35:52 +01:00
AddOnsController.hxx Launcher: enable/disable all add-on types 2020-03-09 16:16:50 +00:00
AddonsModel.cxx Lots of UTF8 path correctness fixes 2020-03-12 14:23:44 +00:00
AddonsModel.hxx Modifications to launcher to load Add-on modules and view related metadata. Each module can also be selectively enabled with a checkbox. Fixes also submitted by Florent Rougon. 2019-03-03 12:59:48 -05:00
AircraftModel.cxx Launcher: move favourites to its own storage class 2020-04-04 09:20:23 +01:00
AircraftModel.hxx Launcher: move favourites to its own storage class 2020-04-04 09:20:23 +01:00
AircraftSearchFilterModel.cxx Launcher: split on non-word characters in search 2020-04-27 14:21:47 +01:00
AircraftSearchFilterModel.hxx Launcher: fix favourites loading 2020-04-02 16:13:12 +01:00
AirportDiagram.cxx Tweaks to launcher diagrams, to debug parking clicks 2019-03-23 14:46:03 +00:00
AirportDiagram.hxx Better units handling in the launcher / UI 2018-07-19 09:58:44 +01:00
AirportList.cxx Give the FGAirport class a sane filename. 2013-02-21 11:32:02 +00:00
AirportList.hxx Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet) 2011-11-19 20:46:17 +00:00
BaseDiagram.cxx Carrier "abeam" position support 2020-04-05 23:13:32 +01:00
BaseDiagram.hxx Carrier "abeam" position support 2020-04-05 23:13:32 +01:00
CanvasWidget.cxx Better fix for Canvas-in-PUI compositing 2018-01-28 16:10:18 +00:00
CanvasWidget.hxx Fix some static property references. 2013-11-14 16:37:46 +00:00
CarrierDiagram.cxx Carrier "abeam" position support 2020-04-05 23:13:32 +01:00
CarrierDiagram.hxx Carrier "abeam" position support 2020-04-05 23:13:32 +01:00
CarriersLocationModel.cxx Carrier launcher: Usability improvements 2020-04-03 21:43:19 +01:00
CarriersLocationModel.hxx Carrier launcher: Usability improvements 2020-04-03 21:43:19 +01:00
CatalogListModel.cxx Launcher: fix favourites loading 2020-04-02 16:13:12 +01:00
CatalogListModel.hxx Launcher: enable/disable all add-on types 2020-03-09 16:16:50 +00:00
CMakeLists.txt Remove use of QQ.Window / PopupTracker 2020-06-10 16:54:27 +01:00
CocoaFileDialog.hxx Replace auto_ptr with unique_ptr 2016-12-07 11:03:54 +01:00
CocoaFileDialog.mm Replace BOOST_FOREACH by C++ 11 for range loop. 2020-04-12 14:40:36 +01:00
CocoaHelpers.h UI handling tweaks 2020-06-05 17:54:27 +01:00
CocoaHelpers.mm UI handling tweaks 2020-06-05 17:54:27 +01:00
CocoaHelpers_private.h Refactor Cocoa helpers. 2013-11-16 10:58:17 +00:00
CocoaMouseCursor.hxx Replace auto_ptr with unique_ptr 2016-12-07 11:03:54 +01:00
CocoaMouseCursor.mm Use future-proof SGPath APIs. 2016-06-28 10:08:38 +01:00
DefaultAircraftLocator.cxx Launcher: update Advanced-weather handling 2018-09-07 15:56:10 +01:00
DefaultAircraftLocator.hxx Launcher: update Advanced-weather handling 2018-09-07 15:56:10 +01:00
dialog.cxx Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet) 2011-11-19 20:46:17 +00:00
dialog.hxx PUI Dialogs fixes 2018-08-10 02:00:38 +02:00
DialogStateController.cxx Add Qt dialog state controller 2020-06-05 22:09:03 +01:00
DialogStateController.hxx Add Qt dialog state controller 2020-06-05 22:09:03 +01:00
fake_qguiapp_p.h UI: support OSG multi-threading modes, partially 2020-06-08 22:44:52 +01:00
FavouriteAircraftData.cxx src/GUI/FavouriteAircraftData.cxx: add #include of <memory> to fix compile error. 2020-04-04 11:19:46 +01:00
FavouriteAircraftData.hxx Launcher: move favourites to its own storage class 2020-04-04 09:20:23 +01:00
FGCocoaMenuBar.hxx Prevent PUI menubar obscuring startup tips 2017-05-11 08:39:48 +01:00
FGCocoaMenuBar.mm Mac build fix for updated SDK 2018-09-22 17:23:50 +01:00
FGColor.cxx Clean-up some SGMath dependencies. 2012-05-05 00:56:29 +02:00
FGColor.hxx Fix some compiler warnings. 2012-10-13 17:59:47 +02:00
FGFontCache.cxx Move fnt code from PLIB into 3rdparty 2020-03-13 12:21:56 +00:00
FGFontCache.hxx Fix a couple of potential crashes on exit. 2016-12-10 23:24:09 +00:00
FGPUIDialog.cxx PUIDialog: some C++11 style clean-ups 2020-04-27 14:21:47 +01:00
FGPUIDialog.hxx PUI Dialogs fixes 2018-08-10 02:00:38 +02:00
FGPUIMenuBar.cxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
FGPUIMenuBar.hxx Prevent PUI menubar obscuring startup tips 2017-05-11 08:39:48 +01:00
FGQmlInstance.cxx Command / property bridges for QML / QtQuick 2017-10-05 12:38:27 +01:00
FGQmlInstance.hxx Command / property bridges for QML / QtQuick 2017-10-05 12:38:27 +01:00
FGQmlPropertyNode.cxx Add property Qt item-model 2020-06-05 22:09:03 +01:00
FGQmlPropertyNode.hxx Add property Qt item-model 2020-06-05 22:09:03 +01:00
FGQQWindowManager.cxx UI handling tweaks 2020-06-05 17:54:27 +01:00
FGQQWindowManager.hxx UI handling tweaks 2020-06-05 17:54:27 +01:00
FGWindowsMenuBar.cxx Replace boost::lexical_cast by std::ostringstream and std:stof/stoi/stod 2020-04-22 14:06:13 +01:00
FGWindowsMenuBar.hxx Replace auto_ptr with unique_ptr 2016-12-07 11:03:54 +01:00
FileDialog.cxx Replace boost::shared_ptr/weak_ptr by std::shared_ptr/weak_ptr 2020-04-22 14:05:46 +01:00
FileDialog.hxx Replace auto_ptr with unique_ptr 2016-12-07 11:03:54 +01:00
FlightPlanController.cxx Launcher: improve flight plan leg display 2019-01-12 23:40:50 +00:00
FlightPlanController.hxx Launcher: only submit a FP when requested 2018-09-02 09:32:13 +01:00
fonts.cxx Move fnt code from PLIB into 3rdparty 2020-03-13 12:21:56 +00:00
gui.cxx Check existence of an OpenGL extension 2019-04-11 11:36:22 +01:00
gui.h Fix a couple of potential crashes on exit. 2016-12-10 23:24:09 +00:00
gui_funcs.cxx Change screenshot filename to have date time 2019-01-20 23:26:58 +01:00
HoverArea.cxx Launcher: favourite aircraft support 2020-04-01 10:47:29 +01:00
HoverArea.hxx Launcher: favourite aircraft support 2020-04-01 10:47:29 +01:00
InstallSceneryDialog.cxx Launcher: Install-scenery dialog supports .zips 2018-07-04 11:36:30 +01:00
InstallSceneryDialog.hxx Scenery extraction: set progress text 2017-01-31 17:11:44 +01:00
InstallSceneryDialog.ui Text fix in ‘Install custom scenery’ dialog 2018-10-12 09:11:20 +01:00
LaunchConfig.cxx Launcher: allow copying the raw command line 2018-09-02 09:18:46 +01:00
LaunchConfig.hxx Launcher: allow copying the raw command line 2018-09-02 09:18:46 +01:00
LauncherArgumentTokenizer.cxx PosInit: fix a crash with invalid park-pos. 2020-05-21 23:19:39 +01:00
LauncherArgumentTokenizer.hxx Launcher: ensure extra args override launcher ones 2018-06-25 23:06:20 +01:00
LauncherController.cxx Remove use of QQ.Window / PopupTracker 2020-06-10 16:54:27 +01:00
LauncherController.hxx Launcher: favourite aircraft support 2020-04-01 10:47:29 +01:00
LauncherMainWindow.cxx Fix Launcher compositor setting 2020-05-19 22:22:04 +01:00
LauncherMainWindow.hxx Save settings on Launcher window close. 2019-12-17 22:47:50 +00:00
layout-props.cxx Clean-up some SGMath dependencies. 2012-05-05 00:56:29 +02:00
layout.cxx Fix a clang unused constant warning 2015-03-18 20:34:15 +01:00
layout.hxx use <enabled>false</enabled> flag for widgets that shouldn't be drawn 2008-08-05 05:27:07 +00:00
LocalAircraftCache.cxx Fix a warning 2020-04-01 15:30:06 +01:00
LocalAircraftCache.hxx Simplify Launcher thumbnail display code 2020-03-26 17:35:01 +00:00
LocationController.cxx Add --carrier-position command line argument 2020-04-17 20:25:18 +01:00
LocationController.hxx Carrier "abeam" position support 2020-04-05 23:13:32 +01:00
MapWidget.cxx PUI map: disable key-bindings for now 2020-05-12 11:26:07 +01:00
MapWidget.hxx PUI map: disable key-bindings for now 2020-05-12 11:26:07 +01:00
menubar.cxx Startup-tip system. 2017-03-03 23:21:18 +02:00
menubar.hxx Prevent PUI menubar obscuring startup tips 2017-05-11 08:39:48 +01:00
MessageBox.cxx modalMessageBox: Support for the runtime headless mode. 2018-07-26 15:52:06 +02:00
MessageBox.hxx Rename fatalMessageBox() to fatalMessageBoxWithoutExit(), add exiting variant 2017-04-10 02:29:48 +02:00
ModelDataExtractor.cxx Launcher: fix favourites loading 2020-04-02 16:13:12 +01:00
ModelDataExtractor.hxx Launcher: initial carrier support 2020-03-20 15:51:47 +00:00
MouseCursor.cxx Replace BOOST_FOREACH by C++ 11 for range loop. 2020-04-12 14:40:36 +01:00
MouseCursor.hxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
MPServersModel.cpp Launcher: fix a bug when using MP server 0 or 1 2018-10-25 12:10:42 +01:00
MPServersModel.h Fix compiler warnings 2020-04-12 21:52:19 +01:00
NavaidDiagram.cxx Better units handling in the launcher / UI 2018-07-19 09:58:44 +01:00
NavaidDiagram.hxx Better units handling in the launcher / UI 2018-07-19 09:58:44 +01:00
NavaidSearchModel.cxx Launcher: initial carrier support 2020-03-20 15:51:47 +00:00
NavaidSearchModel.hxx Launcher: initial carrier support 2020-03-20 15:51:47 +00:00
new_gui.cxx src/GUI/new_gui.cxx: NewGUI::setStyle(): remove old nodes before copying across new style. 2019-09-04 10:55:43 +01:00
new_gui.hxx SGSubsystem classes: Renaming of the subsystem ID variables and functions. 2019-07-01 14:27:30 +02:00
PathListModel.cxx Launcher: Fix a typo breaking path re-ordering 2020-03-10 10:28:56 +00:00
PathListModel.hxx Launcher: Fix a typo breaking path re-ordering 2020-03-10 10:28:56 +00:00
PathUrlHelper.cxx Expose child-props to QML binding class 2020-06-05 22:09:03 +01:00
PathUrlHelper.hxx Expose child-props to QML binding class 2020-06-05 22:09:03 +01:00
PixmapImageItem.cxx Fix a compilation issue reported by Dany 2018-06-28 12:05:49 +01:00
PixmapImageItem.hxx Launcher: location page in QtQuick 2018-06-13 10:01:04 +01:00
PreviewImageItem.cxx Launcher: fixes for lingering previews 2018-05-09 20:11:58 +01:00
PreviewImageItem.hxx Launcher: fixes for lingering previews 2018-05-09 20:11:58 +01:00
property_list.cxx Property list: show group id/name in verbose mode 2019-03-03 11:56:52 +00:00
property_list.hxx Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet) 2011-11-19 20:46:17 +00:00
PropertyItemModel.cxx Seperate aircraft cache from the model. 2017-12-04 21:48:20 +00:00
PropertyItemModel.hxx Command / property bridges for QML / QtQuick 2017-10-05 12:38:27 +01:00
PUIFileDialog.cxx Replace BOOST_FOREACH by C++ 11 for range loop. 2020-04-12 14:40:36 +01:00
PUIFileDialog.hxx Make it all work with existing FileSelector API. 2013-01-19 16:23:05 +00:00
QmlAircraftInfo.cxx Launcher: move favourites to its own storage class 2020-04-04 09:20:23 +01:00
QmlAircraftInfo.hxx Launcher: move favourites to its own storage class 2020-04-04 09:20:23 +01:00
QmlNavCacheWrapper.cxx Launcher: location page in QtQuick 2018-06-13 10:01:04 +01:00
QmlNavCacheWrapper.hxx Launcher: location page in QtQuick 2018-06-13 10:01:04 +01:00
QmlPositioned.cxx Launcher: use new SGGeod <-> string functions 2018-06-25 18:12:43 +01:00
QmlPositioned.hxx Launcher: use new SGGeod <-> string functions 2018-06-25 18:12:43 +01:00
QmlPropertyModel.cxx Add property Qt item-model 2020-06-05 22:09:03 +01:00
QmlPropertyModel.hxx Add property Qt item-model 2020-06-05 22:09:03 +01:00
QmlRadioButtonHelper.cxx Fix compilation on Qt 5.4 2018-06-15 10:33:11 +01:00
QmlRadioButtonHelper.hxx Fix compilation on Qt 5.4 2018-06-15 10:33:11 +01:00
QQuickDrawable.cxx Fix MSVC build: include <atomic> 2020-06-09 08:43:14 +01:00
QQuickDrawable.hxx Add missing code to previous commit :) 2020-06-05 20:49:05 +01:00
QtFileDialog.cxx Improve in-sim launcher behaviour 2020-03-17 10:00:17 +00:00
QtFileDialog.hxx add new QtFileDialog to avoid using Nasal in file selectors 2016-02-10 22:58:56 +00:00
QtHelpers.cxx UI handling tweaks 2020-06-05 17:54:27 +01:00
QtHelpers.hxx UI handling tweaks 2020-06-05 17:54:27 +01:00
QtLauncher.cxx Fix testing version of previous commit. 2020-05-18 11:47:11 +01:00
QtLauncher.hxx Lock-file dialog: allow quit-ing, make translated 2020-05-07 16:49:50 +01:00
QtLauncher_fwd.hxx Launcher: location page in QtQuick 2018-06-13 10:01:04 +01:00
QtMessageBox.cxx Split flightgear::initApp() to make it usable even without FGGlobals initialized 2016-12-29 11:33:19 +01:00
QtMessageBox.hxx {fatal,modal}MessageBox: Use Qt on Linux when available 2015-11-24 07:24:32 +00:00
QtQuickFGCanvasItem.cxx Canvas proxy for QtQuick rendering 2017-10-05 12:37:43 +01:00
QtQuickFGCanvasItem.hxx Canvas proxy for QtQuick rendering 2017-10-05 12:37:43 +01:00
README get rid of mouse.cxx and pu{Show|Hide}Cursor() 2008-07-27 09:39:10 +00:00
RecentAircraftModel.cxx Fix bug #2306 - missed refresh of the history model 2018-07-23 09:34:31 +01:00
RecentAircraftModel.hxx Fix bug #2306 - missed refresh of the history model 2018-07-23 09:34:31 +01:00
RecentLocationsModel.cxx Launcher: optional alt/spd/hdg select 2018-06-21 15:27:48 +01:00
RecentLocationsModel.hxx Launcher UI feedback: mark history buttons as disabled 2018-04-16 15:13:06 +01:00
resources.qrc Remove use of QQ.Window / PopupTracker 2020-06-10 16:54:27 +01:00
RouteDiagram.cxx Flight planning in the launcher 2018-08-28 12:23:01 +01:00
RouteDiagram.hxx Flight planning in the launcher 2018-08-28 12:23:01 +01:00
SetupRootDialog.cxx Tweaks to avoid a crash when asking for FGData path 2020-06-04 17:43:27 +01:00
SetupRootDialog.hxx Fix reset-data-path dialog logic 2020-03-26 17:35:01 +00:00
SetupRootDialog.ui Added the missing FG icons to the Qt dialogs 2017-01-25 18:18:11 +01:00
StackController.cxx Add Qt dialog state controller 2020-06-05 22:09:03 +01:00
StackController.hxx Add Qt dialog state controller 2020-06-05 22:09:03 +01:00
ThumbnailImageItem.cxx Launcher: Fix compilation with Qt < 5.6 2020-04-21 16:34:24 +01:00
ThumbnailImageItem.hxx Fix ‘add-default-catalog’ flow from aircraft list 2018-05-08 06:52:07 +01:00
UnitsModel.cxx Launcher: disable magnetic bearing/headings 2018-11-25 13:51:06 +00:00
UnitsModel.hxx Launcher: disable magnetic bearing/headings 2018-11-25 13:51:06 +00:00
WaypointList.cxx Less Boost. 2019-02-06 17:36:36 +00:00
WaypointList.hxx Route-manager waypoint-list lat-lon formatting 2018-06-28 16:44:10 +01:00
WindowsFileDialog.cxx Replace BOOST_FOREACH by C++ 11 for range loop. 2020-04-12 14:40:36 +01:00
WindowsFileDialog.hxx Windows native file-dialog, menu-bar 2014-01-20 18:43:02 +00:00
WindowsMouseCursor.cxx Windows cursor implementation. 2013-03-06 18:22:37 +00:00
WindowsMouseCursor.hxx Replace auto_ptr with unique_ptr 2016-12-07 11:03:54 +01:00

This directory contains code for the FlightGear user interface.
Currently, the code is based on PUI, which is part of PLIB.

The code is currently in transition between the old, hard-coded C++
interface and a new, XML-configurable modular subsystem.

Files:

dialog.[ch]xx           XML-configurable dialog box.
gui.cxx, gui.h          Top-level GUI functions (deprecated).
gui_funcs.cxx           Implementation of internal GUI functions (deprecated).
menubar.[ch]xx          XML-configurable menu bar.
new_gui.[ch]xx          Top-level for the GUI subsystem.


David Megginson
2003-09-26