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
James Turner
1e1326d8f3
Aircraft path support in the Qt launcher
...
- aircraft dirs are re-scanned when the paths change.
2015-03-11 23:20:29 +00:00
James Turner
11c2623dec
Start wiring package manager into the launcher.
2015-03-11 17:09:59 +00: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