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
James Turner
4f96039e70
Fix a crash when package data is missing
...
This may explain some of the erratic startup crashes, due to the
master catalog being out of date for 2018.*
2018-02-27 11:33:40 +00:00
James Turner
234320fe9d
Launcher: basic aircraft state selection
...
Automatic selection in the launcher is disabled for now, since
it needs more testing before release, but the basic UI for selection
is straightforward enough to throw in.
2018-02-11 21:28:25 +00:00
James Turner
e4343f4f46
Launcher: reduce warnings loading thumbnail data
2018-01-30 18:40:41 +00:00
James Turner
b6cd4c8726
Launcher: show aircraft URI and local path
...
Shift-clicking on the compact delegate will show the local path and
URI of the aircraft, to identify the source.
2018-01-30 18:40:21 +00:00
James Turner
db57b12723
Remove dead code
2018-01-30 17:25:08 +00:00
James Turner
f9e113d811
Fix jumping aircraft list when editing ratings
2018-01-30 17:24:41 +00:00
James Turner
9dc1c1bbcf
Fix scrolling of aircraft details view
2018-01-30 17:24:07 +00:00
James Turner
c035b3e9e3
Better fix for Canvas-in-PUI compositing
...
This seems to work everywhere, let’s try it.
2018-01-28 16:10:18 +00:00
James Turner
f076fe1c1b
Fix unwanted waypoint list transparency
...
Ticket: https://sourceforge.net/p/flightgear/codetickets/2009/
2018-01-28 15:59:51 +00:00
James Turner
c1947b6bc4
Fix PUICamera compilation
...
Some blending issues remain with Canvas-in-PUI, waiting to hear back
if Thomas has nay great ideas on those.
2018-01-28 14:23:22 +00:00
James Turner
e186fc6e2a
Launcher: avoid MP start with no server selected.
...
Default to first server in the list, if there is no valid previous
server to restore.
2018-01-28 12:35:12 +00:00
James Turner
821ae89f64
Fix aircraft-list selection bug after searching
...
Reported by Brendan Black, thanks!
2018-01-14 15:04:55 +00:00
James Turner
1493c0adc8
Fix missing style import in the delegate
2018-01-12 22:18:59 +00:00
James Turner
d2cb99ba1d
Launcher: fixes for scanning local aircraft dirs
...
When multiple ‘added items’ signals occur, don’t loose some entries,
always pull the full list from the aircraft cache.
2018-01-07 14:19:28 +00:00
James Turner
d98cd3a717
Launcher: move QML files to a sub-directory
2017-12-15 14:38:23 +00:00
James Turner
f964728422
Launcher aircraft list: show counts
2017-12-15 14:38:23 +00:00
James Turner
595b0d16da
Launcher aircraft: fix a layout bug
2017-12-15 14:38:23 +00:00
James Turner
88940eb6bc
Launcher: fix some warnings from QML
2017-12-09 09:46:14 +00:00
James Turner
58fa9fcaa7
Launcher: fix for unreliable aircraft-dir scanning
2017-12-09 09:32:25 +00:00
James Turner
d127a6ff9a
Launcher: fix on-disk variant enumeration
2017-12-08 23:18:42 +00:00
James Turner
e6e055dbb0
Launcher: preview image loading feedback
...
Expose the loading state as a property so the UI can show some feedback
when the image is still loading.
2017-12-08 16:14:47 +00:00
James Turner
033d5f65d5
Usability tweaks for editing ratings
...
Adjust ratings text now has mouse hover, and sliders can be clicked
on the track to adjust the value directly
2017-12-08 16:14:47 +00:00
James Turner
ac50a3c7ed
Restore OSG 3.2 compilation support
2017-12-05 21:39:30 +00:00
James Turner
3ffed7d867
Style singleton for the QML UI
2017-12-05 21:30:09 +00:00
James Turner
31c781257b
Remove obsolete UI files
2017-12-04 22:34:39 +00:00
James Turner
d34edaa569
Pure QtQuick aircraft-UI
...
Moves previews, searching, rating handling and extended aircraft
information entirely into QQ. Many cosmetic tweaks and improvements
still to come.
2017-12-04 22:34:39 +00:00
James Turner
041b9527d3
Seperate aircraft cache from the model.
...
Allows exposing aircraft data to QML (via a helper object) outside the
context of the model.
2017-12-04 21:48:20 +00:00
Gijs de Rooy
8ca9dd89c9
QtLauncher: fix aircraft ratings
...
Index of rating indicators starts at 0 while ratings that correspond to a point/star/dot start at 1
2017-11-22 16:35:21 +01:00
Florent Rougon
0537d569d5
Remove method FGAirport::isAirportType()
...
FGAirport::isAirportType() was redundant with
FGPositioned::isAirportType(). Remove the former and change existing
calls to use the latter.
2017-11-16 20:28:00 +01:00
James Turner
8fc04fdfb3
Fix Windows build for launcher changes
2017-11-15 22:04:03 +00:00
James Turner
2d663f2509
Fix crash with adding catalogs in the launcher
...
Change how we get notified about catalog changes, so we can remove
our hook and hence not leave a dangling pointer.
Fixes https://sourceforge.net/p/flightgear/codetickets/1994/
2017-11-15 21:46:57 +00:00
James Turner
72ca36535a
Fix the PUI map ruler feature, use right-click
...
The OSG Ctrl to right-click mapping was breaking this on Mac, but
changing that will break other things, so move the ruler feature from
‘ctrl left click’ to a simple ‘right click’ which ends up being the
same on Mac anyway.
2017-11-15 17:02:25 +00:00
James Turner
78bacefb60
Advanced weather support in the launcher
2017-11-14 17:54:22 +00:00
James Turner
daedf1e546
PUI dialog correct positioning on HiDPI displays
...
Apply the device-pixel-ratio when calculating the initial position of
PUI dialogs, so they appear correctly (eg, centered) when running with
device-pixel-ratio != 1.0
2017-11-14 17:30:31 +00:00
James Turner
b870b3f022
Fix wrong launcher aircraft name on startup
...
The mapping from aircraft URI to name was wrong for local (non-package)
aircraft, as spotted by Thorsten Renk. Note other data (thumbnail) is
still incorrect, but another change I have pending will replace this
code anyway so only doing the simple fix for now.
2017-11-14 17:30:31 +00:00
James Turner
e090427591
Better fix for CanvasWidget transparency
...
Use osg GLExtensions to retrieve glBlendFuncSeperate on Win32
2017-10-22 19:25:46 +01:00
James Turner
c1df6e9d15
Hack to fix Windows build.
...
glBlendFuncSeperate will need some ugly trick to use in CanvasWidget, I better find another way.
2017-10-20 17:25:06 +01:00