QmlDesigner: Add support for Component type

Component type is added to Component Library and can be dragged to
the scene. Items under the component are not shown in the scene.

Fixes: QDS-5093
Change-Id: I0c80647e73124866a8b772022a761ca6cbb545a1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Miikka Heikkinen
2021-09-24 15:49:49 +03:00
parent 9e5744b1f3
commit e0611c0cfa
9 changed files with 70 additions and 40 deletions

View File

@@ -617,7 +617,6 @@ class UnsupportedTypesByQmlUi : public QStringList
{
public:
UnsupportedTypesByQmlUi() : QStringList({"ShaderEffect",
"Component",
"Drawer"})
{
append(UnsupportedTypesByVisualDesigner());