Mat Sutcliffe
bd9948bbff
Ref T486 Using QMetaObject::invokeMethod with pointer-to-member-function (or functor).
2019-02-22 20:34:53 +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
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ca813a1814
Fixed clazy warning: missing emit keyword.
2019-02-22 20:23:42 +00:00
Mat Sutcliffe
8979b5257e
Fixed clazy warnings: returning void expression.
2019-02-22 20:23:34 +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
Roland Rossgotterer
060c3ee492
Remove the warning about conflicting X-Plane plugins
...
This warning got superseded by the return value from CTraffic::acquireMultiplayerPlanes. All plugins can live side by side as long as nobody else has multiplayer planes acquired. If so, we warn the user directly and tell him the plugin name.
2018-11-29 20:54:26 +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
756ee18410
Ref T379, to improve reset models added "setAircraftEnabledFlag" to just set the flag, not sending signals causing removed aircraft
2018-10-05 17:39:57 +02:00
Klaus Basan
5c165c4fe7
Ref T373, style
2018-09-25 03:47:46 +02:00
Klaus Basan
84970760c1
Ref T373, removed unused function
2018-09-25 03:19:28 +02:00
Klaus Basan
a871579479
Ref T370, added public removeAllRemoteAircraft
...
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +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
51973cd2b9
Ref T348, remove from matcher if model failed
2018-09-20 00:47:22 +02:00
Klaus Basan
ae60cf560d
Ref T361, better guards for plugin and sGui
...
No need to create an assert if plugin is not avilable, though the plugin info should be "Unspecified" in that case
2018-09-18 19:23:13 +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
89411d783b
Only check listener before starting
2018-09-17 18:28:27 +02:00
Klaus Basan
ba7906b0a6
Ref T348, if plugin is unloaded, also fire "simulator disconnected". Also change to Qt::QueuedConnection.
...
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:13 +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
640e6ab055
Ref T335, reset to model matching aircraft enables again
2018-09-12 17:40:55 +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
d7b1ed8d31
Hint for simulator if network is connected (slightly related T307)
2018-08-19 14:31:56 +02:00
Klaus Basan
cbb0805c7e
Style
2018-08-19 14:31:47 +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
8f9cc645e9
Ref T298, matching setup changed signal in contexts/matcher
2018-08-09 01:39:27 +02:00
Klaus Basan
6548c71521
Synchronize model set in simulator context and improved setting of model set in matcher (ignored when same simulator)
2018-08-09 01:39:19 +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
a6ee6d4b72
Ref T292, Ref T285 minor style improvements, renamings
2018-07-26 04:32:38 +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
ac406d43f6
Ref T286, renaming / adding utility functions in simulator info
2018-07-09 22:30:24 +02:00
Klaus Basan
ca87784509
Ref T275, remember CG per model string
2018-07-09 22:30:22 +02:00
Klaus Basan
eaa40e8289
Per default enable matching log
2018-06-27 12:49:16 +02:00
Klaus Basan
69193f089a
Minor tweaks, style
2018-06-25 02:04:35 +02:00
Klaus Basan
d3796fc65a
Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign"
2018-06-20 00:58:47 +02:00
Klaus Basan
73ea22530c
Ref T275, override simulator setup provider functions to emit signals
...
* the provider itself is no QObject and cannot emit signals
* removed redundant function setInterpolationAndRenderingSetup
2018-06-20 00:58:41 +02:00
Klaus Basan
7bee8e9ee8
Formatting
2018-06-01 01:30:42 +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