- rename Theming -> Theme
- made derived colors as Q_INVOKABLE methods available
- rename registerIconProvider -> setupTheme
- inside *.qml files use a singleton import instead of a context
Before this change, every request for a theme value copied the map into the
Qml context including the convert of values QVariant -> QJSString
Change-Id: I1c483fb591336b519d5adab8ad37b42bc5a06720
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Use the original fancy toolbar colors by removing the
Alpha channel.
* Use the splitter colors for borders to avoid white borders
in light themes.
* Use the FancyToolButtonHoverColor for buttons and combo boxes.
Change-Id: Id636e0713c8e2769c5eb03a115a60ccad8226f23
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
With this patch the Qt Quick Designer supports:
*Flat
*Flat Dark
*Flat Light
*Classic
I did not test the dark style.
I added a template engine for the .css files. The syntax for the .css
files
is identical to the QML syntax.
Known issues:
* The icons in the property editor do not play well with the
Flat Light style. We have to get proper Core:Icon support for the
icons
and most icons have to be simplified/flattened to fit the new style/
theme.
* Some colors in the connection editor are still dark and hardcoded. But
this looks ok together with all themes.
* The highlight colors are not taken from the theme, yet.
Change-Id: I94f2b75f92db8e131c2b15867dbabe9ae4b2f25a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
On some platforms the style reports touch support and
ScrollViews become flickable.
This is not what user expect from a "normal desktop" application.
Task-number: QTCREATORBUG-14818
Task-number: QTCREATORBUG-14822
Change-Id: Ie15fd66667dca1c0863a29e87ff76583d9aa3eee
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
I set corner to an empty item, because otherwise it looks weird if both
scrollbars are visible.
Change-Id: I149e2ff58f9e9f71b2bb9f435fd64388cbf5529c
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>