James Turner
3cd3ad465e
Add Qt dialog state controller
...
Allow standard control of drill-down dialogs (with back / forward
navigation)
2020-06-05 22:09:03 +01:00
James Turner
faa070307d
Add property Qt item-model
...
Allows exposing a set of property nodes as a model in combo boxes,
lists, etc.
2020-06-05 22:09:03 +01:00
James Turner
c2c3bc17f6
Expose child-props to QML binding class
2020-06-05 22:09:03 +01:00
James Turner
033a53f1d7
Add missing code to previous commit :)
2020-06-05 20:49:05 +01:00
James Turner
a9e5a27e55
UI handling tweaks
...
- add class to handle top-level windows
- remove requirement to use custom graphics-window
- order alongside PUI UI
2020-06-05 17:54:27 +01:00
James Turner
023fbe35ea
Tweaks to avoid a crash when asking for FGData path
...
exit(-1) early in startup seems to cause QApplication to be cleaned
up in a weird way
2020-06-04 17:43:27 +01:00
James Turner
f242d1a226
Fix case sensitivity of Compositor spec names
...
https://sourceforge.net/p/flightgear/codetickets/2249/
2020-05-24 08:53:25 +01:00
James Turner
1eef7300be
PosInit: fix a crash with invalid park-pos.
...
Add test-cases for this,
2020-05-21 23:19:39 +01:00
James Turner
2759977ab6
Fix Launcher compositor setting
2020-05-19 22:22:04 +01:00
James Turner
1cf8e5641c
Fix testing version of previous commit.
2020-05-18 11:47:11 +01:00
James Turner
645548cbcc
Launcher: ensure cache rebuild dialog stays open.
...
Disable the auto-close behaviour, which was causing us to end the
rebuild too early, and then corrupt the DB
2020-05-18 11:46:17 +01:00
James Turner
f010e78e55
Launcher: basic Compositor support
2020-05-14 10:57:16 +01:00
James Turner
0c0947458f
NavCache init: make progress updates smoother
2020-05-13 15:51:42 +01:00
James Turner
31c66b3a37
Use QApp::exec to run the nav-cache init dialog.
...
This avoids an issue where the dialog doesn’t update on macOS, if it’s
shown immediately after a native message box, such as the migration
warning dialog.
2020-05-12 22:00:43 +01:00
James Turner
fec454def9
PUI map: disable key-bindings for now
2020-05-12 11:26:07 +01:00
James Turner
b52d41b0c3
Allow region/local specifications of translations
2020-05-08 14:54:53 +01:00
James Turner
6b41eb69eb
Lock-file dialog: allow quit-ing, make translated
...
Add translation macros for the text of the lock-file warning dialog,
and update the default text after some discussion on the devel list.
Also allow quiting the app, as an alternative option.
2020-05-07 16:49:50 +01:00
James Turner
ddc7baada2
Improve UI around read-only mode / lock-files
...
See ticket:
https://sourceforge.net/p/flightgear/codetickets/2133/
Give the user a chance to intervene, if we select read-only mode.
Offer a button to clear the lock file if it’s stale, and start in
read-write mode.
This is still evolving, but want to get some feedback on it.
2020-05-03 18:02:20 +01:00
Julian Smith
387b61e211
src/GUI/MapWidget.cxx: don't pan map with cursor keys if /gui/map/key-pan is 0.
...
Allows control of autopilot with cursor keys when map is being displayed.
Default is 1, which preserves old behaviour.
2020-05-02 10:09:04 +01:00
James Turner
6c66126bdb
I18N: fix translation of nav-cache-init dialog
...
Thanks to Slawek Mikula for spotting, that this was not working
correctly, now it does.
2020-04-29 11:44:09 +01:00
James Turner
1f07a8eba8
PUIDialog: some C++11 style clean-ups
2020-04-27 14:21:47 +01:00
James Turner
aae2ddd7e4
Launcher: split on non-word characters in search
...
This means ‘pa-28’ or ‘c-130’ will match pa28 or c130, where previously
they did not. This makes search for aircraft designations a bit easier.
2020-04-27 14:21:47 +01:00
gallaert
4854607382
Replace boost::lexical_cast by std::ostringstream and std:stof/stoi/stod
2020-04-22 14:06:13 +01:00
gallaert
0dfed0a096
Replace boost::shared_ptr/weak_ptr by std::shared_ptr/weak_ptr
2020-04-22 14:05:46 +01:00
James Turner
381919451d
Fix for reset crash:
...
https://sourceforge.net/p/flightgear/codetickets/2217/
This requires a matching Simgear change, but ensure all places
tolerate Nasal subsystem being gone, since this occurs during reset.
2020-04-22 10:56:54 +01:00
James Turner
858fc6ea01
Launcher: Fix compilation with Qt < 5.6
2020-04-21 16:34:24 +01:00
Stuart Buchanan
52a6245b49
Add --carrier-position command line argument
...
Takes special values "FLOLS" and "abeam" to set up
aligned for final approach or at the 180 for the carrier flight
deck. Or alternatively a catapult or parking position.
2020-04-17 20:25:18 +01:00
James Turner
a24301f746
UI for enabling crash-reporting in the launcher
2020-04-16 22:33:37 +01:00
James Turner
d7398866c7
Launcher: allow ‘Airports’ when adding a scenery path
...
Adjust the warning message to allow for ‘Airports-only’ scenery paths
to be added.
2020-04-13 09:35:52 +01:00
Stuart Buchanan
9b20c08db3
Fix compiler warnings
2020-04-12 21:52:19 +01:00
gallaert
fb65f64342
Replace BOOST_FOREACH by C++ 11 for range loop.
2020-04-12 14:40:36 +01:00
James Turner
440ca82bca
Launcher: fix a bug setting combo box state
...
Fix for callsign broke settings where the default value of setting is
not that of the control.
2020-04-10 19:09:54 +01:00
James Turner
4fd59a6613
Launcher: fix a glitch in restoring callsign
...
The base version of setValue used the wrong syntax, causing callsign
restoring to fail.
2020-04-10 11:58:18 +01:00
Stuart Buchanan
00fd5fbaec
Carrier "abeam" position support
...
Support for --carrier-abeam option, which places the aircraft
at the end of a downwind opposite the FLOLS.
Add launcher support for above.
Add carrier display for launcher showing position relative to
carrier.
2020-04-05 23:13:32 +01:00
Julian Smith
26168e5175
src/GUI/FavouriteAircraftData.cxx: add #include of <memory> to fix compile error.
2020-04-04 11:19:46 +01:00
James Turner
e596eb3716
Launcher: move favourites to its own storage class
...
This allows viewing/changing favourite-ness from the details view.
2020-04-04 09:20:23 +01:00
Stuart Buchanan
e0fb27037b
Carrier launcher: Usability improvements
...
- Support for <description> under <entry> in AI scenario
- Carrier icon consistent with UI
- Location "ship" icon toggles between ships and airports.
2020-04-03 21:43:19 +01:00
Stuart Buchanan
6b17604ba8
Carrier launcher: Allow setting altitude
2020-04-03 20:37:37 +01:00
Stuart Buchanan
8a782ea386
Updated Aircraft Carrier iconography for Launcher
2020-04-03 16:16:11 +01:00
Stuart Buchanan
e1f9f6707c
Add carrier-take-off and carrier-approach overlays
...
Adds support for carrier variants of the take-off
and approach overlays, with Automatic selection if
requested.
2020-04-03 16:06:55 +01:00
James Turner
f24b886ce4
Launcher: fix favourites loading
...
Also fix some warnings, closer to no output from the launcher.
2020-04-02 16:13:12 +01:00
James Turner
ca97866dd3
Fix a warning
2020-04-01 15:30:06 +01:00
James Turner
2904321959
Launcher: favourite aircraft support
2020-04-01 10:47:29 +01:00
James Turner
8ddf4d6699
Fix reset-data-path dialog logic
...
Use correct root path key in QSettings, everywhere
Use the direct Win32 API until Qt wrapper is fixed.
2020-03-26 17:35:01 +00:00
James Turner
0483f2996a
Simplify Launcher thumbnail display code
...
Remove old code paths in the AircraftModel/LocalCache, especially
2020-03-26 17:35:01 +00:00
James Turner
2c056507ce
Launcher: reduce timeout for HTTP updates
...
This helps download performance from inside the launcher
2020-03-24 22:37:23 +00:00
James Turner
5dc2f20848
Launcher: fix scanning of aircraft dirs on startup
...
https://sourceforge.net/p/flightgear/codetickets/2195/
2020-03-23 16:33:39 +00:00
James Turner
86e81735c5
Launcher: fix a typo
2020-03-23 10:06:31 +00:00
James Turner
cb830b70ff
Launcher: add setting for texture-cache
2020-03-23 10:06:31 +00:00
James Turner
177fc565da
Launcher: initial carrier support
...
Allow selecting carriers from scenarios, and starting at either a
parking position, or a distance offset from the FLOLS (effectively
a crude ‘on-final’)
Extend the —carrier startup option to accept a runway ident of FLOLS,
in conjunction with the existing —offset-distance argument.
2020-03-20 15:51:47 +00:00
James Turner
a22d7943a4
Launcher: set package locale based on user language
...
This should in theory enable localised strings in catalogs, but need
to validate the full workflow here.
2020-03-17 11:46:26 +00:00
James Turner
ffbbe54cbc
Launcher: create popup windows on demand
...
This avoids some flickering issues on macOS, and reduces resource use
generally.
2020-03-17 11:14:11 +00:00
James Turner
cf8ec5998e
Launcher: disable grid mode for update tab
...
Since the UI doesn’t work well in grid mode, and the list of updates
is limited, force list mode for the updates tab.
https://sourceforge.net/p/flightgear/codetickets/2172/
2020-03-17 10:00:17 +00:00
James Turner
d52f1b5d47
Improve in-sim launcher behaviour
...
Restrict the UI to the pieces which make sense.
2020-03-17 10:00:17 +00:00
James Turner
7688007c68
Guard against potential cause of crash:
...
https://sourceforge.net/p/flightgear/codetickets/2138/
2020-03-17 10:00:12 +00:00
James Turner
2dcf9c30bb
Further path -> UTF8 fixes for Windows
...
Requires corresponding SimGear change. With this last round, we work
with FGData on non-Latin1 path on Windows. (Final fixes are for
Nasal io.readfile, which needed io.stat to work, and SGSky allowing
correct SGPath use)
2020-03-15 15:00:55 +00:00
James Turner
7e9930e871
Move fnt code from PLIB into 3rdparty
...
This enables us to fix TXF loading to use UTF8 paths, required for
handling non-ASCII paths on Windows.
2020-03-13 12:21:56 +00:00
James Turner
27410761f3
Lots of UTF8 path correctness fixes
2020-03-12 14:23:44 +00:00
James Turner
40a85cae28
Launcher: fix some warnings, maybe a crash
...
Avoid binding loop warning, and change logic around re-starting the
aircraft dirs scan, to hopefully clarify the crash Brendan and others
are seeing.
2020-03-10 16:10:55 +00:00
Lars Toenning
d14073cd24
[swift] Adding aircraft to property tree and map
2020-03-10 14:08:28 +00:00
James Turner
de172de5b3
Launcher: Fix a typo breaking path re-ordering
2020-03-10 10:28:56 +00:00
James Turner
410c249ba8
Launcher: enable/disable all add-on types
...
Allow enable/disable in the UI of everything in the ‘add-ons’ page of
the launcher.
2020-03-09 16:16:50 +00:00
James Turner
ff70578d57
Launcher: Fix a QML warning on startup
2020-02-24 11:33:05 +00:00
James Turner
a3731875a1
Make Launcher ratings settings persistent
2020-02-24 11:33:05 +00:00
James Turner
f76709a853
Save settings on Launcher window close.
...
Patch by Slawek Mikula, from:
https://sourceforge.net/p/flightgear/codetickets/2158/
2019-12-17 22:47:50 +00:00
James Turner
ba36bd90e0
Launcher respects —enable-fullscreen arg
...
Patch by Slawek Mikula from:
https://sourceforge.net/p/flightgear/codetickets/2162/
2019-12-17 22:40:25 +00:00
Julian Smith
10414fada4
src/GUI/new_gui.cxx: NewGUI::setStyle(): remove old nodes before copying across new style.
...
Previously old nodes that weren't in the new style, would be left in place,
leading to a confusing mix of styles sometimes.
2019-09-04 10:55:43 +01:00
Edward d'Auvergne
34a6cb3c74
SGSubsystem classes: Registration of all subsystems.
2019-07-01 14:51:32 +02:00
Edward d'Auvergne
fb5c36fc82
SGSubsystem classes: Renaming of the subsystem ID variables and functions.
2019-07-01 14:27:30 +02:00
Edward d'Auvergne
7a6e63ddb9
SGSubsystem classes: Subsystem and subsystem group API declaration standardisation.
...
This is a cleanup commit.
2019-07-01 14:27:30 +02:00
Edward d'Auvergne
60a2444766
SGSubsystem classes: Whitespace standardisation of the declarations.
...
This is a clean up commit prior to the subsystem API standardisation to simplify
the diffs. It includes all SGSubsystem and SGSubsystemGroup derived classes.
2019-07-01 14:27:28 +02:00
James Turner
79562bcf31
Avoid crash on Cmd-Q exit of the app on macOS
...
On this code path, AppKit uses exit, rather than letting main run as
normal. We handle most things via C++ destructors, which do run, but
Qt is happier if we clean it up explicitly.
2019-04-17 22:53:10 +01:00
James Turner
e2ed179f4c
Temporarily log out UI languages on launcher start
...
This is to help with diagnosing:
https://sourceforge.net/p/flightgear/codetickets/2121/
2019-04-17 15:11:23 +01:00
James Turner
4d562e2a90
Check existence of an OpenGL extension
2019-04-11 11:36:22 +01:00
James Turner
6860627dea
Tweaks to launcher diagrams, to debug parking clicks
...
Adding some info/qInfo log output, to try and diagnose missed clicks
reported by some users.
2019-03-23 14:46:03 +00:00
James Turner
669a80216d
Launcher: fix aircraft switching on update
...
Remove some obsolete code which caused the current aircraft to get
switched unexpectedley when updating
2019-03-20 17:09:12 +00:00
James Turner
d5ce11ce55
Merge /u/dancliff/flightgear/ branch launcher_addons_merge into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/151/
2019-03-04 15:20:44 +00:00
Dan Wickstrom
1e858767b1
Modifications to launcher to load Add-on modules and view related metadata. Each module can also be selectively enabled with a checkbox. Fixes also submitted by Florent Rougon.
2019-03-03 12:59:48 -05:00
James Turner
87f63c4cec
Property list: show group id/name in verbose mode
...
Patch from Henning to simplify debugging canvas trees
2019-03-03 11:56:52 +00:00
James Turner
dee1998979
Less Boost.
2019-02-06 17:36:36 +00:00
James Turner
a9a49bc2e6
Unboosting files
...
Use simgear::strutils replacements in places, C++11 features in others
2019-02-04 15:20:22 +00:00
James Turner
8c43b622e5
Launcher: fix handling carrier argument
2019-02-03 12:12:00 +00:00
danw
1c4e146a43
Modifications to the Launcher to enable the management of Add-on modules
2019-02-02 15:46:09 -05:00
Richard Harrison
7ab07eb1c0
Ensure fonts list cleared in destructor.
...
This is part of work trying to track down a segfault that is caused after a replay session (F-15).
2019-01-26 18:20:52 +01:00
Richard Harrison
58314f359a
Change screenshot filename to have date time
...
Format fgfs-YYYYMMDDHHMMSS[-#] where the # is for the rare case when there are multiple screenshots per second.
The change makes the filenames sortable based on date and slightly improves run time performance when there are a lot of screenshots in a particular directory
2019-01-20 23:26:58 +01:00
James Turner
4deb61d0af
Map dialog draws heliports now!
...
Patch from Daniel Wickstrom, with some style changes by James
2019-01-15 11:32:57 +00:00
James Turner
758518b248
Launcher: improve flight plan leg display
2019-01-12 23:40:50 +00:00
James Turner
6de242f184
Launcher: hook up ‘available parking’ option
...
Many cases of this option were not setup correctly, fix this so it
works as advertised.
2019-01-08 23:21:28 +00:00
James Turner
1e104bbdfe
Version the FG-root setting
...
This ensures fresh installs will see an empty value, and hence
default to the shipped version.
2018-11-25 14:06:51 +00:00
James Turner
4956386b84
Launcher: disable magnetic bearing/headings
...
These don’t work right now (FG doesn’t support passing them in via
arguments) so disable them in the UI to avoid confusion.
2018-11-25 13:51:06 +00:00
James Turner
0239d5ef44
Grid-view for the launcher
2018-11-14 17:11:13 +00:00
James Turner
2cd3036488
Improved launcher metric units support
...
For our Russian friends, especially. Also add preliminary support
for above-field elevations (needs FG changes)
2018-11-07 09:39:54 +01:00
James Turner
8cda76e92b
Fix a launcher console warning
2018-11-07 09:39:54 +01:00
James Turner
68813d1c57
Fix missed case in ModelDataExtractor
...
handle QList<QObject*> case, needed for location:airport runway
and parking selection. Thanks to Jonathan Redpath for the catch.
2018-11-07 09:39:54 +01:00
James Turner
66d635dc9c
Launcher: fix a bug when using MP server 0 or 1
...
Due to how the popup menu was refresh, using MP servers at index 0 or 1
didn’t work correctly. Change some logic and add a helper to make this
work reliably, without a second Repeater and dummy properties.
2018-10-25 12:10:42 +01:00
James Turner
196aa472fb
Fix crash on Ctrl-V in PUI
2018-10-23 11:00:40 +01:00
James Turner
f819750287
Launcher respects --language arg if set
2018-10-12 11:37:39 +01:00
James Turner
1613b44c6a
Text fix in ‘Install custom scenery’ dialog
2018-10-12 09:11:20 +01:00
Florent Rougon
4ee9021eab
Launcher: print the locale name when translations were successfully loaded
2018-10-11 22:37:33 +02:00
James Turner
d7d37ae137
Launcher: further flight plan tweaks
...
Various improvements based on discussion here:
https://sourceforge.net/p/flightgear/codetickets/2066/
2018-10-09 17:14:23 +01:00
James Turner
180cf66077
Launcher: tweak sidebar icons
2018-10-09 10:25:50 +01:00
James Turner
b3bcfb084e
Fix linux build: missing <cassert> include
2018-10-08 16:04:51 +01:00
James Turner
c450fa9f4e
Flight-plan: improve GPX loading
...
- support elevation values
- parse the first/last points in case they are airports, and set
as the plan airports in this case.
https://sourceforge.net/p/flightgear/codetickets/2066/
2018-10-08 15:09:46 +01:00
James Turner
22c5c456cc
Launcher flight-planning: UI to sync initial location
...
Show a prompt message to ensure the initial startup location matches
the flight-plan departure airport.
https://sourceforge.net/p/flightgear/codetickets/2068/
2018-10-08 13:31:33 +01:00
James Turner
290261d1ae
Launcher flight-planning, allow GPX loading
...
https://sourceforge.net/p/flightgear/codetickets/2067/
2018-10-08 13:30:46 +01:00
James Turner
28f55889b0
Fix launcher ratings order and labelling
...
Had a dumb string naming glitch, and also we didn’t check for the
ordering of ratings being different when dealing with packaged
aircraft.
2018-10-08 12:31:27 +01:00
James Turner
1c08ca0e2d
Launcher: don’t update already updating aircraft
2018-10-04 21:22:05 +01:00
James Turner
1d20913b1f
Fix initial launcher screen state
...
This showed up as environment page controls being active under the
summary logo image. Thanks to Nikolai Verner Christensen for spotting
the bug.
2018-10-03 08:41:50 +01:00
James Turner
40c0710f2b
Change launcher pop-up to support scrolling
...
Use an internal window (instead of a real OS window) for popup choices,
and cap the maximum size. Use a scrollbar when the number of items is
too large, and adjust the position to fit in the window.
2018-10-02 14:19:14 +01:00
James Turner
cce3ae0268
Launcher: tweak aircraft list key handling
2018-10-01 14:22:48 +01:00
James Turner
22bf5eb6e5
Launcher: tweak alignment of thumbnails
...
If the thumbnail is less than 172px wide, centre in the available
space. This ensures consistent alignment of the main content (name
and aircraft description)
2018-09-27 15:23:14 +01:00
James Turner
421a5601c1
Launcher state naming fix (parked vs parking)
...
Ensure both ‘parked’ and ‘parking’ are handled by the launcher display
code and auto-state-selection logic.
2018-09-24 14:52:32 +01:00
James Turner
eb70f5edd4
Mac build fix for updated SDK
2018-09-22 17:23:50 +01:00
James Turner
518d3cbd0f
Tweak launcher update timer to sleep the CPU
...
Fix the launcher keeping the main thread busy all the time (use a non-
zero timeout to ensure the dispatcher sleeps a bit)
2018-09-20 11:03:47 +01:00
James Turner
110aec6039
Tiny code cleanups while doing other changes
2018-09-18 17:34:23 +01:00
James Turner
47d33b5de3
Fix disabled appearance of ToggleSwitch
2018-09-12 12:04:38 +02:00
James Turner
ec488bf204
Launcher: fix missing translation annotations
...
Thanks to Sidi Liang for catching these.
2018-09-09 14:52:54 +01:00
James Turner
f39b81c872
Launcher: update Advanced-weather handling
...
Use the information from Environment/environment.xml to init the
local-weather control properties.
2018-09-07 15:56:10 +01:00
James Turner
e7f2c1439c
Fix some integer signed-ness warnings
2018-09-06 17:12:12 +02:00
Richard Harrison
c923ae5b32
Set the active dialog property to the one that is on top after a dialog is closed
2018-09-02 12:27:31 +02:00
James Turner
0bb67136ab
Launcher: only submit a FP when requested
...
Add an explicit toggle switch to the planning page so we don’t
always set an empty plan.
2018-09-02 09:32:13 +01:00
James Turner
5312ed9071
Launcher: allow copying the raw command line
2018-09-02 09:18:46 +01:00
James Turner
5ae818e526
Launcher: fix a compile error for Stuart
2018-09-02 09:18:21 +01:00
James Turner
5cc9b4f127
Launcher: remove some debug output
2018-09-01 18:53:45 +01:00
James Turner
b210f2021d
Launcher: indent location detail heading text.
...
As suggested on the devel list, this looks more comfortable with a
margin set.
2018-09-01 18:53:45 +01:00
James Turner
776588066a
Launcher: shrink sidebar height further
...
Since the icons have some margin included, go to a really small margin
external to this, gets us down to 560px vertical here.
2018-09-01 18:53:45 +01:00
James Turner
ec7816a565
Reduce the launcher minimum vertical height
2018-08-30 14:41:22 +01:00
James Turner
7fe11b800a
Launcher: use a more robust resource path
...
Some version of Qt seem to dislike the qrc:/// format, so use the
single-slash format here.
2018-08-28 23:35:38 +01:00
James Turner
47847a5a57
Fix an assert in debug mode
2018-08-28 23:34:55 +01:00
James Turner
41687767b9
Translations looked up correctly
...
Tweak both the launcher and main locale lookups, to tolerate the
different region suffixes encountered in reality.
2018-08-28 23:34:44 +01:00
James Turner
2329654e3b
Disabling translations is tricky.
2018-08-28 17:12:31 +01:00
James Turner
61f33e0195
One more fix for translations-disabled case
2018-08-28 16:32:23 +01:00
James Turner
f99a25ba7f
Fix build when translations are not defined
2018-08-28 16:15:26 +01:00
James Turner
df7e13d734
Flight planning in the launcher
...
Still evolving but usable to import or build a route now
2018-08-28 12:23:01 +01:00
James Turner
e062026d9c
UI: small fixes to various controls
...
Especially, add return key handling to many editing controls
2018-08-28 12:23:01 +01:00
James Turner
f33b15575f
Navaid search: optionally constrain results
2018-08-28 12:23:01 +01:00
James Turner
f0c48110d3
Units model knows about frequency units
2018-08-28 12:23:01 +01:00
James Turner
cd0b493426
Base diagram can draw airways
2018-08-28 12:23:01 +01:00
James Turner
f4b98cf204
Fix CMake dependencies for translations
...
When only building the fgfs target (which IDEs tend to do), we didn’t
update the translations. Add an explicit dependency to remedy this.
2018-08-28 12:04:56 +01:00
James Turner
eaa2ed5cbb
Launcher translations enabled
...
Translations are build into the executable at compile time, providing
FGData is available during the build.
2018-08-27 13:20:23 +01:00
James Turner
9848930e16
Fix translations context for some strings
2018-08-19 16:50:38 +01:00
Richard Harrison
8ac8446256
GUIDialog: attempts to fix segfault
...
- change to get property node rather than calling set string.
- only set dialog name on mouse down event; (Scott's suggestion)
2018-08-12 10:43:20 +02:00
Richard Harrison
518fb79e01
PUI Dialogs fixes
...
- fix double zoom on mouse wheel in map
- change getName() to return const char* to see if that fixes the crash in linux.
2018-08-10 02:00:38 +02:00
James Turner
c4e4f83030
Launcher: hide sidebar tooltips when button updates
...
Happens with Fly! button when refresh or update occurs.
2018-08-08 11:30:38 +02:00
Richard Harrison
c13bfe2722
PUI: window (FgPopup) handling changes
...
- I think I've fixed a long standing problem with clicks traveling through windows and bringing the dialog window underneath to the foreground.
- Added /sim/gui/dialogs/current-dialog that contains the name of the currently active (in front) dialog window.
- Changed dialog-open to bring a dialog to the front if it is already open.
2018-08-07 18:54:29 +02:00
James Turner
23196184cc
add missing assert
2018-07-27 19:43:42 +01:00
James Turner
d2c3ecace1
Fix PNG sRGB iCC warning
2018-07-27 08:26:38 +01:00
James Turner
78a3e8d979
Expose performance/ICAO planning data to QML
2018-07-26 23:08:49 +01:00
Edward d'Auvergne
8d0db45c51
TestSuite: Shifted the non-functional src/GUI/layout-test.cxx file to the attic.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
3e4132e660
modalMessageBox: Support for the runtime headless mode.
...
The caption, message, and additional text are instead output via SG_LOG().
2018-07-26 15:52:06 +02:00
James Turner
68141f3675
Launcher shows aircraft URLs
...
(in the details view)
2018-07-26 12:03:21 +01:00
James Turner
72d5f1efa0
Basic support for structured authors data
2018-07-25 13:58:48 +01:00
James Turner
4395f96b13
Launcher: Fix helipad selection
2018-07-25 09:27:43 +01:00
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
af380e0d8c
Fix glitch in custom start date/time persistence
2018-07-19 09:58:44 +01:00
James Turner
3422caa4d2
Launcher: Fix default runway selection
2018-07-19 09:58:44 +01:00
James Turner
86786496a5
Working on airport entry
2018-07-19 09:58:44 +01:00
James Turner
9098219032
Better units handling in the launcher / UI
2018-07-19 09:58:44 +01:00
James Turner
9716274612
Hacking UI for FP entry
2018-07-19 09:58:43 +01:00
James Turner
b24ba303dc
Fix a bug restoring a lat-lon location from history
...
https://sourceforge.net/p/flightgear/codetickets/2035/
2018-07-05 00:42:18 +01:00
James Turner
0f83a71860
Launcher search box clear icon
2018-07-05 00:41:42 +01:00
James Turner
916f2d7d76
Fix yes-no panel transparency
2018-07-05 00:17:05 +01:00
James Turner
b177d407f8
Launcher: fix setting altitude for lat/lon
...
https://sourceforge.net/p/flightgear/codetickets/2034/
2018-07-04 23:17:18 +01:00
James Turner
ab5342888b
Launcher: Install-scenery dialog supports .zips
...
Use the improved Simgear archive support to allow the WS2.0 zips
to be extracted
2018-07-04 11:36:30 +01:00
James Turner
728a5b13db
Tweak addons catalog styling
...
Refactor into a separate delegate component to make things cleaner
2018-07-04 09:54:26 +01:00
James Turner
81f4ce5ea8
Opt out of Qt's DPI scaling by default
2018-07-03 09:49:00 +01:00
James Turner
6dd374408c
Launcher: keyboard shortcuts
...
Use The Qt 5.6 Shortcut item, but via a conditional file so
we don’t touch the base Qt requirement. (This means no shortcuts
when using Qt 5.4 or 5.5, oh well)
2018-07-03 09:36:30 +01:00
James Turner
abcbbe897f
Ensure we build on Qt 5.4 (no qInfo)
2018-07-03 09:35:26 +01:00
James Turner
5c3c4a6733
Fix property-inspector Nasal module hookup
...
We need to clone the binding nodes so that we
can set / override the module on each binding,
when opening a dialog multiple times.
2018-07-03 00:34:33 +01:00
James Turner
68a2e80cb1
Add another human name for a state
...
Found this in the Citation Bravo, missing ‘taxi’
2018-07-02 23:15:01 +01:00
James Turner
12dac05d38
Launcher: experimenting with SVG icons
2018-07-02 23:15:01 +01:00
James Turner
c684701b7f
Fix 'restart the app' functionality on Windows
...
The read-only lock in fghome was tripping things up. Explicitly
release the lock in the restart-the-app situation.
2018-07-02 23:13:36 +01:00
James Turner
08c7707782
Launcher: altitude entry for runway-approach
2018-07-02 16:45:17 +01:00
James Turner
f76be60459
Confirm aircraft uninstallation
2018-07-02 14:40:18 +01:00
James Turner
85024d0f75
Improve aircraft list hightling
...
When selecting an aircraft programtically, don't animate the move
2018-07-02 14:31:05 +01:00
James Turner
946366a9d0
Fix aircraft list divider margin
2018-07-02 14:17:05 +01:00
James Turner
4752d266c6
Save settings on launcher exit
2018-07-02 14:13:00 +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
a311e744ff
Fix variant poup on Linux
...
Maybe WM specific, but sizing the window late seems to trigger a bug. Fixes
repeated variant selection on Ubuntu for me.
2018-07-02 14:09:52 +01:00
James Turner
6475ae32b1
Launcher: nicer min-window-size computation
2018-07-02 11:59:01 +01:00
James Turner
b7e98caecf
Ensure the C172P tutorial airport (PHTO) is always listed
...
Adjust the location history so the default and tutorial airports always appear at
history locations 0 and 1.
2018-07-02 11:50:48 +01:00
James Turner
33ed13f889
Fix menu width when a header item is present.
2018-07-02 11:50:48 +01:00
James Turner
d126c5a3da
Tweak launcher location-arg knock-out mode.
...
Allow setting of various secondary location args without
knocking out the main ones. The user arg values still override, but
this allows selecting a runway (for example) and manually setting
altitude / heading / offset if desired.
2018-06-29 14:56:05 +01:00
James Turner
7a0483281d
Aircraft update list gets its own tab
2018-06-28 23:45:52 +01:00
James Turner
2212e9342f
Launcher: increase precision of lat/lon args
2018-06-28 22:51:53 +01:00
James Turner
1a7f513fb1
Allow setting VC for on-final start
2018-06-28 16:54:21 +01:00
James Turner
aa61c55168
Disable on-final for heliport starts
2018-06-28 16:54:21 +01:00
James Turner
f6106e39d1
Launcher window-state saving
2018-06-28 16:54:21 +01:00
James Turner
7f554bd0fd
Fix saved config naming
2018-06-28 16:54:21 +01:00
James Turner
7d7dc725a8
Bug fixes for location saving
2018-06-28 16:54:21 +01:00
James Turner
5ebee55632
Launcher can save/load configs to disk
...
Aircraft state is also persisted to configs and on flying
2018-06-28 16:54:21 +01:00
James Turner
e49b1328c8
Route-manager waypoint-list lat-lon formatting
...
Use the new Simgear helpers to make the lat-lon formatting the
waypoint list dialog nicer.
2018-06-28 16:44:10 +01:00
James Turner
c86ed96433
Fix a compilation issue reported by Dany
2018-06-28 12:05:49 +01:00
James Turner
2573644518
Many small style fixes
2018-06-28 11:43:40 +01:00
James Turner
cf09e3f138
Tiny style tweak
2018-06-28 09:22:29 +01:00
James Turner
82f99a6a9e
Fix popup-width warning
2018-06-28 09:07:51 +01:00
James Turner
81b9105a8f
Show location history on 'back'
2018-06-27 23:33:16 +01:00
James Turner
ce15ca666f
Remove obsolete files
2018-06-27 23:18:18 +01:00
James Turner
2d6a6cd59e
Fix JS warning in Sidebar
2018-06-27 23:02:58 +01:00
James Turner
6535846732
Launcher styling tweaks
2018-06-27 16:46:22 +01:00