Commit Graph

6459 Commits

Author SHA1 Message Date
Klaus Basan
efbd24e10e Model reader refactorings 2018-07-26 22:32:10 +02:00
Klaus Basan
1fd7ad6891 Ref T292, Ref T285 background updater improvements
* less cycles
* message history
* more detailed status messages
2018-07-26 21:43:51 +02:00
Klaus Basan
5a51d06e33 SingleShot guarding 2018-07-26 21:42:00 +02:00
Klaus Basan
25b446deac Layout of status message form 2018-07-26 21:41:30 +02:00
Klaus Basan
4f3cb6447f Ref T292, Ref T285 minor adjustments in worker/cache 2018-07-26 21:40:52 +02:00
Klaus Basan
7a58cc2222 Ref T292, Ref T285 moved setToConnectedSimulator into simulator selector so it can be used elsewhere 2018-07-26 21:40:30 +02:00
Klaus Basan
94e3b89479 Ref T292, Ref T285 model loader and cache improvements
* multi caches also emit when values are set and synchronized
* model loader detects cache changed
* added CCentralMultiSimulatorModelCachesAware
2018-07-26 04:32:40 +02:00
Klaus Basan
2838e90e75 Ref T292, Ref T285 XPlane loader to set file timestamp correctly 2018-07-26 04:32:39 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
338c5b344a Ref T292, Ref T285 function to set file timestamp 2018-07-26 02:13:53 +02:00
Klaus Basan
77f10938d9 Ref T292, Ref T285 further form improvements
* avoid roundtrips by airline digest signal
* style such as removed "private slots"
* fixing distributor form's clear
2018-07-25 02:37:15 +02:00
Klaus Basan
94bf4b2249 Ref T292, Ref T285 added signal in loader for "disk loading" and fixed displaying of "already loading" messages 2018-07-25 02:37:14 +02:00
Klaus Basan
74fa7d7289 Ref T292, Ref T285 signal when "real" loading was started (loading from disk) 2018-07-25 02:37:13 +02:00
Klaus Basan
f36ebbfa83 Doxygen and style 2018-07-25 02:37:12 +02:00
Klaus Basan
541e54d76c Ref T292, Ref T285 replaced model set loader in "own model set" UI component and used CCentralMultiSimulatorModelSetCachesAware instead 2018-07-25 02:37:11 +02:00
Klaus Basan
9ee2ff056e Ref T292, Ref T285 replaced model set loader in matcher 2018-07-25 02:37:09 +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
18041b1dc2 Ref T292, Ref T285 removed model set loader from UI components and replaced by central cache 2018-07-25 02:37:07 +02:00
Klaus Basan
a24d35f841 Fixed style of airline ICAO form and better scaling of images 2018-07-25 02:37:06 +02:00
Klaus Basan
9dd9faa2d6 Icons created from a file keep the file name of that file so it can be also used to display the file in HTML code 2018-07-25 02:37:05 +02:00
Klaus Basan
75ee43c0e1 Ref T292, Ref T285 removed model set loader
The model set loader is actually no loader (unlike the model loader which really loads the models from disk) but only a cache and will be replaced by CCentralMultiSimulatorModelSetCachesProvider
2018-07-25 02:37:04 +02:00
Klaus Basan
bf36a69be0 Stashed data file can be dropped to model view
* utility functions
* style changes / renamings / slots -> normal functions
* extra flag to enable file drop (and changed signatures)
* split view load function into 2 parts, one can use passed file parameter
2018-07-25 02:37:02 +02:00
Klaus Basan
1d29b6b36f Ref T292, Ref T285 CCentralMultiSimulatorModelCachesProviderBase base class to create model/model set providers 2018-07-25 02:37:01 +02:00
Klaus Basan
0d67497a2f Airline icons 2018-07-25 02:37:00 +02:00
Klaus Basan
24a1f7d96d Ref T292, adjusted UI components to reflect model loader changes 2018-07-25 02:36:59 +02:00
Klaus Basan
5faace2bb2 Ref T292, using the central loader in UI component plus adjustments as of other changes 2018-07-25 02:36:57 +02:00
Klaus Basan
98e60b41ac Ref T292, model set loader style and adjustments 2018-07-25 02:36:56 +02:00
Klaus Basan
40c0c6ae35 Ref T292, adjusted the specific model loaders
* no longer using "std::unique_ptr"
* QObject parent
* Style
2018-07-25 02:36:55 +02:00
Klaus Basan
5953bbe4c6 Ref T292, model loader improvements
* CMultiAircraftModelLoaderProvider keeping all model loaders in memory (alzy init)
* using CCentralMultiSimulatorModelCachesProvider
* adjusted to changes such as "ModelsFor" renaming
* parent QObject for model loaders
2018-07-25 02:36:52 +02:00
Klaus Basan
b25e4ff3c0 Ref T292, model caches changes
* no longer track "current" simulator, as this resulted in too many signals
* CCentralMultiSimulatorModelCachesProvider keeping all model caches "in one memory location"
* style changes
2018-07-25 02:36:51 +02:00
Klaus Basan
ff3ffea7fc Ref T292, renamed "PerSimulator" -> "ForSimulator" 2018-07-25 02:36:50 +02:00
Klaus Basan
e4866e3de6 Mapping component, use digest signals and Qt::QueuedConnection 2018-07-25 02:36:49 +02:00
Klaus Basan
93d33e3130 Own model set component
* Removed changeSimulator function in model set component (merged with setSimulator)
* menu to clear caches
* remember simulator "in selector", not in own value
2018-07-25 02:36:47 +02:00
Klaus Basan
d632d1ad4f Fixes in model loader and caches
* loader/multi cache can clear caches if that is ever needed
* check if cache needs to be synchronized when loaded and if, do it
* emit changed signal if caches are set
2018-07-25 02:36:46 +02:00
Klaus Basan
562520dbab Simulator selector can be set and remembered 2018-07-20 18:09:05 +02:00
Klaus Basan
1fbd084500 Livery form style fixes 2018-07-20 18:06:13 +02:00
Klaus Basan
9c0e4356b2 Fix finding of std. livery for a given airline.
This was ambigous in the past and could show wrong liveries if 2 or more liveries had the same airline code.
2018-07-20 18:05:57 +02:00
Klaus Basan
507167fb8b Ref T285, some smaller view refactoring 2018-07-20 01:30:41 +02:00
Klaus Basan
07759ed539 Fix aircraft ICAO code, form fields IATA/family mixed 2018-07-20 01:26:59 +02:00
Klaus Basan
452ae4d631 Style Mapping Component code 2018-07-19 18:59:00 +02:00
Klaus Basan
14faf5136a Ref T268, XPlane testing showed: height has an influence on the returned elevation result
* the most accurate value seems to be returned if the height is close to the elevation
* in normal scenarios there is no much difference of the results if 0 is used
* in Lukla (9200ft MSL) the difference between 0 and 9200 is around 1ft
* in the LOWW scenario using 50000ft MSL results in around 3ft too low elevation
2018-07-19 02:52:16 +02:00
Klaus Basan
7753fa787a Ref T268, elevation tab allowing to request elevation at arbitrary position 2018-07-19 02:52:14 +02:00
Klaus Basan
ada0e34738 Ref T268, also "signal" received elevation if not updated in provider 2018-07-19 02:52:12 +02:00
Klaus Basan
ee04175a32 Ref T268, set P3D elevation request altitude if value is NULL 2018-07-19 02:52:11 +02:00
Klaus Basan
f11fdc6b5e Ref T268, allow to preset own aircraft coordinates in form 2018-07-19 02:52:10 +02:00
Klaus Basan
5c9e670705 Ref T268, log.display UI allows to display "loopback" situations 2018-07-19 02:52:09 +02:00
Klaus Basan
88098dddf7 Ref T268, allow to log loopback situations
* those are situations reported back from simulator
* and can be logged
2018-07-19 02:52:06 +02:00
Klaus Basan
c6c22a6e5c Ref T268, utilty functions for logging setup 2018-07-18 01:46:58 +02:00
Klaus Basan
aef01008ac Tab order 2018-07-17 19:05:13 +02:00
Klaus Basan
235332bada Ref T246, model loader must not fire signal if cache is changed elsewhere 2018-07-17 19:05:11 +02:00