Klaus Basan
c39882e5db
refs #649 , further fixes and improvements
...
* call of non-virtual function in ctor
* use getCopy
* return number of merged models
* change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
2016-06-08 18:20:59 +02:00
Klaus Basan
4407c83d8c
Removed registerMetadata from preferences, not needed
2016-06-08 18:20:52 +02:00
Klaus Basan
8673d2eada
refs #649 , use utility function to emit signal
...
(can be better traced in debugger)
2016-06-08 18:20:45 +02:00
Klaus Basan
f58b3bf065
refs #649 , refs #659 use new timestamp function
2016-06-08 18:20:44 +02:00
Klaus Basan
81d88837f9
refs #649 , add.function getSyncronizedValues
...
Normally getValue should transparently sync. But this force me to make the function non-const.
2016-06-08 18:20:42 +02:00
Klaus Basan
875b311ede
refs #649 , with #659 deferred caches available
...
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00
Klaus Basan
bc926e592e
refs #649 , allow to guess used simulator (for default values)
2016-06-08 18:20:37 +02:00
Klaus Basan
e6f0db73c5
refs #656 , using deferred for large caches
2016-06-08 18:20:36 +02:00
Klaus Basan
c13b9ded55
refs #661 , prepared value objects for distributor sort order
2016-06-08 18:20:33 +02:00
Klaus Basan
c0fda8687d
refs #661 , improved own model set handling
...
* fixed simulator selector
* added simulator selector to own model set component
* pinned last selections
* fixed model cache to use "getCopy"
2016-06-08 18:20:25 +02:00
Klaus Basan
54b1234f7f
refs #649 , refs #658 fixed includes to new subfolders "db"
...
some style changes in same step
2016-06-08 18:20:23 +02:00
Roland Winklmeier
3e4e49a6b6
Set last modification timestamp when loading X-Plane models
...
This feature was already implemented for MS Flight Simulator model
loaders and missing in the X-Plane model loader.
2016-05-24 16:59:16 +02:00
Roland Winklmeier
2d8f56a598
Link CBuildConfig and CVersion into static library blackconfig
...
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.
refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
d0313c7524
Style
2016-05-20 01:31:26 +02:00
Roland Winklmeier
f4c2939253
Fix BlackGui header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-20 01:31:11 +02:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +02:00
Klaus Basan
4b11eb3f83
refs #648 , refs #640 review of MS
...
https://dev.vatsim-germany.org/issues/648#note-5
2016-05-07 20:11:54 +02:00
Klaus Basan
1a62de8dc3
refs #641 , improvements/fixes of orderable lists / models / views
...
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Mathew Sutcliffe
bf2a84b67c
refs #614 , allow CCached::NotifySlot to refer to a base class method
2016-05-07 20:11:42 +02:00
Klaus Basan
43f9515eaa
refs #641 , moved last simulator selection to caches
...
* removed from component cache
* kept renamed component caches as stubs for later usage
refs #646 , removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00
Klaus Basan
bb6eea6c72
refs #641 , using order in model caches
2016-05-05 20:49:24 +02:00
Klaus Basan
1bb6f98e56
refs #641 , using IOrderable and some formatting
2016-05-05 20:49:23 +02:00
Klaus Basan
c42df3ed4d
Formatting and fixed dropbase (unimplemented function)
2016-05-05 20:49:20 +02:00
Klaus Basan
d487a84acb
refs #640 , distributor list preferences value object and settings
2016-05-05 20:49:19 +02:00
Klaus Basan
5f2110b81a
refs #640 , value object orderable interface (same as ITimestampBased ..)
...
* interface and list
* added Q_DECLARE_INTERFACE
2016-05-05 20:49:19 +02:00
Klaus Basan
5d39c906e4
refs #640 , support for simulator in distributor
...
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +02:00
Klaus Basan
b78308b059
follow up of refs #643 , allow to display icon in overlay window
...
* some optimization to check if icon is available
* menus for context menu
* allow to display icon/image in overlay window
2016-05-05 20:49:17 +02:00
Klaus Basan
ddc7347927
refs #643 , moved aircraft model icon loading to model class
...
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
bc4efbfd71
refs #642 , fixed 2nd issue reported by RW via slack
...
(assert with default values)
2016-05-05 20:49:14 +02:00
Klaus Basan
826662cbb5
refs #638 , refs #614 , support for military flag and swift livery string
...
* fixed missing tuple attribute
* improved toQString conversion
2016-04-11 20:57:58 +02:00
Klaus Basan
368d803d42
refs #614 , refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
...
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +02:00
Klaus Basan
1953665c40
refs #637 , move matcher to blackcore
...
(access to sApp/web services)
2016-04-11 20:24:57 +02:00
Klaus Basan
f4f195a5f4
refs #614 , matcher improvements
...
* improved reduce functions
* support for combined code
* support for livery
2016-04-11 20:22:23 +02:00
Klaus Basan
d83e9c0c91
Made ctor explicit
2016-04-11 20:22:22 +02:00
Klaus Basan
abca1fde52
refs #614 , use interfaces from last step to reuse mergeWithDb data in multiple components
...
* adjusted menus
* adjusted loaders and components
2016-04-11 20:22:18 +02:00
Klaus Basan
43c69d2ed0
refs #614 , move utility functions into own class so I can resuse them better
2016-04-11 20:22:16 +02:00
Klaus Basan
314c005ff2
refs #614 , a generic interface to modify / update models so I can write generic functions for that purpose and use them
...
* interface for the caches
* generic model interfaces
2016-04-11 20:22:15 +02:00
Klaus Basan
f5942347f2
refs #614 , improved model matcher
2016-04-11 20:19:48 +02:00
Klaus Basan
1b0dda74a3
refs #614 , renamed function and helper function
2016-04-11 20:19:46 +02:00
Klaus Basan
f3ef7ad7ea
refs #614 , renamed to CAircraftModelSetLoader and detect changes in cache
2016-04-11 20:16:26 +02:00
Klaus Basan
7ed2cc649b
refs #614 , removed IModelMappingsProvider + adjustments
2016-04-11 20:16:25 +02:00
Klaus Basan
a07af2b781
refs #614 , formatting and new functions for list/value objects
...
* find by aircraft family
* name completer sorting
2016-04-11 20:16:23 +02:00
Klaus Basan
31a824540a
refs #632 , fixed CAircraftCfgEntries ColumnIndex functions
2016-04-11 20:16:17 +02:00
Klaus Basan
a5d0453019
refs #614 , changed matcher and applied changes
...
* new function in model list
* removed all models in matcher, only provider data will be used
2016-04-11 20:16:14 +02:00
Klaus Basan
057c88b0f2
refs #614 , using threadsafe version of getCopy and Doxygen
2016-04-11 20:16:11 +02:00
Klaus Basan
c3355b1c9d
refs #614 , changed matcher so caches can be used
...
* provider for cached models
* removed unused dummy
* renamed getDatastoreModels
2016-04-11 20:16:10 +02:00
Klaus Basan
220edf44f9
refs #614 , last modifed timestamp from file set in CAircraftModel
...
* added to model (to display in view)
* derived BlackMisc::ITimestampBased from BlackMisc::ITimestampBased
2016-04-11 20:16:07 +02:00
Klaus Basan
b1c32dac10
refs #614 , allow to merge own models with vPilot rules (this can be used if no DB data are available yet)
...
* menus
* utility functions
2016-04-11 20:16:05 +02:00
Klaus Basan
a1d6492ff2
refs #614 , moved cache to vPilot reader
2016-04-11 20:16:03 +02:00