Commit Graph

5479 Commits

Author SHA1 Message Date
Klaus Basan
467f8cbac9 Ref T229, fixed problems in FSX driver
* use correct status (the problem was that even not interpolated situations can be valid)
* track last position (SimObject), do not resend same position
2018-01-30 20:29:53 +01:00
Klaus Basan
2fbc7acc7d Ref T229, track sent position in SimObject 2018-01-30 20:29:51 +01:00
Klaus Basan
0991f20f7d Ref T229, adjusted renamings because of CInterpolationStatus changes 2018-01-30 20:29:48 +01:00
Klaus Basan
75c2eec3d1 Ref T229, adjusted CInterpolationStatus
* The `changed`flag in interpolation was faulty.
* It was able to determine if the value was really changed by interpolation, which was the same as indicating that the value was interpolated.
* But there were cases, when the value was interpolated and not changed.
* Also there were cases when the value was changed, but not interpolated.
2018-01-30 20:29:46 +01:00
Klaus Basan
67426b755f Ref T229, FSX/P3D character encoding
* we have to use an encoding function for FSX/P3D string
* encapsulated, so we can later can/improve it
2018-01-30 20:29:43 +01:00
Klaus Basan
7322c14d64 Ref T225, utility function, messages can be directly shown as overlay 2018-01-30 20:29:41 +01:00
Klaus Basan
eaf0095454 Ref T225, force stylesheet in CForm base class and used by all forms
* Allows to use stylesheet attributes like [readonly]
* changing to "readonly" applies correct stylesheet
2018-01-30 20:29:38 +01:00
Klaus Basan
0916c90038 Ref T225, use coordinate dialog in weather component
Remark: There was a redundant, also unfinished code in weather UI component for coordinate entry. This is now encapsulated in coordinate form/dialog.
2018-01-30 20:29:36 +01:00
Klaus Basan
a764ea7534 Ref T225, coordinate dialog 2018-01-30 20:29:34 +01:00
Klaus Basan
fc84bf6579 Ref T225, some coordinate form improvements and renamings 2018-01-30 20:29:32 +01:00
Klaus Basan
8e2a1b1b6f Ref T225, utility function to force stylesheet update
* Needed when setting UI element to readonly, and stylesheet is different for readonly
* see https://stackoverflow.com/q/48141205/356726
2018-01-30 20:29:29 +01:00
Klaus Basan
1948d067e4 Ref T225, set height to NULL 2018-01-30 20:29:27 +01:00
Klaus Basan
b574ede2e2 Some minor UI improvements
* buttons right aligned
* min-height in qss
* removed "public slots" where not needed
* QMessageBox when changing widget style (because it is so slow)
2018-01-30 20:29:24 +01:00
Klaus Basan
8273a9881f Ref T228, when using dialog, the dialog class will handle all saving.
Therefor "this->saveSettingsOnShutdown(false)"
2018-01-30 20:29:22 +01:00
Klaus Basan
ee8ea8e599 Ref T228, some renamings 2018-01-30 20:29:20 +01:00
Klaus Basan
558f3c3e56 Ref T228, key needs to be added, not description 2018-01-30 20:29:18 +01:00
Klaus Basan
ceedfdcc58 Minor UI adjustments 2018-01-30 20:29:10 +01:00
Roland Winklmeier
4baba3ffbe Fix repository.callsign in .arcconfig
Summary:
The callsign had a leading 'r' which doesn't belong to the callsign itself.
This prevented arc to properly identify the destination repository.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D72
2018-01-29 12:17:24 +01:00
Roland Winklmeier
2bb3bb3cf8 Ignore yet another FSinn P2P packet 2018-01-29 12:17:24 +01:00
Roland Winklmeier
7c903001d5 Raw FSD message component and dialog
Maniphest Tasks: T222
2018-01-29 12:17:24 +01:00
Roland Winklmeier
704068d299 Add methods to receive and write raw FSD messages
This commit adds methods to register for live FSD message reception. The
amount of traffic can be quite high, therefore no normal signal is used -
which would be available via DBus. Instead one has to connect manually
by passing a functor. This guarantees that we communicate only in-process.
If someone tries to connect on the proxy side, the connection will fail.
This needs to be handled properly in client code.
This commit also adds a method to write the FSD message to a selected file.

