Commit Graph

2667 Commits

Author SHA1 Message Date
Klaus Basan
eb74efa9ba refs #568, improved error handling / parameter names in readers
* better categories
* parameter name as static functions
* error message in structure CDatabaseReader::JsonDatastoreResponse
* prefixed members of structure with _m
* consolidate severity
2016-01-28 16:31:59 +01:00
Klaus Basan
4c92ab0444 refs #568, find max key value
(useful when key is integer to find latest values)
2016-01-28 16:31:57 +01:00
Klaus Basan
6802880e52 refs #568, improved display for status message categories 2016-01-28 16:31:56 +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
31c86da50b refs #568, only one IDatastoreObjectList by making the key type a template parameter 2016-01-28 16:31:54 +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
9f646f215c refs #571, allow to select distributor by key or alias
* removed redundant getId function
* functions for completer
2016-01-28 16:31: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
0326356f43 refs #568, allow to set mapping mode by flag 2016-01-28 16:31:48 +01:00
Klaus Basan
6364853264 refs #568, adjusted GUI components
* use incremental updates
* use new signatures
* handle successfully published models
* some custom menus are gone, because they are now part of the specialized views
2016-01-28 16:31:46 +01:00
Klaus Basan
c0b66d93f1 refs #568, allow to confirm (OK/CANCEL) in overlay window
So we can display status messages in the same step and decide what to do
2016-01-28 16:31:45 +01:00
Klaus Basan
46336e9cce refs #568, allow to read incremental data based on timestamp
* signatures with QDateTime
* flags
2016-01-28 16:31:44 +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
1ddf470a1d Fixes
* set correct time zone
* use RVO (MS review refs #561)
2016-01-28 16:31:42 +01:00
Klaus Basan
f607b72821 refs #568, specialized model class for models from DB
* support for keys
* renamed to listmodeldbobjects (unified with views)
* key type as template parameter
* adjusted derived classes
2016-01-28 16:31:41 +01:00
Klaus Basan
6770114f2c Use validator in filter bar 2016-01-28 16:31:40 +01:00
Klaus Basan
72256cf86f refs #568, specialized lists (timestamp, DB objects, model list)
* remaned to latest/oldestObject
* JSON functions with prefix
* remove by keys
* only add models with model string to QStringList
2016-01-28 16:31:38 +01:00
Klaus Basan
5a17506a97 refs #526, finetuning in 2 components 2016-01-28 16:31:37 +01:00
Klaus Basan
483c48cb82 refs #526, reviewed setup reader (cache)
There are more adjustment when we eventually have all the features as discussed in the meeting available
2016-01-28 16:31:36 +01:00
Klaus Basan
e7f8061511 refs #526, changed to publishing multiple (instead of 1) models 2016-01-28 16:31:35 +01:00
Klaus Basan
3168ef266a refs #526, improved some filters
* validators
* layout
2016-01-28 16:31:34 +01:00
Klaus Basan
3daa0ef0cd refs #526, added removeIf/replaceOrAdd to viewbase 2016-01-28 16:31:32 +01:00
Klaus Basan
5aa1f3bc94 refs #526, forms
* fixed read only
* in read only mode no warnings (then we just do mapping and warnings do not help)
2016-01-28 16:31:31 +01:00
Klaus Basan
0a6ed4e874 refs #527, changed writer to be able to publish multiple models at once 2016-01-28 16:31:30 +01:00
Klaus Basan
5ab0173508 refs #527, JSON reading of value objects
* renamed simkey to modelstring
* allow parsing of stub objects (only foreign keys, not denormalized)
2016-01-28 16:31:29 +01:00
Klaus Basan
c7121e3f9f refs #526, network
* signal when data have been published
* parsing of publishing JSON object
* utility functions
2016-01-28 16:31:28 +01:00
Klaus Basan
6fc39fb2d5 refs #526, category/statusmessage
* new categories
* utility functions in status message
2016-01-28 16:31:18 +01:00
Klaus Basan
4e0e2cddf8 refs #561, Compressed JSON format for model
* based on RI DB keys
* utility functions
2016-01-28 16:28:01 +01:00
Klaus Basan
e8afb78e90 Fix menu in stylesheet 2016-01-28 16:28:00 +01:00
Klaus Basan
3387caabdc refs #562, allow to validate models
* GUI part
* allow to merge a list of messages into one
* validation function
2016-01-28 16:27:32 +01:00
Roland Winklmeier
459b935e3b Add missing override keyword in CContextApplication 2016-01-28 02:49:09 +01:00
Roland Winklmeier
c5fab7fb71 Weather data sample
New sample demonstrating how to use the weatherplugins to get and print
weatherdata around a geo position

refs #556
2016-01-28 01:36:35 +01:00
Roland Winklmeier
ef9da08dcf Ignore g2clib cppcheck warnigs
refs #556
2016-01-28 01:36:32 +01:00
Roland Winklmeier
aabaf69bcd [g2clib] Fix redundant nullptr check when freeing memory 2016-01-28 01:36:30 +01:00
Roland Winklmeier
2fa0c669df [g2clib] Fix warning about conversion from double to float 2016-01-28 01:36:28 +01:00
Roland Winklmeier
c226b07c5b [g2clib] Fix potential null pointer dereference 2016-01-28 01:36:26 +01:00
Roland Winklmeier
25d548c195 [g2clib] Fix uninitialized variables 2016-01-28 01:36:23 +01:00
Roland Winklmeier
7d88bdd43b [g2clib] Fix memory leaks 2016-01-28 01:36:18 +01:00
Roland Winklmeier
f4f5999595 [g2clib] Fix compiler warnings 2016-01-28 01:36:16 +01:00
Roland Winklmeier
f290f09d4e [g2clib] Fix projection issues
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-degrib.patch
2016-01-28 01:36:13 +01:00
Roland Winklmeier
cf0e93afdc [g2clib] Fix sigfault if simunpack() is called with 0 values to unpack
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-simunpack.patch
2016-01-28 01:36:10 +01:00
Roland Winklmeier
dda82f75d6 [g2clib] Remove multiple definitions of templates
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-templates.patch
2016-01-28 01:36:08 +01:00
Roland Winklmeier
8ee165bc28 [g2clib] Fix up type detection and printf arguments on 64-bit machines
Patch from Fedora 23
http://pkgs.fedoraproject.org/cgit/rpms/g2clib.git/tree/g2clib-64bit.patch
2016-01-28 01:36:05 +01:00
Roland Winklmeier
22ef3e81aa [g2clib] Make C functions available in C++ modules 2016-01-28 01:36:02 +01:00
Roland Winklmeier
3fd9d1bffe Implement GFS weatherdata plugin
refs #556
2016-01-28 01:36:00 +01:00
Roland Winklmeier
79210cb14e Add new WeatherData plugin structure
refs #556
2016-01-28 01:35:58 +01:00
Roland Winklmeier
ca06933c0d Add weather grid classes
refs #556
2016-01-28 01:35:55 +01:00
Roland Winklmeier
59508305ae Add CTemperatureLayer, CTemperatureLayerList and CWindLayerList classes
refs #556
2016-01-28 01:35:53 +01:00