James Turner
f3a1c10b24
Fix bug #2306 - missed refresh of the history model
...
The HistoryPopup was caching its contents rather early, and we failed
to tell the model when its underlying data updated. Connect that
through so the history model refreshes also.
https://sourceforge.net/p/flightgear/codetickets/2036/
2018-07-23 09:34:31 +01:00
James Turner
8f9afcd796
Fix jumping aircraft when selecting variants
...
Always sort on the primary aircraft name, otherwise select a variant
triggers a re-sort of the list which is confusing for the user.
2018-07-02 14:11:01 +01:00
James Turner
7a0483281d
Aircraft update list gets its own tab
2018-06-28 23:45:52 +01:00
James Turner
0da17d895c
Fix ‘add-default-catalog’ flow from aircraft list
2018-05-08 06:52:07 +01: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
f760b8cd8f
Launcher: fixes for invalid catalog handling
2018-02-28 17:56:40 +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
d127a6ff9a
Launcher: fix on-disk variant enumeration
2017-12-08 23:18:42 +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
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
d1e9d357b9
Trying to reduce int types warnings.
2017-04-10 14:38:57 +01:00
James Turner
8d68741ee9
On-disk support for multiple primary aircraft.
...
Also add support for customised / per-variant thumbnails in on-disk
aircraft; equivalent support for catalog aircraft still to be done.
2017-03-05 22:02:25 +02:00
James Turner
17fe0460a9
Previews displayed in the launcher.
2017-02-25 21:47:58 +00:00
James Turner
8472a8c38a
Launcher smoothly scales thumbnails.
...
Was accidentally using nearest, not linear, interpolation when
resizing thumbnails. Very pixels. Much ugly.
2017-01-17 22:18:35 +00:00
James Turner
d831751b11
Fix aircraft-history naming of variants.
2016-12-18 21:25:05 +00:00
James Turner
54aec82c38
Search packages using the matches API
2016-11-30 21:33:16 +00:00
James Turner
b0fcd78e9f
Fix lazy-loaded thumbnail size for aircraft dirs.
2016-11-25 22:53:06 +00:00
James Turner
5db1f5cad6
Per variant authors/description data.
...
Will only work once the catalogs(s) are updated, and needs a
corresponding SimGear update.
2016-11-25 22:45:48 +00:00
James Turner
780e0f5a02
Restore active aircraft variant also.
2016-11-20 22:42:48 +00:00
James Turner
1a6263f22a
Don’t greedy load on-disk aircraft thumbnails.
...
Should make switching to the aircraft launcher tab more responsive when
using larger aircraft directories, such as a complete FGaddon checkout.
2016-11-18 16:39:00 +01:00
James Turner
ad17df3e1b
Refactor launcher delegate state tracking.
...
Instead of the two vectors we manually composed, used a single unified
vector of structs to store delegate information in the model. This
simplifies the logic for tracking the active variant (and in the future,
thumbnail).
2016-11-16 22:37:44 +01: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
40b74c4e32
Fix an assert on Windows
2016-06-29 16:25:42 +01:00
James Turner
16814800ce
Use Paths instead of strings.
2016-06-22 17:36:05 +01:00
James Turner
03ecac9dbc
Work with new SGPath API.
2016-06-22 17:36:05 +01:00
Alessandro Menti
98a6b60b00
Launcher: silence 'Unknown aircraft URI scheme' warning on empty selection
...
------------------------------------------------------------------------
If no aircraft is selected in the launcher, the routine
AircraftItemModel::indexOfAircraftURI is called with an empty QUri,
triggering a warning in the terminal.
This commit removes such warning by ignoring QUris with empty schemes
(the routine still returns an invalid index).
2016-04-17 17:55:05 +01:00
James Turner
31cad6d384
Fixes to launcher description rendering.
2016-04-15 17:21:49 +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
James Turner
5baca8598f
Improve download-dir behaviour.
...
When set on the command line, will be used for aircraft packages. When
set in the Qt launcher, will also be used for aircraft downloads at
all times.
When changing the path in the launcher, the set of aircraft catalogs
is refresh automatically. Note the default catalog may need to be
re-installed.
2016-03-24 15:10:06 +00:00
James Turner
43b4db7ef7
Improve UI around adding aircraft dirs
...
- Check if the selected path, or an ‘Aircraft’ subdir, contains
some -set.xml files, and if not, warn the user.
2016-03-05 09:35:02 +00:00
James Turner
688ae7d156
Bugfix: Qt launcher, enable variant aircraft on-disk
...
When mapping a URI to a QModelIndex, we were only considering the
primary aircraft path, for on-disk aircraft as opposed to packages.
2016-03-05 09:34:16 +00:00
James Turner
409ffc971d
Fixes to launcher aircraft delegate.
...
- fix some text size computation issues
2016-01-10 23:46:44 -06:00
James Turner
359f924ec9
Package variants working.
2016-01-03 20:58:03 -06:00
James Turner
4ea093ecc4
Ensure aircraft list stays in sync
...
- when removing a catalog, use the new notification to refresh
the list, so we don’t show stale package data.
2015-11-23 17:59:16 +00:00
James Turner
e356e691b2
Cap number of airports displayed in diagrams
...
- restrict heliports / seaports by aircraft type
- prioritise by runway length
- clean up airport label names
2015-11-23 00:48:21 +00:00
James Turner
6ec9c36afb
Fix Linux compilation issues.
2015-11-23 00:48:20 +00:00
James Turner
19a8fc8822
Fixing launcher save/restore of settings.
2015-11-23 00:48:20 +00:00
James Turner
5043bf0966
Fixes to launcher aircraft thumbnail sizing
...
- handle large images and longer descriptions correctly
2015-11-23 00:47:01 +00:00
James Turner
ceebd59001
Fallback when aircraft description is missing.
...
- avoids corrupted delegate display caused by asking for
bounds of empty string.
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
b49dd70de9
Remove some debug noise
2015-09-27 23:13:18 -05:00
James Turner
43bcc85919
Correct handling of updating packages
2015-09-27 19:44:29 -05:00
Rebecca N. Palmer
a64cf82296
Use +=, not (5.5+ only) append, for concatenating QVectors
2015-09-21 22:12:24 +01:00
James Turner
18a898f5f9
Lots of work on aircraft package support
2015-09-20 19:46:35 -05:00
James Turner
f88b4aefe9
Disable testing hacks for package installs.
2015-06-05 14:27:23 +02:00
James Turner
aa20e0acd8
Work on new download-dir option
...
- simplify management of a single, user-facing
location for large downloaded data.
2015-04-10 15:01:54 +01:00
James Turner
41ca6bd1de
GUI exclude support.
...
- visual refinements in the delegate.
2015-04-10 14:44:44 +01:00
James Turner
d170de1909
Hacking on the delegate height.
2015-04-10 14:44:44 +01:00
James Turner
9ebdce3995
AircraftModel hacking for package support.
2015-04-10 14:44:44 +01:00