Commit Graph

1108 Commits

Author SHA1 Message Date
Klaus Basan
f3ac18257f Update editor data when stashed data are modified (e.g. by drag and drop)
This issue was discovered during testing for #640
2016-05-07 20:11:51 +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
Klaus Basan
2da14e3b62 refs #648, change existing context menus 2016-05-07 20:11:46 +02:00
Klaus Basan
044af1a970 refs #640, changed order in mappigs component 2016-05-07 20:11:44 +02:00
Klaus Basan
cd9b2ffedb refs #640, order of tabs in main window
(mapping now before DB data)
2016-05-07 20:11:43 +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
48bcb105cd refs #613, changes as proposed by MS
https://dev.vatsim-germany.org/issues/613#note-3
2016-05-07 20:11:40 +02:00
Klaus Basan
32caa3f8f4 refs #641, order and update models by distributor 2016-05-07 20:11:39 +02:00
Klaus Basan
ec8e747d53 refs #641, distributor preferences GUI and formatting setting component (for distributor preferences) 2016-05-07 20:11:38 +02:00
Klaus Basan
87abbf975b refs #640, renamed allowDragDrop and const 2016-05-05 20:49:21 +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
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
d0daad7d34 refs #642, fixed setup loading, in same step refs #636 clear cache
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Mathew Sutcliffe
7b04a20e9f refs #653 Make small cache values pinned, so they are sync loaded at start. 2016-05-05 15:25:07 +01:00
Michał Garapich
1a3e610cbf refs #513 Make plugin selection persistent
* Saved listeners are started on application startup
* CVariant has support for QStringList
2016-05-04 22:58:08 +02:00
Klaus Basan
f1eccc2d8f refs #638, allow to select model in own model set for forms (double click) 2016-04-11 20:58:01 +02:00
Klaus Basan
d9e550beef refs #634, improved completers
* mostly to avoid roundtrips (set->changed signal->set again...)
* better sort for ICAO completer
2016-04-11 20:57:57 +02:00
Klaus Basan
69049001d1 refs #638, reverse lookup in model matching 2016-04-11 20:57:55 +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
8049a65437 refs #634, allow to use livery for testing
* added raw data in selector
* adjusted matcher component
2016-04-11 20:22:21 +02:00
Klaus Basan
0f5af8a492 Improved forms as discussed in meeting (RW/KB) 2016-04-11 20:22:19 +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
1b0dda74a3 refs #614, renamed function and helper function 2016-04-11 20:19:46 +02:00
Klaus Basan
b567e2e57b refs #634, a component allowing to test model matching
* adjusted corresponding components
* new component for matcher
2016-04-11 20:19:45 +02:00
Klaus Basan
0c6780a392 refs #634, fixes and improvements in selectors/completers
* upper case
* get raw data from selector
* sort completers
2016-04-11 20:16:24 +02:00
Klaus Basan
70aacf8cb1 Minor: Logging for reader, removed sort log message, guard name 2016-04-11 20:16:20 +02:00
Klaus Basan
a4ec86dc3a refs #626, fixes
* verify to notice when data is mssing (temp)
* use getCopy
2016-04-11 20:16:15 +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
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
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
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
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
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
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
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
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
a1861c69f0 refs #624 Some more occurrences of constexpr. 2016-03-22 16:02:53 +00:00