QmlDesigner: Add more known enums

Change-Id: Ib5e7b724967480d2c8428bb0379dbbe67e0b6daa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2021-04-07 12:47:01 +02:00
parent f4df672935
commit e216a4edf4

View File

@@ -104,10 +104,20 @@ QStringList globalQtEnums()
QStringList knownEnumScopes()
{
static const QStringList list = {
"TextInput", "TextEdit", "Material", "Universal", "Font", "Shape", "ShapePath",
"AbstractButton", "Text", "ShaderEffectSource", "Grid"
};
static const QStringList list = {"TextInput",
"TextEdit",
"Material",
"Universal",
"Font",
"Shape",
"ShapePath",
"AbstractButton",
"Text",
"ShaderEffectSource",
"Grid",
"ItemLayer",
"ImageLayer",
"SpriteLayer"};
return list;
}