Commit Graph

8948 Commits

Author SHA1 Message Date
Klaus Basan
550b695350 [icons] Ref T763, Leipzig Air icons 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
091fa5f338 [Audio] Get/set audio device volume (this is the device's value, NOT the logical AFV value) 2020-01-07 19:57:23 +00:00
Klaus Basan
fc9bb1277d [PQ] implemented "comparePropertyByIndex" for CAltitude for correct sorting
Bug report: https://discordapp.com/channels/539048679160676382/594962359441948682/651162172717662239
2020-01-07 19:57:22 +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
386a0ccd5d [XPlane] Model set must not contain ACF models
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Klaus Basan
b9ea40e8d1 [FSD] wallop message sending incomplete fixed 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
Klaus Basan
ef4640e66f [Hotkey] Style 2020-01-07 19:57:21 +00:00
Klaus Basan
9dbb441e44 [FSD] Send auth(entication) messages as direct messages 2020-01-07 19:57:21 +00:00
Klaus Basan
7c7ed41f05 Improved log.message if model file is NOT available 2020-01-07 19:57:21 +00:00
Klaus Basan
c104e2105c [FSD] FSD range can be disabled and range restriction only for VATSIM
Rational FSC eV does not want restriction
2020-01-07 19:57:21 +00:00
Klaus Basan
42648f0c12 [FSD] Slightly adjusted sending of queued FSD messages 2020-01-07 19:57:21 +00:00
Klaus Basan
c2d2d05566 Log.message 2020-01-07 19:57:21 +00:00
Mat Sutcliffe
555e6b2cde [radar] Ensure the target's heading indicator is not a child of an item that ignores transformations 2020-01-07 19:57:21 +00:00
Klaus Basan
9aca949aea No notifications for own send messages 2020-01-07 19:57:21 +00:00
Klaus Basan
64b17b787c Ref T761, relay original sender AND recipient
* display sent messages of partner callsing as send by myself
* allow PMs from partner as normal PMs
2020-01-07 19:57:21 +00:00
Klaus Basan
a54f804cf1 Ref T761, display partner callsign in adv.login screen
* added context functions
* UI readonly fields
2020-01-07 19:57:21 +00:00
Klaus Basan
172fa1ddc8 Fix linker error with newer gcc versions 2020-01-07 19:57:21 +00:00
Klaus Basan
4e2a47fc41 Ref T761, use "preset" callsign if available
Avoids issue with partner callsign
2020-01-07 19:57:20 +00:00
Klaus Basan
36d77b7785 Ref T761, avoid to override aircraft callsign from the (standard) login component
* set input field to callsign if network is connected
* this sets the callsign of the adv. login component in case it was used
2020-01-07 19:57:20 +00:00
Klaus Basan
f07ca09424 Ref T761, partner callsign message relay (swift with co-pilot)
* handle server error messages correctly as "error"
* (relayed) sender can be ATC or aircraft
* relay private messages correctly
2020-01-07 19:57:20 +00:00
Klaus Basan
22d8b52fe8 [FS9] Minor style fixes 2020-01-07 19:57:20 +00:00
Klaus Basan
34f9fb89d6 [FSD] Start FSD client in own thread (CContinuousWorker) 2020-01-07 19:57:20 +00:00
Klaus Basan
4ef17fed6a [FSD] Threaded (worker) FSD client, based on CContinuousWorker
* locks
* call functions in own thread
2020-01-07 19:57:20 +00:00
Klaus Basan
f620147fe6 [FSD] Thread utility function to "call function in its own thread" 2020-01-07 19:57:20 +00:00
Klaus Basan
928a76a042 Minor tweaks for METAR info 2020-01-07 19:57:20 +00:00
Klaus Basan
0876379729 [FSD] Style 2020-01-07 19:57:20 +00:00
Klaus Basan
efee7968dc [AFV] Using the aliased frequencies can be enabled/disabled
* flag
* "dot command"
* register audio "dot commands" for audio
2020-01-07 19:57:20 +00:00
Klaus Basan
84cfec81e7 Register "dot commands" for help (CCommandInput) 2020-01-07 19:57:20 +00:00
Klaus Basan
72334af1e8 [Notification] Make sure no sound is stopped in QTimer::singleShot which is no longer playing 2020-01-07 19:57:20 +00:00
Klaus Basan
3a4f114308 [FSD] In order to get the UNIT tests working, we need to call the "FSD direct message" send function
* added sendDirectMessage and renamed other function to sendQueudedMessage
* UNIT tests call "direct message" sending
* minor style changes
2020-01-07 19:57:20 +00:00
Klaus Basan
f6f719a67e [FSD] "dot" command to restrict max. range for FSD positions
Allows to limit the range in which we handle FSD positions
(This also means FSD planes range)
2020-01-07 19:57:19 +00:00
Klaus Basan
2adf169a0e [FSD] Do not send all FSD messages at once, but equally distributed one-by-one
Rational: The idea is to distribute the messages, so we also get equally distributed responses
2020-01-07 19:57:19 +00:00
Klaus Basan
02e1427210 [FSD] Preparations of FSD send message for queued messages
* messageToFSDString function
* sendMessageString in FSDClient to send the message itself
2020-01-07 19:57:19 +00:00
Klaus Basan
f38bfc5cf9 [FSD] Style 2020-01-07 19:57:19 +00:00
Klaus Basan
59c6a7ad93 [FSD] Avoid that all matchings are triggered "at the same time"
* the signal from CAirspaceMonitor is connected internally
* this signal is closely related to receive the FSD ICAO data
* and then it is emitted from the context again but staggered
2020-01-07 19:57:19 +00:00
Klaus Basan
0fd1e34d03 [FSD] Verify we really have FSD ICAO data
Problem: Sometime there are aircraft without ICAO daza

* check that we really have received ICAO data
* if not, query data again
* if nothing helps, use data as best guessed (by flightplan data)
2020-01-07 19:57:19 +00:00
Klaus Basan
e9f8be013c [FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display) 2020-01-07 19:57:19 +00:00
Klaus Basan
ff2ab95367 Style 2020-01-07 19:57:19 +00:00
Klaus Basan
5bd64b1a2f [FSD] Made those send functions "real" private which are only used with the UNIT test 2020-01-07 19:57:19 +00:00
Klaus Basan
8c8073ca0e [FSD] Correctly named ProController (message type) 2020-01-07 19:57:19 +00:00
Klaus Basan
14192585e2 [FSD] Correctly set queried frequency 2020-01-07 19:57:19 +00:00
Klaus Basan
325c869413 [FSD] Style 2020-01-07 19:57:18 +00:00