Roland Winklmeier
1addcf631a
Refactor the remote hotkeys to avoid round trips
...
The previous implementation was hard to follow and maintain. Instead of
doing intentional rounds trips, we use now a two way approach. GUI is
automatically forwarding remote actions by calling "callHotkeyActionRemotely"
through DBus. Core on the other hand, emits a signal "remoteHotkeyAction"
that is processed in a different function in GUI.
On both sides, actions from the same local machine are filtered.
ref T402
2018-11-04 17:42:42 +01:00
Roland Winklmeier
9bb75a6f2e
Rotate camera in follow plane view only if space key is pressed
...
This commits merges the two orbit plane functions together in CTraffic.
The separation was necessary since XSwiftBus needed to be started manually
and until started, the pointer to CTraffic was invalid. Since XSwiftBus
is started automatically, it can be merged into one function again.
This commit also adds the feature to rotate the camera only if the space key
is pressed. This is equal to how FSX/P3D do it. Using the right mouse was
not possible, since X-Plane SDK does not offer that option.
ref T360
2018-11-04 17:42:42 +01:00
Mat Sutcliffe
46def05670
Ref T405 Guard against recursive locks on CWorkerBase::m_finishedMutex.
2018-11-04 17:42:42 +01:00
Klaus Basan
9dc154fe72
Adjusted wizard
...
* always start with 1st page (legal)
* select XSwiftBus copy page as default.
2018-11-04 17:42:42 +01:00
Klaus Basan
e9386f676a
Fixed issue seen in crash report
2018-11-04 17:42:42 +01:00
Klaus Basan
f4822b69dd
Allow to save "selected objects" only as JSON
2018-11-04 17:42:42 +01:00
Klaus Basan
6d696cfd91
UI fixes
2018-11-04 17:42:42 +01:00
Roland Winklmeier
5ee8bbe467
Properly initialize and cleanup DirectInput
...
ref T391
2018-11-04 17:42:42 +01:00
Roland Winklmeier
4b3d3bba48
Destroy DirectInput helper window during shutdown
2018-11-04 17:42:42 +01:00
Roland Winklmeier
294b854ed8
Adjust to the VATSIM policy to skip the last 5 kHz in 25 kHz spacing
...
When receiving a radio message, round to the closest frequency.
When sending them, remove the last 5 kHz if existing.
ref T399
2018-11-04 17:42:42 +01:00
Klaus Basan
fbfa014fff
Login component style
2018-11-04 17:42:42 +01:00
Klaus Basan
4123101e34
Use Qt::QueuedConnection for UI
2018-11-04 17:42:42 +01:00
Roland Winklmeier
f6ea2a9107
Move CInputManager from singleton to CApplication member
...
The main reason why CInputManager was singleton is the easy access across
the code. That had the negative side effect that time of destruction was
at a very late stage of the shutdown and could not be controlled by us.
My moving it to CApplication, the access is equally easy (using sApp) and
allows to be cleaned up properly during graceful shutdown.
ref T391
2018-11-04 17:42:42 +01:00
Klaus Basan
705a56b1cb
Ref T401, adjusted settings used in components
2018-11-04 17:42:42 +01:00
Klaus Basan
bcc2f557a1
Application info style
2018-11-04 17:42:41 +01:00
Klaus Basan
895bb6b58f
Ref T401, info and setting object for crash dumps
2018-11-04 17:42:41 +01:00
Klaus Basan
5e070f1f8c
Crash dump related, check getMappingComponent
2018-11-04 17:42:41 +01:00
Klaus Basan
1fbe914cdc
Ref T367, Ref T400 global setup loading dialog adjustments
...
* little delay before retry is triggered
* check for sGui
2018-11-04 17:42:41 +01:00
Klaus Basan
47b12b66cf
Ref T367, Ref T400 setup reader improvements
...
- guards for Qtimer::singleShot
- check empty URLs
- only skip reading if already loaded from web
2018-11-04 17:42:41 +01:00
Klaus Basan
fe99eb261b
Ref T367, Ref T400 signal and read handling
...
* connect this->setupHandlingCompleted directly with reader + renaming
* do not waitForSetup if request already failed
2018-11-04 17:42:41 +01:00
Klaus Basan
9dfc3808c1
Ref T367, Ref T400 global setup flags for web and file reading
2018-11-04 17:42:41 +01:00
Klaus Basan
ffc903de34
Ref T367, Ref T400 style
2018-11-04 17:42:41 +01:00
Klaus Basan
c781da60d2
Ref T346, fixed typo
2018-11-04 17:42:41 +01:00
Klaus Basan
fd9744c73d
Ref T397, using receivedPositionFixTsAndGetOffsetTime for normal and interim positions
2018-11-04 17:42:41 +01:00
Klaus Basan
b476da6640
Ref T397, further checks
2018-11-04 17:42:41 +01:00
Klaus Basan
9dd06c4c84
Ref T397, fixed "disable" for fast positions
2018-11-04 17:42:41 +01:00
Klaus Basan
00d859d5b3
Ref T297, style and remarks for T297
2018-11-04 17:42:41 +01:00
Klaus Basan
5d4bab4be0
Allow to disable size grip
2018-11-04 17:42:41 +01:00
Klaus Basan
d7de7785af
Ref T398, style
2018-11-04 17:42:41 +01:00
Klaus Basan
dec0b12ea2
Ref T397, checks on vector to find root cause NaN/inf issue
...
* sometimes very large numbers (xxE38) in vector
* sometimes vectors which look correct, but exceed [-1,1]
2018-11-04 17:42:40 +01:00
Klaus Basan
4038729e82
UI adjustment to find root cause for crash dump 127
2018-11-04 17:42:32 +01:00
Klaus Basan
80f2dec764
Smaller UI adjustments
2018-10-08 22:30:25 +02:00
Roland Winklmeier
773a5191a3
Delay the start of XSwiftBus
...
Starting XSwiftBus in CPlugin constructor called methods that are not
supported during XPluginEnable. Therefore delay the start until X-Plane
is fully loaded.
2018-10-08 22:16:08 +02:00
Roland Winklmeier
c683d59994
Correct Longitude column index in CAirportListModel
2018-10-08 22:12:33 +02:00
Klaus Basan
00868c8147
Ref T391, temp. workaround to avoid shutdown crash
2018-10-07 18:58:00 +02:00
Klaus Basan
24ee4da4f9
Ref T391, style
2018-10-07 18:56:53 +02:00
Roland Winklmeier
f90ad72d9e
CJoystickButton fixes
2018-10-07 16:17:28 +02:00
Roland Winklmeier
832082c5bc
Delay creating input devices to when required
...
Every first call to CInputManager::instance() was automatically creating
the low level input devices. This was not always desired and therefore
creation is now explicit via function.
Unit tests do not need the devices created. In contrast, Windows unit tests
failed since Windows didn't like the Jenkins service childs to allocate
DInput devices.
T391
2018-10-07 16:17:28 +02:00
Klaus Basan
81bbcc56cd
Ref T390, Ref T372, extended check for coordinate issue
...
See https://swift-project.slack.com/archives/G7GD2UP9C/p1538849878000100
2018-10-07 16:17:28 +02:00
Klaus Basan
1382da29c5
Make sure simulator is P3D or FSX for terrain probe copy
2018-10-07 16:17:27 +02:00
Klaus Basan
b22ffae2fb
Ref T385, not all "_OBS" observers are ATC, they can be copilots too
2018-10-07 16:17:27 +02:00
Klaus Basan
e6ae28b17d
Ref T385, allow to filter "by voiceroom"/"by frequency" so co-pilot (OBS login) can be shown
2018-10-07 16:17:27 +02:00
Klaus Basan
f0297297c0
Wizard, copy settings and caches in scrollable container
2018-10-07 16:17:27 +02:00
Klaus Basan
197b0fb53f
Button padding
2018-10-07 16:17:27 +02:00
Klaus Basan
abe363494b
Ref T385, added propertyBy functions for airport ICAO + style
2018-10-07 16:17:27 +02:00
Klaus Basan
1280359fe1
Style
2018-10-07 16:17:27 +02:00
Klaus Basan
56f2b48c47
Launcher style/minor UI adjustments
2018-10-07 16:17:27 +02:00
Klaus Basan
b5bfe301d2
Misc. wizard UI adjustments
...
- toolbox layout for terrain probe/XSwiftBus
- load overview URLs in table
- size adjustments
2018-10-07 16:17:27 +02:00
Klaus Basan
037708e4fa
Ref T384, icon for overlay text message in cockpit message
2018-10-07 16:17:26 +02:00
Klaus Basan
3a1a1aaf02
Finished messages for wizard copying component
2018-10-07 16:17:26 +02:00