Commit Graph

925 Commits

Author SHA1 Message Date
Roland Winklmeier
40d4c7774d Make originators calling updateAircraftModel identifable
refs #765
2016-09-19 16:29:37 +02:00
Klaus Basan
03b5f9ce2c refs #764, improved JSON response with messages for JSON authentication service 2016-09-19 16:18:56 +02: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
0846a8773a refs #755, validation also for "distributors from DB"
* validation now in webdataservices (so it can check against DB data)
* utility functions
2016-09-19 16:18:50 +02:00
Klaus Basan
610dba2028 refs #757, materialize filtered data
* menu item / flag
* functions in view class
* some minor formatting
2016-09-19 16:18:48 +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
1e8090d366 refs #755, "remove published models" message 2016-09-19 16:18:42 +02:00
Klaus Basan
c4769e2ab5 refs #755, temp. workaround for multi line placeholder bug 2016-09-19 16:18:42 +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
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
7330ccba1b refs #751, hint of how data are published
* user object in stash components
* publish button text changed to reflect user`s rights
* User object in form read only
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
ced9f5294e refs #751, info if user can directly update models
* modified login component, give hints
* user object has flag for direct write
2016-09-19 16:18:40 +02:00
Klaus Basan
2cc88d9c6a refs #751, overlay message for Login Component fixed 2016-09-02 19:47:17 +02:00
Klaus Basan
bfd94ea6a8 refs #749, SELCAL and cockpit finetuning
* SELCAL combobox was too long
* Use tool instead of push buttons
2016-08-29 00:27:52 +02:00
Klaus Basan
1d1815de43 refs #748, add airport completers
* in flight plan
* in login
* utility functions
2016-08-28 23:26:11 +02:00
Klaus Basan
461a995a92 refs #745, always update model set before matching test
(fixes issue reported by RW in #745)
2016-08-27 19:41:47 +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
8afac921f4 refs #745, improved own model set dialog
* allow to consolidate data
* display either preferences or all distributors
2016-08-27 14:31:45 +02:00
Klaus Basan
a49b98166c refs #745, allow to decide which descriptions are overridden in auto stashing
* adjusted CAircraftModel to ignore auto generated message
* radio buttons in GUI to select all/non-empty descriptions
* allow to use the temp. livery
2016-08-27 14:31:44 +02:00
Klaus Basan
d62c6a5567 refs #745, prevent problems by setting a default callsign "SWIFT" for model matcher 2016-08-26 21:06:10 +01: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
04a9381858 refs #745, fixes "validation passed" message when there are still errors 2016-08-26 21:06:07 +01:00
Klaus Basan
7bb6979b90 Mapping tool settings layout 2016-08-26 21:06:06 +01:00
Klaus Basan
e8aa873ea0 Formatting 2016-08-26 21:06:03 +01:00
Klaus Basan
c5f60bc582 refs #742, dialog to search for color livery 2016-08-26 21:05:59 +01:00
Klaus Basan
231bfea566 refs #741, allow to discard settings
(not saving, but continue closing)
2016-08-26 21:05:55 +01:00
Klaus Basan
4e381a048f refs #740, GUI settings in own component
* used in client/mapping tool
* reset font possible
2016-08-26 21:05:46 +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
227190ab42 Minor adjustments
* ignore empty root dir
* check for empty context
2016-08-26 21:05:43 +01:00
Klaus Basan
5789120ecc refs #555, load models from directory
* file dialog
* adjusted signatures to pass directory
2016-08-26 21:05:42 +01:00
Klaus Basan
126df28d0c refs #735, formatting 2016-08-26 21:05:37 +01:00
Klaus Basan
61ac328d10 refs #735, remove invalid objects from stash
* button "remove invalid objects"
* tab order fixed
2016-08-26 21:05:36 +01:00
Klaus Basan
9c2a2de4c5 refs #732, (re)set current distributor preferences from context menu 2016-08-26 21:05:34 +01:00
Roland Winklmeier
9515109719 Initially fill hotkey settings component from settings
When the component was constructed, the table view with configured
hotkeys was empty even if hotkeys were configured.
This commit reloads the configured settings during component construction
and populates the table.
2016-08-26 21:05:20 +01:00
Roland Winklmeier
b78b40bbc0 Make widget style configurable with Fusion as default
Up to now the UI appearance on all platforms was aligned as much as
possible with stylesheets. Since the base widget styles still were
platform dependent defaults, there were many small differences in
details and controls. Some of them were even broken. Instead of
trying to tweak all platform specific styles, default to one on all
platforms. This guarantees that the UI is truly cross platform and
all styles and fixes cover all platforms at the same time.
For users who want to change the default style, they have now a gui
setting. But it is strongly recommended to stick with the default.

refs #683
2016-08-26 21:05:16 +01:00
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01:00
Klaus Basan
e3fc72d775 refs #720, fixed: display all models when only selected models are consolidated
* in same step fixed location of error message
* minor renaming
2016-08-26 21:05:06 +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
d10fe5ad18 refs #728, hide load indicator when no vPilot rules are loaded 2016-08-26 21:05:01 +01:00
Klaus Basan
1a4b0c5e76 refs #720, show file name in editor (mapping tool) 2016-08-26 21:04:55 +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
017c593b67 refs #723, reset order when adding models to own model set 2016-08-26 21:04:51 +01:00
Klaus Basan
d65c2dddfb refs #726, flight plan fixes
* airports as normal 4 character fields
* validation messsage if validation is OK
2016-08-26 21:04:37 +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
ecfe4ab1fc refs #720, stash component
* use centralized consolidation function (removed local duplicate)
* renamings
2016-08-26 21:04:30 +01:00
Klaus Basan
a9464ef537 refs #720, use interfaces directly with component
(menus functions can directly update data)
2016-08-26 21:04:28 +01:00
Klaus Basan
c591fe2517 refs #720, force reload of DB data loads directly from DB 2016-08-26 21:04:27 +01:00
Klaus Basan
c5dc61d64f refs #720, renaming in writer 2016-08-26 21:04:26 +01:00
Klaus Basan
1167735897 refs #720, adjusted exposed functions to new naming
* some minor formatting
* use the new condolidation functions
2016-08-26 21:04:23 +01:00