Commit Graph

154 Commits

Author SHA1 Message Date
Lars Toenning
1106365180 refactor: Remove remaining parts of dynamic splashscreen messages
The splash screen was already refactored with bfc27f6 for better readability
2024-02-18 22:16:51 +01:00
Lars Toenning
389431ccef refactor: Clean up setup file reader
Previously we already switch to loading the bootstrap file only from the
local file (ec42553910).
This removes the remaining parts of loading the bootstrap file from a
remote location.
This also updates the UI in case of parsing errors of the bootstrap.json.
2024-02-05 22:23:40 +01:00
Lars Toenning
bfc27f61a4 Print splashscreen text in separate statusbar 2023-10-05 18:27:18 +02:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
6e72437824 Guard against window being off-screen
QDesktopWidget::screenNumber can return -1
2022-11-14 18:26:06 +00:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
802576eda9 Issue #77 Rename 2020-08-29 14:16:11 +01:00
Mat Sutcliffe
f68b1e1a88 #28 Use a hash of toolbar and dockwidget names as crosscheck of window geometry format 2020-06-29 17:22:18 +01:00
Mat Sutcliffe
372e9876db #28 Save window geometry in an ini file in the application settings directory 2020-06-29 17:22:13 +01:00
Mat Sutcliffe
d1aa26ed2f #28 Style 2020-06-29 17:22:10 +01:00
Lars Toenning
1d4aa96e9b Add warning about expire and redesign warning/error popup
Fixes Github Issue #38
2020-06-29 17:22:09 +01:00
Klaus Basan
53bd5e6be7 Close modal widgets on shutdown and
"kill" still floating dock widgets (HACK!)
2020-06-12 18:42:42 +01:00
Klaus Basan
0ee522426a Create "shutdown" message to find how far we get if swift hangs during shutdown 2020-06-12 18:42:41 +01:00
Klaus Basan
8f4c4a249c [5.14.1] UI adjustments
* OS native check of screen resolution (Qt free, experimental)
* changed rounding
* use string for scale factor so we can use fractions as 2/3
* utility functions to clean numbers, parse fractions

It looks like:

* my WIN10 scaling is 250%
* obviously swift rounds that to 3 (device ratio)
* now using FLOOR policy down-rounding to 2
* rational: scaling up (scale factor) is better as down-scaling as the factors would be clearer
* 2->3 1.5, but 3->2 means 0.66667
2020-06-12 18:42:30 +01:00
Klaus Basan
8c5fe89f6c [Windows registry] Allow to clean all swift registry entries
* for uninstallation
* few users reported a hanging (white screen) swift issue, solved by "cleaning the registry"

see https://discordapp.com/channels/539048679160676382/539925070550794240/664557031784448010
2020-01-09 20:25:59 +01:00
Klaus Basan
8eaa4f7f15 Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
2020-01-07 19:57:28 +00:00
Klaus Basan
de7174ad49 Ref T747, added toggle normal/minimal
* also provide action for toggle normal/minimal
* reverted "on top" for front/back toggle

based on discussion https://discordapp.com/channels/539048679160676382/539846348275449887/641003058867994634
2020-01-07 19:46:18 +00:00
Klaus Basan
109827b5c4 Ref T747, combine "on top" with window to front 2020-01-07 19:46:17 +00:00
Klaus Basan
2afbdf1228 Ref T747, disable "stay on top" if window is send to back 2020-01-07 19:46:17 +00:00
Klaus Basan
53de0d56b9 Style 2020-01-07 19:46:17 +00:00
Klaus Basan
5bed714e75 [UI] Enable version update check in pilot client 2020-01-07 19:46:16 +00:00
Klaus Basan
9d218f39f8 [UI] Show VATSIM AFV map until our own map is ready 2020-01-07 19:46:16 +00:00
Klaus Basan
6b809cd896 Ref T747, window to top/back 2019-10-23 00:38:25 +02:00
Klaus Basan
40eb531a3a [AFV], Ref T731 allow to open the drashdump directory from menu/launcher tools 2019-10-18 16:36:15 +02:00
Klaus Basan
3c633af365 Check for NULL icon 2019-09-16 22:41:09 +01:00
Klaus Basan
7c2a3e4142 Launcher Tools Page for utilities which may be helpful
* merged about/news
* tools page
2019-09-16 22:40:24 +01:00
Klaus Basan
122aa17431 Application in "window reset" mode 2019-09-16 20:29:48 +01:00
Klaus Basan
ad22d8b45b Fixed "window on top"
* do not show navigator
* no longer "on top" does not mean "on bottom"
* Qt::QueuedConnection
2019-09-16 20:29:40 +01:00
Klaus Basan
9a3ef1e82e Approach to handle the restoreGeometry/State crash
* use CLogSubscriber to "catch" the issue (log handler "catching" the ASSERT)
* restart message box
2019-05-13 11:20:49 +02:00
Klaus Basan
ce534d2536 Allow to reset window size from launcher 2019-05-13 11:20:49 +02:00
Klaus Basan
8d32345849 Disable shortcut 2019-05-13 11:20:48 +02:00
Klaus Basan
242d6137e5 Avoid crash when accessing the main windget position 2019-05-13 11:20:47 +02:00
Klaus Basan
b093d02f49 Bring a modal window back to front when opening a dialog
Otherwise it can happen the modal window in background blocks the other UI.
2019-05-13 11:20:39 +02:00
Klaus Basan
1af80575b7 Do not show context help if widget is visible
That would trigger help twice/multiple times
2019-05-13 11:20:38 +02:00
Klaus Basan
4ed0d6befd Style 2019-05-13 11:20:38 +02:00
Klaus Basan
bfed07fbc7 Allow to display the bootstrap and info files (for debugging) 2019-05-13 11:20:34 +02:00
Klaus Basan
4a3107d054 Re-Enable changing style 2019-05-13 11:20:34 +02:00
Klaus Basan
42af7e4e9f Avoid the style change crash. This is a temp.workaround until we know how to avoid it, but the usability impact can be neglected
Changing the style takes very long anyway and is a bit fault even if it works.
2019-04-11 22:12:20 +01:00
Klaus Basan
6f1fb20b1c Ref T596, do not call shutdown if close is called, as close already calls shutdown 2019-04-11 22:12:19 +01:00
Klaus Basan
5626b28ddc Fixed typo not setting the new, but still the old style
* Crashes if the style is changed when the UI is fully initialized
* Still needs to be fixed
* Crashes are random
2019-04-11 22:12:19 +01:00
Klaus Basan
77acffb73e Fixed crash when changing UI style (fusion, ...)
* use overloaded function with string directly
* Qt::QueuedConnection

The old version looked correct to me, nevertheless it did always crash
2019-04-11 22:12:11 +01:00
Klaus Basan
28d9e98e38 Minor dock widget related tweaks 2019-04-11 22:12:08 +01:00
Klaus Basan
bd1ef5dfea Use "myself" QPointer with "sGui->processEventsToRefreshGui"
Rational: during "sGui->processEventsToRefreshGui" object can be deleted
2019-04-11 22:11:32 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
bbaa9577b8 Fixed warnings/improved displayInOverlay handing 2019-02-22 20:35:42 +00:00
Klaus Basan
400a8fc2a8 Splash screen messages for web data services 2019-02-22 20:35:01 +00:00