Commit Graph

2967 Commits

Author SHA1 Message Date
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
c934384622 refs #626 Empty type name indicates an empty variant, no warning in this case. 2016-04-03 20:55:00 +01:00
Mathew Sutcliffe
d20219437e refs #628 Use explicit construction syntax for std::tuple to satisfy GCC 5. 2016-04-03 19:25:43 +01:00
Mathew Sutcliffe
d36f003817 refs #626 Update CVariant warnings to current style. 2016-04-03 18:17:47 +01:00
Mathew Sutcliffe
79121e0088 refs #626 Warnings in case CVariant convertFromJson or unmarshallFromDbus gets an unregistered type name. 2016-04-03 18:17:46 +01:00
Mathew Sutcliffe
91db47c628 refs #626 Serializer gets its baseline values when it actually starts loading/saving, instead of just when the cache requests the load/save. 2016-04-03 18:17:45 +01:00
Mathew Sutcliffe
363ee7c54b refs #626 Change the connection between serializer and data cache to a direct connection. 2016-04-03 18:17:45 +01:00
Mathew Sutcliffe
0acb302c63 refs #628 Remove the old tuple system. 2016-04-03 18:17:44 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Mathew Sutcliffe
4f3637a046 refs #628 Add mixins which use the metaclass system instead of the tuple system. 2016-04-03 18:17:42 +01:00
Mathew Sutcliffe
34bc76e74c refs #628 Add the first version of the metaclass system. 2016-04-03 18:17:41 +01:00
Mathew Sutcliffe
78fe827fdd refs #628 Style consistency. 2016-04-03 18:17:40 +01:00
Mathew Sutcliffe
514d460e57 refs #628 Refactor CWorker::invoke into a free function and expand its API. 2016-04-03 18:17:40 +01:00
Mathew Sutcliffe
eeac403cfc refs #628 Provide more of the API of our std::integer_sequence substitute. 2016-04-03 18:17:39 +01:00
Mathew Sutcliffe
34c25aee46 refs #628 Use expression SFINAE to simplify the implementation details of CVariant. 2016-04-03 18:17:38 +01:00
Mathew Sutcliffe
7ce1b268df refs #628 Use expression SFINAE and the void_t trick to simplify some type traits. 2016-04-03 18:17:37 +01:00
Mathew Sutcliffe
f159bdb5bf Removed unused code. 2016-04-03 18:17:37 +01:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Roland Winklmeier
4e9c34b04a [g2clib] Fix unassigned variable 2016-03-31 13:47:07 +02:00
Roland Winklmeier
724cefe44f [g2clib] Fix MSVC2015 compiler warnings when building 64 bit 2016-03-31 13:47:06 +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
fe677a5594 refs #618, functions allowing to validate and modify loaded JSON data
* models can be reduced to one simulator
* a JSON model list can be loaded and the simulator derived from the distribution
2016-03-30 18:22:26 +02:00
Klaus Basan
5c1ce9763e refs #618, removed MenuHighlightInvalid menu flag 2016-03-30 18:22:25 +02:00
Klaus Basan
ad1ac36189 refs #618, menu and function to add from own models to model set
* add functions
* menu
* unified CModelStashToolsMenu
2016-03-30 18:22:24 +02:00
Klaus Basan
02b69e5404 refs #618, using new column for DB data indication 2016-03-30 18:22:23 +02:00
Klaus Basan
2515c8235d refs #618, adjusted menus
* new signal slot syntax
* sub menu
2016-03-30 18:22:21 +02:00
Klaus Basan
ccbad71f7f Log. string generation in file logger 2016-03-30 18:22:20 +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
bb16d5d069 refs #618, allow to display icon when DB key is set 2016-03-30 18:22:18 +02:00
Klaus Basan
691ffa3417 refs #618, real index for BlackMisc::CPropertyIndex::GlobalIndexCDbOwnModelsComponent 2016-03-30 18:22:17 +02:00
Klaus Basan
efcf38c2a5 refs #618, allow to set and save model sets 2016-03-30 18:22:16 +02:00
Klaus Basan
d509c6b0b5 refs #618, allow to modify and validate data when loaded for a view
* allows to reject data considered incorrect
* data can be modified and adjusted after loading before displaying
2016-03-30 18:22:15 +02:00
Klaus Basan
353d96514e refs #618, return "good" message for cache setting and added validation log categoriess 2016-03-30 18:22:14 +02:00
Klaus Basan
78b117cc6d refs #618, allow to directly create validation messages
Needed frequently, easier than always to join categories
2016-03-30 18:21:38 +02:00
Klaus Basan
d60214bd3c Fixed sample hot keys as discussed on slack 2016-03-30 13:42:01 +02:00
Klaus Basan
46a8d37c08 Support for high DPI screens 2016-03-30 13:42:01 +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
b78d823485 refs #618, support for incremental build in model set builder 2016-03-30 13:41:57 +02:00
Klaus Basan
b871e7b1e3 refs #619, simulator info list + fix in distributor list 2016-03-30 13:41:56 +02:00
Klaus Basan
4cecd2a4d0 refs #618, allow to set file name for saving in views 2016-03-30 13:41:55 +02:00
Klaus Basan
e993ecdeaa refs #618, own component for GUI own model handling
* moved to own component
* ajdjusted last selections
* some renaming such as getView() -> view()
2016-03-30 13:41:54 +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
7beb5661a3 refs #618, moved menus to menu subfolder
* generated some generic menus which can be reused
* adjusted view base
* new menu to merge with DB data
2016-03-30 13:41:52 +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
Klaus Basan
7d785b4e3b refs #618, allow to filter my include/exclude 2016-03-30 13:41:50 +02:00
Klaus Basan
ec8f9b70b6 refs #618, show include / exclude also for own models 2016-03-30 13:41:49 +02:00
Klaus Basan
a2322aa13b Applied viewport fix for views found here http://stackoverflow.com/q/3433664/356726
* Use new signal/slot syntax
* renamed resize mode
* Using sampleElements for presizing, some finetuning
2016-03-30 13:41:48 +02:00