Commit Graph

45 Commits

Author SHA1 Message Date
Klaus Basan
93d33e3130 Own model set component
* Removed changeSimulator function in model set component (merged with setSimulator)
* menu to clear caches
* remember simulator "in selector", not in own value
2018-07-25 02:36:47 +02:00
Klaus Basan
562520dbab Simulator selector can be set and remembered 2018-07-20 18:09:05 +02:00
Klaus Basan
9d4989fab4 Ref T246, avoid unnecessary roundtrips if simulator did not change or is not applicable 2018-07-17 19:05:09 +02:00
Klaus Basan
29389d5dbb Ref T246, extended the DB components a bit
* change signals
* distributor selection
* public slots -> public
* renamings
2018-07-17 19:04:58 +02:00
Klaus Basan
ac406d43f6 Ref T286, renaming / adding utility functions in simulator info 2018-07-09 22:30:24 +02:00
Klaus Basan
1f00c71fea Ref T246, allow to copy model set or create 1st model set as dialog from mapping tool 2018-06-13 13:59:55 +02:00
Klaus Basan
4eeaf1adc4 Smaller adjustments of unit test and application 2018-06-01 01:30:26 +02:00
Klaus Basan
98bc0a7d6e Ref T264, sued "new signal syntax" with some QShortcuts and as a result made some slots "normal functions" 2018-05-18 00:25:07 +02:00
Klaus Basan
f4320b18c5 Quick fix so model sets can be saved, see https://swift-project.slack.com/archives/G96QTUBEG/p1525815058000559 2018-05-12 21:40:07 +02:00
Klaus Basan
1b8383bee1 Guarding QTimer::singelShot operations, avoid to access dangling pointers 2018-05-08 16:06:39 +02:00
Klaus Basan
2bbc433d30 Formatting 2018-02-22 01:26:42 +01:00
Klaus Basan
4da3309226 Fix of crash in installer (crashdump)
Since we use the model set component also in the launcher, we need to avoid nullptr calls
2018-02-16 12:13:43 +01:00
Klaus Basan
4f63c04225 Ref T246, 1st version of model set wizard
* dialog for CDbOwnModelsComponent / CDbOwnModelSetComponent
* qss
* added page in wizard
2018-02-10 21:57:36 +01:00
Klaus Basan
71a51bbd66 Ref T246, renaming and using renamed dialog in CDbOwnModelSetComponent 2018-02-09 04:44:00 +01:00
Klaus Basan
a8eae0ea55 Some UI formatting / padding 2017-06-18 22:51:10 +02:00
Klaus Basan
927b8bc577 Ref T67, check models against simulator when loading them
* set simulator which the model view accepts for loading
* removed old flags
2017-05-09 19:13:46 +02:00
Klaus Basan
c5f89d0deb refs #907, menu to consolidate against own models
* restructured menu paths
* menu providing the functionality
2017-04-17 23:59:19 +01:00
Klaus Basan
e55867c297 refs #829, use settings for own model set
(ignore excluded models)
2016-12-13 19:02:17 +01:00
Klaus Basan
608e39ee9a refs #828, added function to show matrix from ui 2016-12-13 19:02:08 +01:00
Klaus Basan
610dba2028 refs #757, materialize filtered data
* menu item / flag
* functions in view class
* some minor formatting
2016-09-19 16:18:48 +02:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
9c2a2de4c5 refs #732, (re)set current distributor preferences from context menu 2016-08-26 21:05:34 +01:00
Klaus Basan
bb8a0ca3f5 refs #724, context menu
* in stash view data from DB can be removed
* it can be stashed from own model set view too
2016-08-26 21:04:53 +01:00
Klaus Basan
017c593b67 refs #723, reset order when adding models to own model set 2016-08-26 21:04:51 +01:00
Klaus Basan
227262c2cc refs #720, finetuning
* show menus even if DB is not present
* avoid selection of too big data set (which takes to long to handle)
* remaining renamings
* show all sims in menu, even if not intalled
2016-08-26 21:04:31 +01:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Klaus Basan
e3fd8d2c78 refs #649, default values for selectors based on own model set 2016-06-08 18:20:47 +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
8ad640704c refs #661, allow to sort by distributor order in builder
* some style changes
* pass distributors to builder
* distributor model mode
* flags
2016-06-08 18:20:34 +02:00
Klaus Basan
97742f4a87 refs #661, improved model set dialog
* allow to change simulator
* consider distributor preferences for new model set
* error messages in dialog, therefor use CForm as base class
2016-06-08 18:20:30 +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
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
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
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
32caa3f8f4 refs #641, order and update models by distributor 2016-05-07 20:11:39 +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
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
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
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
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
efcf38c2a5 refs #618, allow to set and save model sets 2016-03-30 18:22:16 +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
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