Commit Graph

2864 Commits

Author SHA1 Message Date
Klaus Basan
1d9fd71305 Ref T773, log.categories for log.display and messages if logging starts 2020-06-12 18:42:32 +01:00
Klaus Basan
60b556f118 Ref T773, allow to set test elevation (from log.display) 2020-06-12 18:42:31 +01:00
Klaus Basan
5f1bd14fcf Ref T773, style 2020-06-12 18:42:31 +01:00
Klaus Basan
7efebad51a Menu item to reset all dock widgets' settings 2020-06-12 18:42:30 +01:00
Klaus Basan
1d5bbb6747 [5.14.1] UI fixes
* restore settings, 1st toogle, then frameless, THEN restore geometry
* closeEvent: toggleFloating, then close
* setOffsetWhenFloating, also pass "frameless", if ever needed
2020-06-12 18:42:30 +01:00
Klaus Basan
4183a67e1f Dock widget minor style issues 2020-06-12 18:42:30 +01:00
Klaus Basan
62e74092ba Remove Qt::QueuedConnection from addAction
* the parameter is actually the shortcut, not the connection type
* caused odd characters in Qt 5.14.1 context menu
2020-06-12 18:42:30 +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
52de67a72f Guard for "CLoginComponent::onWebServiceDataRead" 2020-06-12 18:42:30 +01:00
Roland Rossgotterer
6f55d8cb8a MinGW no longer uses the debug suffix. MSVC is the only one > Qt 5.14 2020-06-12 18:42:29 +01:00
Klaus Basan
655209333c [FS family] follow up of the log. message changes,
display a confirmation if user wants to see all the details

Based on RPs comment here: https://discordapp.com/channels/539048679160676382/594962359441948682/674013220687577109
2020-06-12 18:42:29 +01:00
Klaus Basan
00ed15f111 Ref T775, special handling for "broadcast" messages
* identify broadcast messages
* do NOT play sound
* use "own" tab for text messages (group together)
2020-06-12 18:42:29 +01:00
Klaus Basan
4de544a991 Ref T773, minor log.display improvements 2020-06-12 18:42:28 +01:00
Klaus Basan
b4a7d59b7b Ref T773, allow to "fake" elevations for testing purposes and improved elevation logging in the interpolation log. display
* history of requested elevations
* bogus elevations for testing if needed (mostly to test the display)
2020-06-12 18:42:28 +01:00
Klaus Basan
e47dea2967 Set cursor back if displaying x,y,z 2020-06-12 18:42:28 +01:00
Klaus Basan
812619470b Ref T773, style and comments 2020-06-12 18:42:28 +01:00
Klaus Basan
09a3447047 Style 2020-06-12 18:42:25 +01:00
Klaus Basan
b9c6541a55 Add default unit for "rec.gnd.positions" radius
* utility functions
* append default unit to PQ string if needed
2020-06-12 18:42:25 +01:00
Klaus Basan
481833b003 BLACK_AUDIT_X for killTimer, trace Qt killTimer warnings in "our" code 2020-06-12 18:42:24 +01:00
Mat Sutcliffe
e50bb6d5c7 [xplane] Add monitoring of the number of minutes behind due to low FPS 2020-06-12 18:42:23 +01:00
Mat Sutcliffe
377b2f6a3e [xplane] Add monitoring of the number of track miles lost due to low FPS 2020-06-12 18:42:23 +01:00
Klaus Basan
7f75e7a061 Minor UI fix 2020-01-24 19:43:17 +01:00
Klaus Basan
2704d5e542 minor UI adjustments 2020-01-22 19:46:14 +01:00
Klaus Basan
2ff46c5e11 FPS (XPlane) formatting 2020-01-18 02:50:24 +01:00
Klaus Basan
5542fcd7d3 Unified how settings are read in audio context 2020-01-18 02:46:56 +01:00
Mat Sutcliffe
35cfaebc7d [xplane] Added display of simulation time ratio in simulator component 2020-01-13 18:53:30 +00:00
Klaus Basan
c88b05a734 [AFV] Do not show audio LED on if audio is disabled 2020-01-10 01:26:21 +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
e5449347e0 [qss] Format QTableView "corner" 2020-01-07 19:57:28 +00:00
Klaus Basan
9dc85da42d Text message view, scroll down if sorted by timestamp 2020-01-07 19:57:28 +00: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
2a3fd0e94c Style 2020-01-07 19:57:28 +00:00
Klaus Basan
72c3abb1e7 [xswiftbus] display FPS in simulator data window
* added driver getAverageFPS function
* display in simulator component
2020-01-07 19:57:28 +00:00
Klaus Basan
7d068cf979 Fix deprecated in GUI utility class 2020-01-07 19:57:27 +00:00
Klaus Basan
f8e8318902 Log.category for FSD and minor style changes 2020-01-07 19:57:27 +00:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Mat Sutcliffe
fdce6824d2 Added missing includes 2020-01-07 19:57:25 +00:00
Mat Sutcliffe
1f0c65135d Use qmake $$files function to match wildcards
See https://bugreports.qt.io/browse/QTBUG-81003
2020-01-07 19:57:24 +00:00
Klaus Basan
12fbd87bbc Ref T723 [xswiftbus] UI/settings for TCAS enabled and debug mode
* UI checkboxes added
* Qt free settings updated
2020-01-07 19:57:24 +00:00
Klaus Basan
10a6b06a59 Ref T764, display flight plan of other aircraft 2020-01-07 19:57:23 +00:00
Klaus Basan
ceebcc3e1b Style 2020-01-07 19:57:23 +00:00
Klaus Basan
aff8665c4d Avoid qss warnings with Qt 5.13.2
QCssParser::parseColorValue:
Specified color with alpha value but no alpha given: 'rgba 40,40,40'

see https://discordapp.com/channels/539048679160676382/539925070550794240/654376042596794378
2020-01-07 19:57:23 +00:00
Klaus Basan
429c91d93e Add flight plan HEAVY flag depending on DB data
see https://discordapp.com/channels/539048679160676382/542130771817791516/654404036199448589
2020-01-07 19:57:23 +00:00
Klaus Basan
e1498adc8e Minor fixes, style
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
1deeaf39e8 [UI] Focus in text message entry field if a text message tab is requested
* requested by AF
* added signals/slots
* foucs functions
2020-01-07 19:57:22 +00:00
Klaus Basan
03afc8968a [Radar] shorter track line, renaming
https://discordapp.com/channels/539048679160676382/539846348275449887/649744906146938880
https://discordapp.com/channels/539048679160676382/539846348275449887/649886218791813140
2020-01-07 19:57:22 +00:00
Klaus Basan
3b0001d113 [UI] As discussed in FSC channel, display "save" message
* save was only shown ("overlay") if a mapping component is available
* make sure an message is also show in component is used in dialog
* change utility functions and display in "table view" without mapping component

https://discordapp.com/channels/539048679160676382/594962359441948682/643529608070692925
2020-01-07 19:57:22 +00:00
Klaus Basan
087410039c Style 2020-01-07 19:57:22 +00:00
Klaus Basan
8dd0a06c81 [AFV], Ref T731, Ref T739 remember audio settings in launcher 2020-01-07 19:57:22 +00:00
Klaus Basan
2a34786039 [Hotkey] Display hotkey name plus device name in hotkey model, resize view if new key has been added or removed 2020-01-07 19:57:22 +00:00