Commit Graph

699 Commits

Author SHA1 Message Date
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
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
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
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
46a8d37c08 Support for high DPI screens 2016-03-30 13:42:01 +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
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
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
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
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
18c1da8502 refs #619, allow to open file load / save dialog from view 2016-03-30 03:07:20 +02:00
Klaus Basan
3588c5a601 refs #599, fixes and improvements (assert/checks) for https://dev.vatsim-germany.org/issues/599#note-5 2016-03-30 03:07:14 +02:00
Klaus Basan
301c47c594 refs #618, some functions consolidated as result of reviews in previous step (removed const/const signatures) 2016-03-30 03:07:13 +02:00
Klaus Basan
42d5ceff32 refs #618, GUI dialog to create own model set
* new tab in model mapping component
* form + dialog to select appropriate models
2016-03-30 03:07:10 +02:00
Klaus Basan
17cbd31095 refs #618, allow to set mode for distributors (simplified mode used for selection in dialog) 2016-03-30 03:07:09 +02:00
Klaus Basan
93176b5bd4 refs #619, enhance local model data with DB data (if possible)
* use new slot syntax on menu actions
* allow reload from disk and reload from cache
* added utility functions for model/modellist
2016-03-30 03:07:07 +02:00
Klaus Basan
76fa1535af refs #619, using latest selection cache in mapping component and init upon this 2016-03-23 03:25:00 +01:00
Klaus Basan
a5ad8c245b Fix, also emit when complete data change and rows are the same (as it could be entirely different dataset) 2016-03-23 03:24:57 +01:00
Klaus Basan
38ca1a40b4 refs #619, cache for last selections in components
1st implementation for mapping component
2016-03-23 03:24:56 +01:00
Klaus Basan
4087d63d9c refs #619, change model loader to use caches (one per simulator)
* removed caching from GUI component
* added caches in model loader
* adjusted samples
2016-03-23 03:24:54 +01:00
Mathew Sutcliffe
1801616953 refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects. 2016-03-22 16:03:00 +00:00
Mathew Sutcliffe
a895cc2c54 refs #624 Removed many workarounds, no longer needed. 2016-03-22 16:02:58 +00:00
Mathew Sutcliffe
a1861c69f0 refs #624 Some more occurrences of constexpr. 2016-03-22 16:02:53 +00:00
Klaus Basan
46d71ed1a2 Some finetuning of columns in views/data displayed
Sorting fixed for model
2016-03-18 01:10:40 +00:00
Klaus Basan
c36028ca9c refs #485, Restricted<T> 2016-03-18 01:10:35 +00:00
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
b73562b33c refs #485, CDbMappingComponent: refactor resize logic 2016-03-18 01:10:29 +00:00
Klaus Basan
fdf41bcce3 Doxygen 2016-03-18 01:10:27 +00:00
Klaus Basan
6d79b7dc12 refs #485, use Q_INTERFACES as a way of avoiding dynamic_cast 2016-03-18 01:10:24 +00:00
Klaus Basan
45496ce08e refs #485, support splash screen 2016-03-18 01:10:21 +00:00
Klaus Basan
8e6c4ad35d refs #485, finetuning the HTML cmd line help
Turn Qt message into HTML table
2016-03-18 01:10:15 +00:00
Klaus Basan
52f0756597 refs #485, refs #608 Doxygen improvements/fixes 2016-03-18 01:10:07 +00:00
Klaus Basan
bcb00b1b91 refs #608, generic menus are now available via CGuiApplication and don`t have to be redefined over and over again 2016-03-18 01:10:04 +00:00
Klaus Basan
bf9ea12a2b Some fixes / tweaks found during testing
* clear setup URLs
* renamed to CInfoArea::connectTopLevelChanged()
* qss, margins for menu items
2016-03-18 01:10:01 +00:00
Klaus Basan
8f33896e1c refs #608, simplified direct main window access.
Just set the corresponding components and you are done.
2016-03-18 01:09:58 +00:00