Commit Graph

69 Commits

Author SHA1 Message Date
Klaus Basan
ddb26a0ea5 Ref T265, Ref T430, Ref T473 renamed to CDbModelMappingModifyDialog (as it is a dialog) 2019-02-22 20:23:59 +00:00
Mat Sutcliffe
e40af8132c Fixed clazy warnings: missing Q_OBJECT. 2019-02-22 20:23:33 +00:00
Klaus Basan
363b7c9966 Ref T430, style 2018-12-07 02:37:15 +01:00
Klaus Basan
09f6738363 Ref T369, style 2018-10-03 03:03:39 +02:00
Klaus Basan
3037afabf2 Ref T362, Ref T348 "removed models" context menu 2018-09-22 01:26:40 +02:00
Klaus Basan
8fcbc09473 Ref T362, mapping component added workbench component
- adjusted UI
- singe function to get view per tab
- used setTabWidgetViewText
2018-09-20 00:47:17 +02:00
Klaus Basan
35b70db67d Ref T310, removed "m_separator" from IMenuDelegate as it is not used 2018-08-26 15:27:05 +02:00
Klaus Basan
e4866e3de6 Mapping component, use digest signals and Qt::QueuedConnection 2018-07-25 02:36:49 +02:00
Klaus Basan
452ae4d631 Style Mapping Component code 2018-07-19 18:59:00 +02:00
Klaus Basan
f4d40b2d39 Ref T285, applied new style (private instead private slots) and Qt::QueuedConnection in mapping component 2018-06-27 12:49:18 +02: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
78c618e589 Allow to add to model set from stash 2017-04-18 00:08:23 +01:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
b69008e0b3 refs #829, consolidated settings for simulator/messages
* move traits from blackcore to blackmisc
* renamed CSimulatorSettings/Messages
2016-12-13 19:02:13 +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
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
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
6037ce85ed Fixes context menu for stashing
(there is no sender when invoking the slot)
2016-08-26 21:05:44 +01:00
Klaus Basan
da343d81c1 refs #720, allow to publish when there are errors, but some models pass validation
* return valid and invalid models
* return value "success" when there are any valid models
2016-08-26 21:05:02 +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
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +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
044af1a970 refs #640, changed order in mappigs component 2016-05-07 20:11:44 +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
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
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
fdf41bcce3 Doxygen 2016-03-18 01:10:27 +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
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
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +01:00