Commit Graph

78 Commits

Author SHA1 Message Date
Klaus Basan
2dd396c0df Ref T515, renaming to "isKnownModelInSet" 2019-02-22 20:35:40 +00:00
Klaus Basan
faddf40ba7 Ref T515, functions for matcher setting/getting disabled models 2019-02-22 20:35:38 +00:00
Klaus Basan
cea6611656 Ref T515, added background validation in simulator context
* added signals
* added validator
2019-02-22 20:35:37 +00:00
Klaus Basan
25df1921eb Style 2019-02-22 20:35:33 +00:00
Klaus Basan
0970dbdcfc Ref T451, disable model (in model set) functions for context 2019-02-22 20:24:05 +00:00
Mat Sutcliffe
4344ca1a77 Suppressed clazy false positives: method potentially mismarked as slot. 2019-02-22 20:23:39 +00:00
Klaus Basan
c591728e88 Aircraft ICAO code of own model is wrong
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong

Issues found

* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Klaus Basan
a6b7b10651 Ref T420, signal when simulator no longer is vital 2018-11-16 02:49:56 +01:00
Klaus Basan
8cf7f676fa Ref T423, function to recalculate all aircraft (used when aircraft is moved or such) 2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1 Detect emulated driver before casting to avoid crashs 2018-11-16 02:49:51 +01:00
Klaus Basan
03691b4700 Ref T421, function to get interpolation messages from the simulator context 2018-11-04 17:42:47 +01:00
Klaus Basan
84970760c1 Ref T373, removed unused function 2018-09-25 03:19:28 +02:00
Klaus Basan
527f666d1f Ref T370, remove models from FSX/P3D
* clearAllRemoteAircraftData also removes aircraft (from simulator)
* debugVerifyStateAfterAllAircraftRemoved only makes sense if removing aircraft and then emit the messages
2018-09-23 20:12:32 +02:00
Klaus Basan
57178c75f9 Ref T357, function to copy FSX terrain probe, also in context for remote UI 2018-09-17 18:28:40 +02:00
Klaus Basan
c12e1585fd Allow to save interpolation/rendering setup
- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
2018-09-17 18:28:33 +02:00
Klaus Basan
6f6ec17c3d Ref T335, adjusted consuming "slots" to use disabled flag if adding failed 2018-09-12 20:30:07 +02:00
Klaus Basan
e1ffa49268 Check for known model so mapping component can check without loaded model set 2018-09-12 17:40:45 +02:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
0b0a7783a0 Ref T312, added check listener function in contexts 2018-08-27 18:58:22 +02:00
Klaus Basan
cb351aca1a Ref T298, improved/fixed re-matching (match all aircraft again)
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +02:00
Klaus Basan
baea17c0f1 Ref T298, matching messages can be deleted 2018-08-16 14:34:02 +02:00
Klaus Basan
92880bce7f DBus test (GUI + core) fixes
* removed unused signals
* marked relayParentSignals as deprecated, currently not used
2018-08-09 01:41:23 +02:00
Klaus Basan
5b44f55435 Ref T298, prepared function to "redo" a mapping 2018-08-09 01:39:30 +02:00
Klaus Basan
d78a7e639a Improved default for matching messages based on model set size 2018-08-09 01:25:34 +02:00
Klaus Basan
d310c9c843 Ref T298, model matching settings trait and used settings in simulator context 2018-08-09 01:25:28 +02:00
Klaus Basan
0b952e7336 Ref T298, get/set matching setup in context plus some minor style fixes 2018-08-09 01:25:24 +02:00
Klaus Basan
08113e8c1d Ref T298, adjusting used aircraft matcher (using setup) 2018-08-07 20:40:29 +02:00
Klaus Basan
4ded1636a5 Ref T292, Ref T285 replaced model set loader in context 2018-07-25 02:37:08 +02:00
Klaus Basan
d3796fc65a Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign" 2018-06-20 00:58:47 +02:00
Klaus Basan
e3465f432c Ref T261, Ref T251 gnd flag support in context/client provider
* allow to set gnd.flag capability via context/client
* utility functions in client provider
2018-05-22 13:20:06 +02:00
Klaus Basan
89c16bad7f Ref T270, use QPointer with simulator map in context. The advantage is, that we can also detect if the simulator is deleted elsewhere. 2018-05-22 13:20:03 +02:00
Klaus Basan
afe4a09218 Formatting 2018-05-18 00:25:10 +02:00
Klaus Basan
9c33c5d9fc Ref T245, Ref T261, added functions for "follow plane", "setup changed" signal in context and simulator interface 2018-05-18 00:25:01 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
eb0fa92e7e Ref T260, function to add an offset to received situations for testing
* "dot" command
* context function
* provider functions
2018-05-08 16:06:40 +02:00
Klaus Basan
e97de13545 Ref T260, adjusted context/remote provider
* signal from simulator -> context
* return number of updated situations
2018-05-08 16:06:38 +02:00
Klaus Basan
3b9a732fff Ref T259, Ref T243 relay interpolation setup via context (DBus) 2018-04-13 23:36:43 +02:00
Klaus Basan
d7ac721d09 Ref T259, Ref T243 setSimulationEnvironmentProvider when simulator changes 2018-04-05 02:54:36 +02:00
Klaus Basan
8021cf76fd Ref T259, Ref T243 formatting 2018-04-05 02:54:30 +02:00
Klaus Basan
3e41a91455 Ref T131, verifyPrerequisites in simulator context (checking XP conflicts) 2018-04-05 02:53:40 +02:00
Klaus Basan
8dc25fbad7 Allow to alter model set simulator in pilot client
* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
2018-02-13 03:57:46 +01:00
Klaus Basan
d118ea402f Ref T232 clear remote aircraft data once network disconnects
* blackconfig in .pro
* verify function to detect dangling states
* clear remote data when disconnected from network
* there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network
* it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
2018-01-30 20:31:11 +01:00
Klaus Basan
c1ee159ff9 Ref T232, some formatting
* made "private slots" -> "slots"
* cross context slots marked with "xCtx" prefix
2018-01-30 20:30:14 +01:00
Klaus Basan
89db83f3c7 Ref T182, use enum instead of int in ps_networkConnectionStatusChanged 2017-11-09 04:42:15 +01:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
482023b2c0 Ref T180, dot commands to set rendering setup
* enable parts/debug messages via dot command
* allow to log to console via application context
2017-11-06 22:20:59 +01:00
Klaus Basan
71fa0fc7b8 Ref T111, handle SELCAL in simulator context (fix, was missing so far) 2017-09-24 19:51:59 +01:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Klaus Basan
654c35f666 Ref T111, use Q_DECLARE_FLAGS SimulatorStatus instead of int
* changed emitSimulatorCombinedStatu
* changed connected slots/functions
2017-09-24 19:51:10 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00