Commit Graph

2899 Commits

Author SHA1 Message Date
Klaus Basan
148368ca0c Some fixes for interpolation setups
* added missing signal
* refresh list on reload button press
* display pitch value
* list ctor for single object
2020-06-12 18:42:48 +01:00
Klaus Basan
92fdbd3117 [UI] Estimate height of plugin selector 2020-06-12 18:42:47 +01:00
Klaus Basan
21e109e5e2 [AFV] Simulator settings changed signal
* in the cockpit "sync." can now be enabled/disabled
* settings signal allows to update UI in settings UI
2020-06-12 18:42:47 +01:00
Klaus Basan
04562a6651 Style, as_const 2020-06-12 18:42:46 +01:00
Klaus Basan
a0aae420e2 [AFV] First premature version of editable TX/RX flags 2020-06-12 18:42:46 +01:00
Klaus Basan
f14184ddc0 Style and minor UI tweaks 2020-06-12 18:42:45 +01:00
Mat Sutcliffe
22ebf6c5ea Ref T778 XSwiftBus traffic service prodives water/land flag for elevations 2020-06-12 18:42:44 +01:00
Klaus Basan
9eaeb0f52b [UI] Menu separator 2020-06-12 18:42:44 +01:00
Klaus Basan
09a2377197 Ref T778, allow to re-calculate all aircraft from the log.display 2020-06-12 18:42:43 +01:00
Klaus Basan
cb814583f6 Ref T783, splitter for ATIS field 2020-06-12 18:42:42 +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
5e8696464f Utility functions 2020-06-12 18:42:42 +01:00
Klaus Basan
e8786f9794 Some CDockWidget improvements
* save original dock areas
* init dw_InfoBarStatus as it is not part of an info area (which does that)
2020-06-12 18:42:41 +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
1642502aae Distributor filter improvements
* if all or none simulator is selected do not filter
* also select if there is no (NULL) simulator
2020-06-12 18:42:41 +01:00
Klaus Basan
cfb2fa9d22 Split "Display and rendered" aircraft,
just to avoid accidentally disabling aircraft when using "follow"
2020-06-12 18:42:41 +01:00
Roland Rossgotterer
bb0ef86044 Remove unnecessary header file not being available in MinGW 2020-06-12 18:42:40 +01:00
Klaus Basan
82f7771882 Set "ft" as default unit for altitude formatter
See https://discordapp.com/channels/539048679160676382/539486489977946112/692158405145788437
2020-06-12 18:42:40 +01:00
Klaus Basan
605ccdbaa8 Fix ASSERT if there are NO tab names (which can be configured)
* report https://discordapp.com/channels/539048679160676382/539486489977946112/692165190103466005
* use fallback search
* add tooltips
2020-06-12 18:42:40 +01:00
Klaus Basan
7d4e897b88 [AFV] Displayed sync. (integrated with COM unit) flag in cockpit 2020-06-12 18:42:40 +01:00
Klaus Basan
21068427b0 Demoted to BLACK_VERIFY_X (no ASSERT) 2020-06-12 18:42:39 +01:00
Klaus Basan
a7b7998f15 [Mappimg tool] Use "showOverlayMessagesOrHTMLMessage" 2020-06-12 18:42:39 +01:00
Klaus Basan
9c01983f25 [Mappimg tool] Clear "own models" if there are NO models and hence NO "models changed" signal 2020-06-12 18:42:39 +01:00
Klaus Basan
8c2d2b0667 Floating dock widget close issue with Qt 5.14.1
see https://discordapp.com/channels/539048679160676382/539846348275449887/691667651285483564
2020-06-12 18:42:39 +01:00
Klaus Basan
1e789c0951 MacOS specific message 2020-06-12 18:42:39 +01:00
Klaus Basan
2607ebd7c6 Ref T776, renamed some matching settings
* the forced values did not force anything
* also adjusted UI form
2020-06-12 18:42:38 +01:00
Klaus Basan
5b3c011a15 Added "url" to signature "dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number, const QUrl &url)"
Allows to write log. messages with URL
2020-06-12 18:42:38 +01:00
Klaus Basan
7f6e3e5378 [Worker] In order to make background validation (worker) stoppable, using an "atomic bool stop flag"
Originally Ref T145, Ref T647
2020-06-12 18:42:36 +01:00
Klaus Basan
3ffedd16ec Ref T733, allow to save/load a flight plan template 2020-06-12 18:42:35 +01:00
Klaus Basan
181c2b8061 Ref T773, improved info texts and statistics values 2020-06-12 18:42:34 +01:00
Klaus Basan
f2096bd826 Ref T773, style 2020-06-12 18:42:34 +01:00
Klaus Basan
14ab60cb73 Guarding by "hasWebDataServices" 2020-06-12 18:42:33 +01:00
Klaus Basan
70e08fdf8b Ref T773, allow to clear/write log. from interpolation UI via buttons 2020-06-12 18:42:33 +01:00
Klaus Basan
33b3cd5461 Ref T773, elevation handling style and minor improvements 2020-06-12 18:42:32 +01:00
Klaus Basan
c57ed26880 Ref T773, improved start/stop in log.display 2020-06-12 18:42:32 +01:00
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