Commit Graph

6535 Commits

Author SHA1 Message Date
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
Klaus Basan
9d4989fab4 Ref T246, avoid unnecessary roundtrips if simulator did not change or is not applicable 2018-07-17 19:05:09 +02:00
Klaus Basan
ea5a38faa4 Ref T246, data can also be loaded from resource files 2018-07-17 19:05:08 +02:00
Klaus Basan
0023fbb57f Ref T246, function to display model count and timestamp of model/set caches 2018-07-17 19:05:07 +02:00
Klaus Basan
3b460af8a6 Ref T246, avoid endless reloading if simulator did not change in DB models component 2018-07-17 19:05:06 +02:00
Klaus Basan
74cdbc9506 Ref T246, first model UI no longer experimental 2018-07-17 19:05:05 +02:00
Klaus Basan
0fcec6dad6 Updated latest DB data (this we do from time to time to have the latest data in repo) 2018-07-17 19:05:03 +02:00
Klaus Basan
35a1a715d8 Ref T246, allow to load DB data per entity from resource files 2018-07-17 19:05:02 +02:00
Klaus Basan
8bee7f81f6 Ref T246, first model set UI improvements
* detect settings changes
* use simulator settings directly and also trigger changes when changed from component itself
* create model set button
2018-07-17 19:05:00 +02:00
Klaus Basan
238e9c9eb8 Ref T246, settings simulator component reacts on change signal (refresh itself) 2018-07-17 19:04:59 +02:00
Klaus Basan
29389d5dbb Ref T246, extended the DB components a bit
* change signals
* distributor selection
* public slots -> public
* renamings
2018-07-17 19:04:58 +02:00
Klaus Basan
97da1c9a3c Ref T246, simulator settings improvements 2018-07-17 19:04:57 +02:00
Klaus Basan
76334b75d1 Ref T246, model loader improvements / renamings 2018-07-17 19:04:55 +02:00
Klaus Basan
a7947d3c87 Connection guard, only valid signal connections will be added 2018-07-17 19:04:52 +02:00
Klaus Basan
3bfb76c1e6 "Try to fix" for setup loading dialog 2018-07-17 19:04:51 +02:00
Klaus Basan
52513db63f Ref T290, XPlane refactoring
* typo getRemoteAircraftsData -> getRemoteAircraftData (no "s")
* typo getEelevationAtPosition (double "Ee")
* get functions "const"
* added unit for some variables such as latitudeDeg
2018-07-17 19:04:50 +02:00
Klaus Basan
78bcc31a0c Ref T290, style 2018-07-14 19:47:35 +02:00
Klaus Basan
d0db5f4349 Ref T246, first model set UI allow to change model directory 2018-07-14 19:46:59 +02:00
Klaus Basan
f5a088929f UI tab order 2018-07-14 19:46:12 +02:00
Klaus Basan
80cee12fdb Ref T246, utility for 1st model set directory
* remove empty enries in directories
* allow to add directory
* detect same directories and avoid duplicates
2018-07-14 19:45:21 +02:00
Klaus Basan
6f9d686b4d In local build license agreement is preselected ("agreed") 2018-07-14 19:43:09 +02:00
Klaus Basan
1b8e79f77b Improved context sensitive help
- create utilty function CGuiApplication::triggerShowHelp
- this function also uses "QWhatsThis::leaveWhatsThisMode" which solves the problem that the help was not properly called a 2nd time
- adjusted using classes
2018-07-13 18:12:23 +02:00
Klaus Basan
e90eb06f44 Ref T286, copy settings/cache improvements
* removed old copy component from wizard and setup component
* using new copy component
* reloading in hotkey component
2018-07-13 02:26:01 +02:00
Klaus Basan
64d153b10b Ref T286, fixes for copy component
* copy servers
* clear status
* refresh UI in "silent mode"
2018-07-13 02:25:37 +02:00
Klaus Basan
5d615f5585 Changed UI text for legal component and improved "guarding" for shutdown 2018-07-13 01:47:17 +02:00