- 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>
When a section in the item library is colllapsed, then
the designer should remember this. This was already implemented,
but the feature stop working, because of refactoring.
Change-Id: Ib4465b87ade7b0c8ff501dea9893ee98caaae753
Reviewed-by: Tim Jenssen <tim.jenssen@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>
This allows to show more items in the library.
While we get more and more components it is important
that we can show the increasing amount of items properly.
Change-Id: Ifc5db011b65b7accf96af5192ce2702b6f112da6
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>