Klaus Basan
7446ffcb80
refs #769 , use role bulk to decide if user can directly write models
...
* renamed role functions
* renamed buttons
* some formatting
2016-10-17 14:33:56 +01:00
Mathew Sutcliffe
004fb5c78a
refs #759 Work around crash when cache value update slot is called on a partially-constructed owner.
2016-09-19 16:18:52 +02:00
Klaus Basan
73d41d334b
refs #755 , removed context menu "Remove DB data" - same can be done with filter
...
(remark: Removing from model bears the risk the data are saved and the removed parts are eventually gone)
2016-09-19 16:18:44 +02:00
Klaus Basan
10325ee8a9
refs #755 , mapping UI improvements
...
* make drop area more obvious by icon and color
* improve forms so the layout looks better on large screens
* button to display model dialog (like distributor, ICAO, ...)
2016-09-19 16:18:41 +02:00
Klaus Basan
23ccb35ed8
refs #751 , improved model writing to DB
...
* a pending request can be aborted when taking too long
* success / directWrite flags in signals
2016-09-19 16:18:41 +02:00
Klaus Basan
81efe18ae5
refs #745 , improved own model set dialog
...
* allow to consolidate data
* display either preferences or all distributors
* builder can consolidate
* get model set from mapping component
2016-08-27 18:15:21 +02:00
Klaus Basan
0d70e87d11
refs #745 , do not consolidate with DB data when stashing editor model
...
(prevents that changed data are overridden by DB data again and hence reverted)
2016-08-26 21:06:08 +01:00
Klaus Basan
e8aa873ea0
Formatting
2016-08-26 21:06:03 +01:00
Klaus Basan
6037ce85ed
Fixes context menu for stashing
...
(there is no sender when invoking the slot)
2016-08-26 21:05:44 +01:00
Klaus Basan
d10fe5ad18
refs #728 , hide load indicator when no vPilot rules are loaded
2016-08-26 21:05:01 +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
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
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
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
92c638cee4
Workaround for improper formatting of vPilot rules
...
found druing testing of #648
2016-05-07 20:11:52 +02:00
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
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
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
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
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
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
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
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
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
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
Klaus Basan
b73562b33c
refs #485 , CDbMappingComponent: refactor resize logic
2016-03-18 01:10:29 +00:00
Klaus Basan
30b5e5dade
refs #485 , changed to static preformatted as discussed (MS/KB) on slack
2016-03-18 01:09:42 +00:00
Klaus Basan
55a0ab7b48
refs #485 , renamed the trait for authenticated user to AuthenticatedDbUser
...
* there is no single authenticated user, this one has a specific usage
* adjusted classed
* formatting
2016-03-18 01:09:39 +00:00
Klaus Basan
c411f07551
refs #485 , renamed to cmdLineErrorMessage (to distinguish from status messages)
2016-03-18 01:09:06 +00:00
Klaus Basan
76814b43be
Fixed some minor issues in mapping tool (triggered by slack discussion)
...
* slot menu connect
* stashing from model view
* removed unused menu
2016-03-18 01:09:03 +00:00
Klaus Basan
79f95845b2
refs #602 , emoved web service provider
...
* webservices now directly accessible via sGui
* interface no longer needed
* no init of provider (setProvider) needed anymore
2016-03-18 01:09:00 +00:00
Mathew Sutcliffe
0bf918cd28
refs #595 Forward declarations and move member initialization to constructor.
2016-02-08 18:48:57 +00:00
Klaus Basan
8cf31f7de8
refs #576 , refs #577 improved mapping component
...
* allow to refresh own models from cache
* consider cache changes
* formatting
* allow to open the simulator data files if available in default text editor
2016-02-05 18:00:20 +01:00
Klaus Basan
cb5e48fdd8
refs #587 , use modify form as dialog in mapping component
2016-02-05 18:00:13 +01:00
Klaus Basan
68d2a4bc81
refs #577 , allow to assign editor values to a bunch of models by context menu
2016-02-05 18:00:01 +01:00
Klaus Basan
c54dd8560d
refs #577 , filter for aircraft model
...
* allow to filter by distributor
* filter by simulator on change
2016-02-05 17:59:59 +01:00
Klaus Basan
f33366ed88
refs #576 , updated mapping & stash components / form for auto stashing
...
* made some functions public
* removed unused signal
* comments
* consolidate functions
2016-02-05 17:59:56 +01:00
Klaus Basan
551f3348f4
refs #377 usability improvements
...
* allow to toggle between single, multi and extended selection
* all DB data can be read by menu
* fixed load/save (test data) from disk
2016-02-05 17:59:52 +01:00
Klaus Basan
6c81a0259a
refs #575 , using livery completer
...
* embedded in form
* rectified readOnly / only for selection
* added uper case validator where missing
* selecting airline triggers loading of default livery
2016-01-28 16:32:03 +01:00
Klaus Basan
ce64f94433
refs #568 , allow to remove existing DB data from another model view
...
* Used with vPilot and own model views
* in same step fixed separator handling in IMenuDelegate
2016-01-28 16:31:55 +01:00
Klaus Basan
6625b83c5e
refs #571 , consolidate with own models or DB models when stashed (goal: better defaults)
...
* improved missing parts updates
* sync. with own and DB models
2016-01-28 16:31:53 +01:00
Klaus Basan
b4dc21eeb4
refs #568 , improved validation and handling
...
* invalid models can be highlighted on stash
* selection mode can be toggled between single/multi selection (where applicable)
* color for highlighting can be set
* finetuning of menus
2016-01-28 16:31:50 +01:00
Klaus Basan
11ee49a382
refs #568 , allow to stash from DB data view (model view)
...
* added required signal slots
* moved models for stashing into aircraft model view
* allow to unselect when stashed
* fixed DB object highlighting and resize row height automatically
2016-01-28 16:31:49 +01:00