Commit Graph

226 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
126ad26261 refs #618, clang fixes
* use own default constructor error: default initialization of an object of const type 'const BlackMisc::CIcon' without a user-provided default constructor static const CIcon empty;
* same for CDbOwnModelsComponent()
* fixed guard
2016-03-30 18:22:27 +02:00
Klaus Basan
780d8a05e8 refs #618, functions / class to get simulator distribution of a model set
Find out for which simulators the model set is etc.
2016-03-30 18:22:19 +02:00
Klaus Basan
62789cfc14 refs #618, model set loader (not to be confused with model loader) 2016-03-30 13:42:00 +02:00
Klaus Basan
5651ec0f80 refs #619, removed redundant set method for cache in loader 2016-03-30 13:41:59 +02:00
Klaus Basan
50ac317065 refs #618, unified naming in model list + minor adjustments 2016-03-30 13:41:58 +02:00
Klaus Basan
b871e7b1e3 refs #619, simulator info list + fix in distributor list 2016-03-30 13:41:56 +02:00
Klaus Basan
5dc976caca refs #619, allow to directly manipulate cache in loader 2016-03-30 13:41:54 +02:00
Klaus Basan
6fdddf8f93 refs #618, allow to update/add models based on model string
* functionality in list
* access via view
* fixed count for changed objects in datastoreobjectlist (now detects replacements)
2016-03-30 13:41:53 +02:00
Klaus Basan
c339a3d1e0 refs #619, use a combined cache class
* moved caches to blackmisc
* used CModelCaches in loader
* applied changes in simulator specific loader classes
* renamed find function to findFirstByModelStringOrDefault
* made merge function static so it can be used elsewhere
2016-03-30 13:41:51 +02:00