Commit Graph

959 Commits

Author SHA1 Message Date
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
d2aa2e9c1c refs #750, allow to reset window position of dock widget 2016-08-29 18:33:00 +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
58faed5ea7 refs #745, removed unused hover code
(this was a trial to highlight the drop position, the callback function was kept)
2016-08-27 14:31:42 +02:00
Klaus Basan
f506d780b9 refs #745, get temp. livery from web services 2016-08-27 14:31:41 +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
02e8d4a4cb refs #745, made modify form a CForm
* disable exclude mode when not admin
* set min. sizes for UI (better layout)
2016-08-26 21:06:09 +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
b7d689d63d refs #742, allow to search for color liveries in livery form
(using dialog)
2016-08-26 21:06:01 +01:00
Klaus Basan
c5f60bc582 refs #742, dialog to search for color livery 2016-08-26 21:05:59 +01:00
Klaus Basan
940137b921 refs #720, tristate checkboxes need to be connected by QCheckBox::clicked 2016-08-26 21:05:56 +01:00
Klaus Basan
231bfea566 refs #741, allow to discard settings
(not saving, but continue closing)
2016-08-26 21:05:55 +01:00
Roland Winklmeier
b25966bac3 Disable QFrame borders in stylesheet 2016-08-26 21:05:50 +01:00
Klaus Basan
f1cd73a268 refs #734, allow to set temp.livery 2016-08-26 21:05:47 +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
Klaus Basan
b324a26747 refs #735, allow to reset highlighting
(some leftovers of DB object highlighting also deleted)
2016-08-26 21:05:33 +01:00
Roland Winklmeier
fcac3b8137 Fix making a CInfoArea window visible during construction
refs #738
2016-08-26 21:05:25 +01:00
Roland Winklmeier
1ff06a1174 Improve style of QCheckBox and QRadioButton 2016-08-26 21:05:23 +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
8210423c44 Set selection background color stylesheet to blue
refs #683
2016-08-26 21:05:17 +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
c0a898c6c9 refs #555, allow to filter by file name
* also allow to filter by color
* and military
2016-08-26 21:05:08 +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
364914cc31 refs #720, file name handling in models
* normalize file name before writing to DB
* use local file paths for local models
* display "C" for color liveries
2016-08-26 21:05:00 +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
89ac38a072 refs #720, ui context menu finetuning
* renaming / formatting
* const predefined subdir menus
2016-08-26 21:04:52 +01:00
Klaus Basan
017c593b67 refs #723, reset order when adding models to own model set 2016-08-26 21:04:51 +01:00