James Turner
19ec0027e8
Launcher: heliport / helipad fixes
2018-05-31 22:12:08 +02:00
James Turner
3da6d42945
Launcher: fix location not saving
...
When the history was empty, the ‘don’t re-insert’ logic was breaking,
because the beginning and end of the vector range were equivalent.
2018-05-31 22:12:08 +02:00
James Turner
6906ce40fd
Launcher: show navaid diagram for lat-lon position
...
Another change broke showing the navaid diagram when entering a lat,lon
position in the launcher
2018-05-28 22:43:05 +02:00
James Turner
ea9ae959e4
PUI: simplify dialog binding handling
...
Fixes a perf issue when opening and closing dialogs which uses
bindings, reported by Michael Danilov - huge thanks for his help
in tracking this down.
This bug was caused by the SGBinding ‘don’t delete properties’ change,
since the PUI code was copying nodes to work-around that problem. With
SGBinding fixed, the copying caused huge numbers of nodes under
/sim/bindings/gui
2018-05-28 19:51:41 +02:00
James Turner
16b8335a5e
Launcher MP fixes:
...
- connecting works
- no instant exit with an invalid/missing server
2018-05-28 18:39:35 +02:00
James Turner
1b5d557c86
Fix launcher adding aircraft folder with ‘Aircraft’ subdir
...
We validate the modified path but didn’t actually use it.
2018-05-23 10:24:11 +01:00
James Turner
1555e1d6cb
Launcher: fixes for lingering previews
...
Also better fix for some ‘assign Qurl from undefined’ warnings
2018-05-09 20:11:58 +01:00
James Turner
8738e18921
Launcher: spinner when adding a catalog
2018-05-09 19:43:44 +01:00
James Turner
57a866fc60
Scrollbar for launcher settings
2018-05-09 19:35:24 +01:00
James Turner
b6f7f17c5c
Launcher: fix warning about Qurl / undefined
2018-05-09 19:35:12 +01:00
James Turner
607cef530a
Add the default tutorial airport to the launcher
2018-05-08 23:18:19 +01:00
James Turner
d4cd82b521
Fixes for Qt 5.4 compat
2018-05-08 22:17:07 +01:00
James Turner
ee48fddd5e
Compute scrollbar extent using alternate props
...
This computation is close enough, and removes the need for private
headers.
2018-05-08 22:16:53 +01:00
James Turner
0da17d895c
Fix ‘add-default-catalog’ flow from aircraft list
2018-05-08 06:52:07 +01:00
James Turner
42936f4f22
Launcher: fix date-time picker
2018-05-07 22:19:34 +01:00
James Turner
71a1348037
UI tweaks for the launcher
2018-05-07 16:53:25 +01:00
James Turner
e45c93dbc7
launcher: explicitly request desktop OpenGL
...
This should help with a white-screen in the launcher Gijs reported,
due to our Optimus selection symbol interacting weirdly with the
dynamic OpenGL detection in Qt
2018-04-27 09:53:49 +01:00
James Turner
1fcd86a8a9
Launcher: fix missing import for Style
2018-04-25 16:24:14 +01:00
James Turner
7ae8137b77
Launcher: nicer looking summary transparency
2018-04-16 15:41:48 +01:00
James Turner
7431fb12b3
Launcher UI feedback: mark history buttons as disabled
2018-04-16 15:13:06 +01:00
James Turner
8a390dab2a
Add-ons page UI improvements based on feedback
2018-04-16 15:04:21 +01:00
James Turner
361225f919
Launcher: fix the descriptionForState/null warning
2018-04-09 17:13:15 +01:00
James Turner
9fbd879c9f
Remove a stray log message
2018-04-09 15:52:14 +01:00
James Turner
72f9ff3735
Remove obsolete Launcher files
2018-04-09 15:48:43 +01:00
James Turner
a94d893124
Styling tweak for launcher hangars list
2018-04-09 11:17:15 +01:00
James Turner
4878b28a22
Fix MSVC build
2018-04-09 01:29:01 +01:00
James Turner
205fadbff3
Stubbing out Add-ons controller
...
Also CatalogListModel stubs
2018-04-08 23:52:27 +01:00
James Turner
01f840487d
Split launcher code to fix ownership issues
...
This avoids passing a QmainWindow into the QML engines, which don’t
seem to handle that very well.
2018-03-22 13:52:03 +00:00
James Turner
f75f413970
Ensure launcher AW toggle overrides the sim setting
...
Set the property value to false explicitly when BW is requested in
the launcher, otherwise the auto-saved value takes over.
2018-03-22 11:59:15 +00:00
James Turner
28d8317242
Work-arounds for launcher crashes on ‘fly’
...
Two are enabled, one is disabled for people to test.
2018-03-22 09:32:30 +00:00
James Turner
1c78c65b19
Popup an error box when QtQuick errors occur.
2018-03-20 16:32:31 +00:00
James Turner
010bfc8378
Fix a compile error reported by Edward
2018-03-19 22:33:17 +00:00
James Turner
cb4a823836
Missed some files fixing QQ2 version import
2018-03-19 22:32:23 +00:00
James Turner
4c2e52c2dc
Standardise QtQuick version to 2.4
...
Will fix an issue reported on the forum where a 2.7 dep crept it.
2018-03-19 08:22:11 +00:00
James Turner
e894cb5188
Fix case-sensitivity
2018-03-19 00:36:49 +00:00
James Turner
d3299a1f71
Remove references to deleted files
2018-03-18 22:09:01 +00:00
James Turner
024ffa5e9d
Remove obsolete launcher files
...
Clean-up now widget-based settings are gone
2018-03-18 17:00:54 +00:00
James Turner
19ae26164a
Summary page converted to QtQuick
2018-03-18 16:39:17 +00:00
James Turner
eaf89ab23b
Avoid use of Connections.enabled for Qt < 5.7 compat
2018-03-18 16:25:48 +00:00
James Turner
7339e261e9
Direct file dialog (no need for QtQuick Controls)
...
This should simplify the needed packages on Debian, Ubuntu, etc
2018-03-18 16:18:17 +00:00
James Turner
d92647b364
Fix duplicate entries in threaded location search
2018-03-16 10:02:20 +00:00
James Turner
fa72d8dd06
Popup window tracking helper hooked up
2018-03-11 11:10:02 +00:00
James Turner
37dc418ce1
QtQuick launcher settings implementation
...
Moves the settings and environment pages of the launcher into QQ2,
and provides more QtQuick items to use.
2018-03-11 11:10:02 +00:00
James Turner
7b7e50741f
Launcher: fix preview image aspect ratio
...
Accidentally left in a hard-coded 16:9 ratio, no wonder some images got
squished. Shuttle is now re-elongated verticallitaly :)
2018-03-06 18:34:54 +00:00
James Turner
5020e4655e
Launcher: explicit sizes in aircraft list
...
Fix some scaling issues when mixing pixel- and point- sized fonts,
especially on Windows
2018-03-05 10:49:30 +00:00
James Turner
7f815c4c51
Remove non-functional transparency from PUI map
...
This alpha blending never worked, and now it really doesn’t work, so
remove it (PUI map is not long for this world, anyway)
2018-03-01 15:55:41 +00:00
James Turner
6e6fafd5b4
Launcher: fix on-disk aircraft variant previews
...
This fixes e.g the issue with the Shuttle reported by Thorsten, variant
previews are now shown correctly.
2018-03-01 15:39:46 +00:00
James Turner
e571564c59
Launcher: tweak to be compatible with older Qt
2018-03-01 11:34:53 +00:00
James Turner
f760b8cd8f
Launcher: fixes for invalid catalog handling
2018-02-28 17:56:40 +00:00
Florent Rougon
a9084ac561
Add-ons: make NewGUI read dialogs from $addon_dir/gui/dialogs
...
As for aircraft, an add-on can now add its custom dialogs in
$addon_dir/gui/dialogs. This commit makes NewGUI consider this directory
as a dialog-providing one for each registered add-on.
2018-02-27 13:17:42 +01:00