Commit Graph

137 Commits

Author SHA1 Message Date
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
Klaus Basan
6ebb2ee502 Ref T447, toggleStayOnTop for CGuiApplication 2018-12-10 03:41:16 +01:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
0b2d3c3f05 Utility function for screen geometry 2018-11-22 19:54:51 +01:00
Klaus Basan
c52101709a Ref T408, function to append extra info to title 2018-11-04 17:42:44 +01:00
Klaus Basan
1fbe914cdc Ref T367, Ref T400 global setup loading dialog adjustments
* little delay before retry is triggered
* check for sGui
2018-11-04 17:42:41 +01:00
Klaus Basan
ffc903de34 Ref T367, Ref T400 style 2018-11-04 17:42:41 +01:00
Klaus Basan
400ca612e2 Reset windows size by pressing Shift+Alt 2018-10-05 17:39:57 +02:00
Klaus Basan
ff2f653aae Style 2018-09-23 20:12:27 +02:00
Klaus Basan
c0ea2d4c14 Style: double instead of qreal 2018-08-16 14:33:55 +02:00
Klaus Basan
755455e8a4 Style, in CGuiApplication sGui can be used as guard (no QPointer needed) 2018-08-16 14:33:54 +02:00