James Turner
e022e4fed5
Command / property bridges for QML / QtQuick
2017-10-05 12:38:27 +01:00
James Turner
2eab935dff
Canvas proxy for QtQuick rendering
...
Has zero testing so far, still a work in progress.
2017-10-05 12:37:43 +01:00
James Turner
45cb6849b2
QtQuick drawable for OpenSceneGraph
...
Still work in progress, especially different threading modes are not
supported yet, and may crash doing QSG synchronisation.
2017-10-05 12:36:19 +01:00
James Turner
3a8d3506d6
Replace launcher aircraft list with QtQuick version
...
Improves various flow / layout / usability issues, since delegates
in ListView can do full event interaction.
2017-09-26 16:52:48 +01:00
James Turner
18b8b59af6
Validate MP callsign with a reg-exp
2017-05-22 08:53:27 +01:00
James Turner
95a6d31e18
Launcher: update all aircraft UI.
...
Replaces more complex previous attempt, which was also not hooked
up properly, ooops.
2017-04-14 18:31:23 +01:00
James Turner
fac0341e04
Kill use of private header.
2017-04-10 22:18:19 +01:00
James Turner
68ef30d3af
Linux / Qt 5.2 fixes
2017-04-10 14:39:27 +01:00
James Turner
3732930269
QML-driven settings UI.
2017-04-10 14:38:57 +01:00
James Turner
5c713a6b55
Split the launcher main window into its own file.
...
Reduces QtLauncher.cxx down to the public API and the static helper
methods; the main window lives in its own file.
2017-04-10 14:38:57 +01:00
James Turner
4234876789
Move some Launcher helpers into their own files.
...
Suggested be Sebastian, and it’s a good idea indeed, the main
launcher file has grown slightly.
2017-04-10 14:38:57 +01:00
James Turner
bf1ffb8875
Proof-of-concept for new settings UI.
2017-04-10 14:38:57 +01:00
Bertrand Coconnier
6e9d4e8ae4
Linux/Unix are case sensitive.
2017-02-26 01:39:33 +01:00
James Turner
17fe0460a9
Previews displayed in the launcher.
2017-02-25 21:47:58 +00:00
James Turner
e1cf3423a5
‘Update all aircraft’ UI overlay.
...
WIP, but basics should be there.
2016-11-07 20:49:33 +01:00
James Turner
4c462872ff
Launcher lib uses SimGear
...
Need this so package headers are available when compiling the launcher
classes.
2016-11-03 09:56:48 +00:00
James Turner
d800c49cb9
Custom MP server support.
2016-07-12 16:52:59 +01:00
James Turner
3f7e59a1a5
Allow scenery installation from the launcher.
...
Replaces FGadmin functionality.
2016-06-15 22:28:54 +01:00
James Turner
bbd15eb370
Fix a typo
2016-04-15 18:03:01 +01:00
James Turner
6095646a62
Prompt the user when the default hangar is missing.
...
In the Qt launcher, when the default hangar isn’t found, show
a hint in the aircraft list.
2016-04-15 17:06:53 +01:00
Rebecca N. Palmer
e1d0699bdb
add new QtFileDialog to avoid using Nasal in file selectors
...
(and hence avoid applying Nasal security rules to them)
2016-02-10 22:58:56 +00:00
James Turner
2677b3a226
Use target_include_directories in some places.
...
I didn’t know about this feature when doing the original CMake files,
we can use this to target header-file includes more precisely.
(Probably more cases exist that can be changed from global to target-
specific includes)
2016-01-26 07:48:30 +01:00
Rebecca N. Palmer
997a431d53
{fatal,modal}MessageBox: Use Qt on Linux when available
...
(console error messages are invisible when started from an icon)
2015-11-24 07:24:32 +00:00
James Turner
09cac14089
Work on LocationWidget for Qt launcher
2015-11-23 00:47:01 +00:00
James Turner
1e213201cf
Work on the launcher
2015-11-23 00:45:21 +00:00
James Turner
4f15e1a840
New PathsDialog, for managing locations.
2015-04-10 15:11:14 +01:00
James Turner
217db33b99
Working on adding catalogs from the GUI
2015-04-10 14:44:44 +01:00
James Turner
d9a53e1140
Basics on catalog list model in the GUI.
2015-04-10 14:44:44 +01:00
James Turner
92864265af
Refactor aircraft helper classes
...
- move the aircraft list and delegate to their own files
2015-03-11 17:09:59 +00:00
James Turner
a466dbce73
Very crude work on GUI base package selection.
...
- feedback on wording greatly appreciated.
- needed to make nightly builds usable without bundled data.
2015-03-08 00:42:05 +00:00
James Turner
72e0ea9e40
Only set AUTOMOC for fglauncher target.
...
(Avoids pointless noise for all other targets)
2015-01-07 09:38:02 +00:00
James Turner
78e8f53312
In-app launcher for Mac, based on Qt5.
...
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
2015-01-06 19:13:30 +00:00
James Turner
1b585fa415
Windows native file-dialog, menu-bar
...
By Gijs with additions by James. Menubar is disabled at present
since it's not usable and potentially inferior to other solutions,
but committing the code so it doesn't rot.
2014-01-20 18:43:02 +00:00
James Turner
fecb475145
Refactor Cocoa helpers.
...
Change away from using deprecated FSFindFolder.
2013-11-16 10:58:17 +00:00
James Turner
136cd6ac51
Message box support.
...
This allows us to display a platform-native dialog for problems
which occur early in startup (before we can show a PUI/Canvas dialog).
In particular this improves feedback where FG_HOME, FG_DATA or
aircraft selection is wrong, all of which happen very early in startup.
2013-11-14 22:02:29 +00:00
James Turner
23a1d4338d
Windows cursor implementation.
...
This does not (yet) support custom cursor images, but can be easily
extended to do so.
2013-03-06 18:22:37 +00:00
James Turner
f2c267f5d7
MouseInput changes to support hover.
...
This adds the framework for platform cursor implementations; Windows and X11 to be done.
It also extend the mouse-input code to generate hover events suitable for driving tooltips.
Note there should be no visible functionality change from this commit, since everything
is inactive until fgdata changes are made.
2013-03-04 23:35:30 +00:00
James Turner
2e1fb7972e
Initial work on native file dialog support.
...
Add an abstract interface, version that forwards to the existing PUI dialog, and a Cocoa-native version.
2013-01-19 14:41:45 +00:00
Thomas Geymayer
373d511c69
Canvas: Allow using canvases as PUI widgets.
...
- Add new widget type canvas
- Set canvas view dimension from the gui xml.
- Expose mouse events to canvas widget properties.
2012-07-31 23:19:22 +02:00
James Turner
18469f0059
SafeTexFont is unused, remove from build & Git
2012-06-21 12:00:52 +02:00
James Turner
ebfdebeb43
Cocoa menu-bar implementation.
2011-11-20 16:26:05 +00:00
James Turner
daa973f1bc
And make FGMenuBar abstract too, sinking the current implementation into FGPUIMenubar
2011-11-19 22:04:35 +00:00
James Turner
03c966de13
Make FGDialog an interface, moving existing code to FGPUIDialog implementation. (no functionality change, yet)
2011-11-19 20:46:17 +00:00
James Turner
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00
James Turner
7abf7c5748
CMake header support for XCode/Visual Studio
2011-07-19 07:58:03 +01:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00