Commit Graph

107 Commits

Author SHA1 Message Date
Klaus Basan
600cd52f30 view base improvements
* Use direct update function (not via CVariant anymore)
* refresh indicator
* new signal syntax
2016-04-11 20:16:06 +02:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +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
2515c8235d refs #618, adjusted menus
* new signal slot syntax
* sub menu
2016-03-30 18:22:21 +02:00
Klaus Basan
d509c6b0b5 refs #618, allow to modify and validate data when loaded for a view
* allows to reject data considered incorrect
* data can be modified and adjusted after loading before displaying
2016-03-30 18:22:15 +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
6fdddf8f93 refs #618, allow to update/add models based on model string
* functionality in list
* access via view
* fixed count for changed objects in datastoreobjectlist (now detects replacements)
2016-03-30 13:41:53 +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
a2322aa13b Applied viewport fix for views found here http://stackoverflow.com/q/3433664/356726
* Use new signal/slot syntax
* renamed resize mode
* Using sampleElements for presizing, some finetuning
2016-03-30 13:41:48 +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
18c1da8502 refs #619, allow to open file load / save dialog from view 2016-03-30 03:07:20 +02:00
Klaus Basan
17cbd31095 refs #618, allow to set mode for distributors (simplified mode used for selection in dialog) 2016-03-30 03:07:09 +02:00
Mathew Sutcliffe
a1861c69f0 refs #624 Some more occurrences of constexpr. 2016-03-22 16:02:53 +00:00
Klaus Basan
fdf41bcce3 Doxygen 2016-03-18 01:10:27 +00:00
Klaus Basan
81299b4d16 Disable some context menu functions for log view 2016-03-18 01:09:53 +00:00
Klaus Basan
fb046ae1fb refs #485, moved central GUI functionality to sGui
* allow to send status message to main window (from everywhere)
* Use sGui::changedStylesheet where possible
* message when model is stashed
* improved application startup
2016-03-18 01:09:11 +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
Roland Winklmeier
7953d550ea Fix linux clang errors and warnings
refs #596
2016-02-15 18:35:34 +01:00
Roland Winklmeier
055e4aae17 Fix source code not in sync with doxygen doc
refs #544
2016-02-08 01:53:17 +01: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
Klaus Basan
c1bfd2f6ee refs #577, better context menus 2016-02-05 18:00:17 +01:00
Klaus Basan
873f5f04b9 refs #587, allow to modify multiple properties at once
functions to update a property map
2016-02-05 18:00:08 +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
ae43c4038c refs #576, remove models with string by container
(improved CAircraftModel::matchesModelString)
2016-02-05 17:59:56 +01:00
Klaus Basan
de4b07dc32 refs #576, tweaking view base
* renaming in view base (similar to Qt name rowCount)
* insert function for whole container
2016-02-05 17:59:54 +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
0dda9024d1 Improved sort indicator 2016-01-28 16:31:51 +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
Klaus Basan
46e7d42e8c refs #568, specialized view class for DB objects
* CViewWithDbObjects
* new menu for views (delete key, remove)
* adjusted derived classes
2016-01-28 16:31:43 +01:00
Klaus Basan
3daa0ef0cd refs #526, added removeIf/replaceOrAdd to viewbase 2016-01-28 16:31:32 +01:00
Klaus Basan
ac99f8b984 refs #560, adjusted subclasses for new menus/filters from previous step 2015-12-20 17:01:52 +01:00
Klaus Basan
9fcc846b7a refs #560, allow to load / save from view/model
* added load/save functions
* changed menu from multiple bool members to flag
* shortcut for save
* cleaned up filter dialog handling
2015-12-20 17:01:32 +01:00
Klaus Basan
72891f2443 refs #535, model view adjusted
* allows to drop entities
* using shortcut to stash
* updating selected rows only and return number of altered rows
2015-12-20 17:00:04 +01:00
Klaus Basan
24788b03c6 refs #535, made views drop capable
* drop base added
* and adjusted
2015-12-20 17:00:01 +01:00
Klaus Basan
1601ca62fd refs #535, updated aircraft model / view
* add functions to apply changes to selected objects
* allow to highlight models by their model strings
* Utility function to show which parts come from DB
* model strings can be obtained sorted/unsorted
2015-12-20 16:59:51 +01:00
Klaus Basan
ecb4694c7f refs #535, updated viewbase and formatters
* Fixed wrong masking
* changed signal for model
* update selected models
* directly set object in model
2015-12-20 16:59:30 +01:00
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
3d96e2e332 Shortcut for filter 2015-12-08 20:14:25 +01:00
Klaus Basan
2a10aa93ec Added extra mode for swift client mapping view 2015-12-08 20:14:23 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Klaus Basan
8e852b19ae refs #525, specialized model class for DB entities and improved funtions in view base class
* will allow to highlight entities
* nested custom menus
* moved displayAutomatically() menus in view base class
* fixed which menus are displayed for aircraft models
* also changed to QStandardItem model to see if this is causing any trouble (the real bigger changes will follow in #530)
2015-12-08 20:14:11 +01:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
3acf085b92 refs #477, allow to detect an invisible dock widget parent by using CEnableForDockWidgetInfoArea for the view base
(by that I can tell if the parent dock widget is visible)
2015-11-19 21:04:37 +00:00
Klaus Basan
1b75f068be refs #488, allow to select items in views and clear the console 2015-11-19 21:03:31 +00:00
Klaus Basan
42304f640b refs #477, load indicator appears in wrong place.
A first improvement by re-centering it when view becomes visible.
2015-11-19 21:00:40 +00:00
Klaus Basan
2c91b3ada0 refs #452 models and views created
* for new value objects (e.g. distributor, ...)
* new modes are required (e.g. CStatusMessageListModel::Simplified)
* model filter allowing to filter models
2015-11-19 20:59:40 +00:00
Klaus Basan
25471730e3 refs #452 details textbox for logs
* details can be displayed en detail
* feature can be switched on/off via context menu
* signals in view to select message
2015-11-19 20:59:37 +00:00