Commit Graph

2921 Commits

Author SHA1 Message Date
Klaus Basan
6fc3d55d9a Fixed mute handling and audio LED
* AFV client has own "changedMute" signal
* unmute if started/stopped AFC client
* in statusbar also check audio start/stop to refresh LEDs
* see https://discordapp.com/channels/539048679160676382/539486309882789888/713491666971000872
2020-06-12 18:42:57 +01:00
Klaus Basan
24bc57ac32 [Weather] Allow to trigger reload of weather from UI 2020-06-12 18:42:57 +01:00
Klaus Basan
c2ecf167b7 [UI] Mapping wizard 2020-06-12 18:42:56 +01:00
Klaus Basan
8d51c42cfc Ref T784, joystick (PTT) buttons
* style
* more detailed logs
2020-06-12 18:42:56 +01:00
Klaus Basan
d3892de593 Ref T783, no longer use stretch factor, but splitter sizes
Using stretch factor can cause ASSERT: https://discordapp.com/channels/539048679160676382/539846348275449887/706825982283350047
2020-06-12 18:42:56 +01:00
Klaus Basan
bba07ef4c4 [AFV] Signal/handling for authentication failures
* authentication issues in AFV were silently handled
* and there was no re-try, which could mean an initial glitch COULD cause AFV not working properly
* NOW handling in AFV client and context
* also reset connection data so for a new session no old authentication token or check time is used
* check for "invalid" QDateTime(s)
2020-06-12 18:42:54 +01:00
Klaus Basan
e50520c0aa Added a component for aircraft parts
* internals page and log.display both use that component
* complete parts code now encapsulated
2020-06-12 18:42:53 +01:00
Mat Sutcliffe
a7c696d385 Enable GCC and Clang warnings for zero being used as a null pointer 2020-06-12 18:42:53 +01:00
Klaus Basan
5987e58043 [UI] Login, use remembered ICAO codes if there is no DB model
Remark: We need to see how this works, in some cases in
the past (previous version) his has caused odd behaviour
2020-06-12 18:42:53 +01:00
Klaus Basan
348a5573c4 Ref T768, made UI component a bit smaller as first trial 2020-06-12 18:42:53 +01:00
Klaus Basan
170da452ee [Weather] Message that "real weather is loading" 2020-06-12 18:42:51 +01:00
Klaus Basan
055ecbc022 cockpit UI, changed order of RX/TX 2020-06-12 18:42:50 +01:00
Klaus Basan
0bf9ddbe2c Simulator settings, always display settings directory
RP FSC eV discussion
https://discordapp.com/channels/539048679160676382/594962359441948682/700487653556224070
2020-06-12 18:42:50 +01:00
Klaus Basan
42cd7b9ad8 Ref T786, UI weather component aligned to identifier 2020-06-12 18:42:50 +01:00
Klaus Basan
d5a81a349b Style 2020-06-12 18:42:49 +01:00
Klaus Basan
3be498a347 Ref T786, make sure callbacks are called in correct thread
* callback.singleShot
* shutdown guards, "myself"
* BLACK_VERIFY
* Qt::QueuedConnection
2020-06-12 18:42:49 +01:00
Klaus Basan
000d0da92a [UI] Internals page
* changed to callsign completer (combobox too long)
* allow to display own parts
2020-06-12 18:42:49 +01:00
Klaus Basan
70c88f0982 [UI] Make completer length font size relative 2020-06-12 18:42:48 +01:00
Klaus Basan
668659248e Send distance if own aircraft has been moved 2020-06-12 18:42:48 +01:00
Klaus Basan
8278a7d5e6 [P3D] Adjustments for P3D v5
* guess version
* added new version selection
2020-06-12 18:42:48 +01:00
Klaus Basan
df69ef47a0 [UI] Default sizes for dock widgets plus some smaller fixes:
* renamings
* reset all to defaults
* sizes
2020-06-12 18:42:48 +01:00
Klaus Basan
0d66a995ce Context menus to temp.disable parts (for single aircraft) and "0" zero pitch 2020-06-12 18:42:48 +01:00
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