Klaus Basan
8427aa829d
Added ALT+A to "add to own model set" (similar to ALT+S for stash)
2017-09-24 20:29:11 +01:00
Klaus Basan
65bc1c00fb
Formatting, "this->m_" to "m_", comments
2017-09-24 20:29:09 +01:00
Klaus Basan
0dfe6f69fe
Minor fixes when reporting T141
...
* user authenticated must be enabled/valid
* Read only: BlackMisc::CDataReadOnly<BlackCore::Data::TAuthenticatedDbUser>
* clear user fields when not authenticated
2017-09-24 19:53:47 +01:00
Klaus Basan
2dfc56dc39
Formatting
2017-09-24 19:53:45 +01:00
Klaus Basan
991cc3463d
Ref T117, check equal models before publishing
...
* checkbox, check can be disabled
* context menu to display changed attributes in popup
2017-09-24 19:52:19 +01:00
Klaus Basan
6d61935bc7
Doxygen
2017-09-24 19:49:37 +01:00
Klaus Basan
d7ae3712dd
Ref T59, stash validation triggered by "stash" button
...
From non stash tabs not using full validation
2017-05-05 23:07:43 +01:00
Klaus Basan
78c618e589
Allow to add to model set from stash
2017-04-18 00:08:23 +01:00
Klaus Basan
83383f438c
Improved kill button handling, now it can be set even if frame is not yet initialized
...
* default is disabled
* only pilot client needs to enable it
2017-04-17 23:58:50 +01:00
Klaus Basan
6999a97f73
Allow to globally disable the kill button
...
(only needed in swift pilot client so far)
2017-04-17 23:58:35 +01:00
Klaus Basan
61e7f23847
refs #858 , todo review (demoted, commented)
2017-02-24 00:09:00 +00:00
Klaus Basan
deed61a88c
Formatting, doxygen, minor adjustments
2017-01-10 23:45:44 +00:00
Klaus Basan
a3be42f0c3
refs #768 , model form as combined form of livery/distributor and aircraft ICAO
2016-12-06 09:33:17 +01:00
Klaus Basan
501bea0960
refs #743 , adjusted mapping component
...
* use cross simulator dialog (auto simulator stashing)
* added/use utility functions
2016-10-17 14:34:14 +01:00
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