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