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
Klaus Basan
be58262f0f
Ref T199, do not display 0 timestamp and re-display timestamp after copy
2018-01-14 18:47:41 +01:00
Klaus Basan
eac422f853
Ref T199, bootstrap (aka setup) cache explicitly initialized
...
* initMultiSimulatorCache
* initCaches detecting bootstrap and init via high level functions
2018-01-14 18:47:39 +01:00
Klaus Basan
312d01d35b
Ref T199, also cache files can be loaded
...
* unwrap cache JSON object
* parameter to control if cache format is allowed
2018-01-14 18:47:37 +01:00
Klaus Basan
922f12f141
Ref T199, sync. caches of setup reader
2018-01-14 18:47:35 +01:00
Klaus Basan
6785529916
Stylesheet adjustments
2018-01-14 18:47:33 +01:00
Klaus Basan
3e1573e6b4
Ref T199, improved copy dialog
...
* filter disabling or hiding can be toggled
* bootstrap file can be shown/hidden
* fixed naming typo "setCacheMode"
2018-01-14 18:47:30 +01:00
Klaus Basan
826760e347
Bootstrap file name encapsulated
2018-01-14 18:47:28 +01:00
Klaus Basan
7dd77b8ca3
Ref T220, use improved version of screen geometry detection
...
* use cmd.line argument to skip restoring if needed
* close splash screen as last
* log metrics info
2018-01-14 18:47:26 +01:00
Klaus Basan
350a75d672
Formatting
2018-01-14 18:47:24 +01:00
Klaus Basan
8e130aa895
Ref T220, cmd.line option for window resizing
2018-01-14 18:47:22 +01:00
Klaus Basan
ef25192424
Ref T220, register main widget
2018-01-14 18:47:20 +01:00
Klaus Basan
89bd648021
Ref T220, some changes in gui utility
...
* use qreal font metrics
* pixel ratio
2018-01-14 18:47:17 +01:00
Klaus Basan
604c3eb088
Added unit test based on discussion here
...
https://swift-project.slack.com/archives/G7GD2UP9C/p1515602377000431
2018-01-14 18:47:15 +01:00
Klaus Basan
48a85f80a8
Ref T220, min. height for Login Network component
2018-01-14 18:47:10 +01:00
Klaus Basan
e1d044521e
Ref T220, save/store main window geometry/state
2018-01-14 18:47:08 +01:00
Klaus Basan
4c39b8923e
Ref T220, set application name earlier and use member to get application name
2018-01-14 18:47:06 +01:00
Klaus Basan
b74652c94a
Ref T220, renamed some main window / widget functions
...
Make clearer if dealing with a window or widget
2018-01-14 18:47:03 +01:00
Klaus Basan
d3480c41b3
Ref T220, fixed font settings so correct font is displayed
...
Remark: The qss based font info is not available at ctor call time, but only if everything is initialized
2018-01-14 18:47:01 +01:00
Klaus Basan
407c4f8414
Ref T220, font metric support
...
* signal if font changed
* character based size can be set
2018-01-14 18:46:59 +01:00
Klaus Basan
4733d91b4e
Ref T220, UI min size adjustment as requested
...
https://swift-project.slack.com/archives/G7GD2UP9C/p1515417903000311
2018-01-14 18:46:57 +01:00
Klaus Basan
3c91164020
Timer member instead of pointer
2018-01-14 18:46:54 +01:00
Klaus Basan
8885a938b6
Ref T220, font metric utility functions
...
Allows to obtain sizes based on number of characters
2018-01-14 18:46:52 +01:00
Klaus Basan
a4695b4c0a
Ref T220, style sheet comments, minor adjustments
2018-01-14 18:46:50 +01:00
Klaus Basan
3fb0685d53
Minor tweaks, formatting
2018-01-14 18:46:47 +01:00
Klaus Basan
1cc3ae09c6
Ref T219, finetuning login component as discussed
...
https://swift-project.slack.com/archives/G7GD2UP9C/p1515341712000143
2018-01-14 18:46:45 +01:00
Klaus Basan
5ecf4bdedd
Tab order
2018-01-14 18:46:43 +01:00
Klaus Basan
638c8bcf83
Ref T219, fixed missing include in web data services
2018-01-14 18:46:41 +01:00
Klaus Basan
68b01077ba
Some dock widget formatting and ESC key can dock ("unfloat") widget
2018-01-14 18:46:38 +01:00
Klaus Basan
3dc1c69653
Ref T219, some FP renamings and fix to set prefix/postfix in FP value object
2018-01-14 18:46:36 +01:00
Klaus Basan
c2c6ea3ca4
Ref T219, changed login component so VATSIM and other server data can use values from pilot form
...
* also "other servers" can have homebase
* use pilot form
2018-01-14 18:46:34 +01:00
Klaus Basan
4567138e36
Ref T219, pilot name form
...
(used to override server credentials for VATSIM/other servers)
2018-01-14 18:46:32 +01:00
Klaus Basan
66560e4098
Ref T219, message frame UI style
2018-01-14 18:46:30 +01:00
Klaus Basan
6d2cc0a182
Ref T219, server list selector signal (changed server)
2018-01-14 18:46:28 +01:00
Klaus Basan
9822c86bdd
Ref T219, minor serverform UI adjustments
2018-01-14 18:46:25 +01:00
Klaus Basan
4b73c2f936
Ref T219, FSD setup form adjustments / renamings
2018-01-14 18:46:23 +01:00
Klaus Basan
728b3c0473
Formatting
2018-01-14 18:46:21 +01:00
Klaus Basan
9f79923848
Ref T219, removed unused signal webServiceDataRead
...
Remark: Can be directly used from web data services
2018-01-14 18:46:19 +01:00