Commit Graph

147 Commits

Author SHA1 Message Date
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
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Klaus Basan
e7a807efdf Allow text messages on the splash screen, currently used with setup reader 2019-02-22 20:24:00 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
8979b5257e Fixed clazy warnings: returning void expression. 2019-02-22 20:23:34 +00:00
Klaus Basan
08495a7854 Ref T447, utility function to set on top flag
Also a signal when "always on top" was triggered
2018-12-11 09:00:15 +01:00