Maniphest Tasks: T222
2018-01-26 12:40:36 +01:00
Roland Winklmeier
7b9ad0ea07 Add CRawFsdMessage
Maniphest Tasks: T222
2018-01-22 14:23:23 +01:00
Roland Winklmeier
2b2813af20 Send correct SimType to FSD server depending which plugin is loaded 2018-01-22 14:08:32 +01:00
Roland Winklmeier
7edcc02f15 Return the plugin info of the emulated simulator rather than emulated itself 2018-01-22 14:07:02 +01:00
Roland Winklmeier
656805c485 Fix typo 2018-01-17 14:27:24 +01:00
Roland Winklmeier
d046738574 Convert private slots to private 2018-01-17 14:27:24 +01:00
Roland Winklmeier
fe8c0026e0 Create symbols also on Linux platform 2018-01-17 14:24:39 +01:00
Klaus Basan
42e5b06926 Ref T172, disabled x-dependency between type and eco system
This makes it impossible to set some combinations
2018-01-17 05:02:09 +01:00
Klaus Basan
c42b325d54 Watchdog allows to obtain info string about the statistics 2018-01-17 05:00:09 +01:00
Klaus Basan
95e28b0f89 Status bar can elide messages 2018-01-17 03:33:45 +01:00
Klaus Basan
519fce5a7a Ref T219, override pilot if valid / not only if having credentials
Remark: Also overrides if there is no password
2018-01-17 03:33:43 +01:00
Klaus Basan
3375ca1b25 Ref T219, renaming buttons/function to "override" 2018-01-17 03:33:41 +01:00
Klaus Basan
18c7d7cf59 Use overlay messages for validation 2018-01-17 03:33:39 +01:00
Klaus Basan
977130ce52 Overlay messages
* setReducedInfo, no timestamp/category
* color as parameter for shadow
2018-01-17 03:33:37 +01:00
Klaus Basan
fff9585c5d Minor UI adjustments 2018-01-17 03:33:35 +01:00
Klaus Basan
2026491d9a Ref T213, DSGVO 2018-01-15 23:00:59 +01:00
Klaus Basan
f17e57bd51 Minor style fixes 2018-01-15 23:00:56 +01:00
Klaus Basan
f049900e1f Ref T223, use const values for standard pressure
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Klaus Basan
56adde399e Entry check 2018-01-15 22:50:37 +01:00
Klaus Basan
632e0207ce Ref T224, improved check of DB data availability in swift GUI
* some renamings
* check for empty caches as well
* using fixed timestamp checks
* display info about loading objects
2018-01-15 22:50:35 +01:00
Klaus Basan
d2389c15cc Ref T224, allow to check for empty caches 2018-01-15 22:50:33 +01:00
Klaus Basan
2a2a5e1349 Ref T224, info object reader fixes
* caches need to be obtained from the respective readers
* BLACK_VERIFY to detect problems
* fixed masking which was wrong (did mask by info object)
2018-01-15 22:50:30 +01:00
Klaus Basan
0fa4bf1e9d Ref T207, workaround for Q_ASSERT issue described in T207 2018-01-15 22:50:28 +01:00
Klaus Basan
8bb47a555c Formatting comments and "private slots" -> "private" 2018-01-15 22:50:26 +01:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Roland Winklmeier
51a90a9a71 Differentiate between true and pressure altitude
Altitude can have different meanings in aviation. So far all our
altitudes were true altitudes. But now we also require pressure altitude
including a conversion method between the two.

Maniphest Tasks: T223
2018-01-15 22:43:08 +01:00
Klaus Basan
718d5abf90 Ref T219, unified selector namings and keep editable even without DB completer data.
Also "private slots" -> "private"
2018-01-14 18:47:50 +01:00
Klaus Basan
1b1c4e588c Ref T199, do not use hardcoded names of file names 2018-01-14 18:47:48 +01:00
Klaus Basan
f0d2336eb6 Ref T199, all file names of multi simulator caches 2018-01-14 18:47:46 +01:00
Klaus Basan
47778acf81 Ref T199, utility file functions 2018-01-14 18:47:44 +01:00