forked from qt-creator/qt-creator
QmlJSCheck: Adding more unsupported in designer types
Using initializer lists looks much better. Change-Id: I314d846a9d383dbda432cd67010d79b492f40915 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
f33c6210cb
commit
062512a246
@@ -549,29 +549,38 @@ public:
|
|||||||
class UnsupportedTypesByVisualDesigner : public QStringList
|
class UnsupportedTypesByVisualDesigner : public QStringList
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
UnsupportedTypesByVisualDesigner()
|
UnsupportedTypesByVisualDesigner() : QStringList({"Transform",
|
||||||
|
"Timer",
|
||||||
|
"Rotation",
|
||||||
|
"Scale",
|
||||||
|
"Translate",
|
||||||
|
"Package",
|
||||||
|
"Particles",
|
||||||
|
"Dialog"})
|
||||||
{
|
{
|
||||||
(*this) << QLatin1String("Transform") << QLatin1String("Timer")
|
|
||||||
<< QLatin1String("Rotation") << QLatin1String("Scale")
|
|
||||||
<< QLatin1String("Translate") << QLatin1String("Package")
|
|
||||||
<< QLatin1String("Particles");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class UnsupportedTypesByQmlUi : public QStringList
|
class UnsupportedTypesByQmlUi : public QStringList
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
UnsupportedTypesByQmlUi()
|
UnsupportedTypesByQmlUi() : QStringList({"Binding",
|
||||||
|
"ShaderEffect",
|
||||||
|
"ShaderEffectSource",
|
||||||
|
"Component",
|
||||||
|
"Loader",
|
||||||
|
"Transition",
|
||||||
|
"PropertyAnimation",
|
||||||
|
"SequentialAnimation",
|
||||||
|
"PropertyAnimation",
|
||||||
|
"SequentialAnimation",
|
||||||
|
"ParallelAnimation",
|
||||||
|
"NumberAnimation",
|
||||||
|
"Drawer"})
|
||||||
{
|
{
|
||||||
(*this) << UnsupportedTypesByVisualDesigner()
|
append(UnsupportedTypesByVisualDesigner());
|
||||||
<< QLatin1String("Binding") << QLatin1String("ShaderEffect")
|
|
||||||
<< QLatin1String("ShaderEffectSource") << QLatin1String("Canvas")
|
|
||||||
<< QLatin1String("Component") << QLatin1String("Loader") << QLatin1String("Transition")
|
|
||||||
<< QLatin1String("PropertyAnimation") << QLatin1String("SequentialAnimation")
|
|
||||||
<< QLatin1String("ParallelAnimation") << QLatin1String("NumberAnimation");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class UnsupportedRootObjectTypesByVisualDesigner : public QStringList
|
class UnsupportedRootObjectTypesByVisualDesigner : public QStringList
|
||||||
|
|||||||
Reference in New Issue
Block a user