forked from qt-creator/qt-creator
QmlDesigner: Add more ids to discouraged ids
These ids match type names and likely collide with properties. Change-Id: I1ca9db9f11698c5e6e459e3569c75c3f66ca2777 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
83a68d04ae
commit
8dbc5475c6
@@ -116,6 +116,8 @@ constexpr auto qmlDiscouragedIds = toSortedArray<std::u16string_view>(u"action",
|
|||||||
u"baseState",
|
u"baseState",
|
||||||
u"border",
|
u"border",
|
||||||
u"bottom",
|
u"bottom",
|
||||||
|
u"button",
|
||||||
|
u"checkbox",
|
||||||
u"clip",
|
u"clip",
|
||||||
u"data",
|
u"data",
|
||||||
u"enabled",
|
u"enabled",
|
||||||
@@ -128,9 +130,11 @@ constexpr auto qmlDiscouragedIds = toSortedArray<std::u16string_view>(u"action",
|
|||||||
u"layer",
|
u"layer",
|
||||||
u"left",
|
u"left",
|
||||||
u"margin",
|
u"margin",
|
||||||
|
u"mouseArea",
|
||||||
u"opacity",
|
u"opacity",
|
||||||
u"padding",
|
u"padding",
|
||||||
u"parent",
|
u"parent",
|
||||||
|
u"rectangle",
|
||||||
u"right",
|
u"right",
|
||||||
u"scale",
|
u"scale",
|
||||||
u"shaderInfo",
|
u"shaderInfo",
|
||||||
@@ -139,7 +143,10 @@ constexpr auto qmlDiscouragedIds = toSortedArray<std::u16string_view>(u"action",
|
|||||||
u"spriteSequence",
|
u"spriteSequence",
|
||||||
u"state",
|
u"state",
|
||||||
u"stateGroup",
|
u"stateGroup",
|
||||||
|
u"switch",
|
||||||
u"text",
|
u"text",
|
||||||
|
u"textedit",
|
||||||
|
u"textinput",
|
||||||
u"texture",
|
u"texture",
|
||||||
u"time",
|
u"time",
|
||||||
u"top",
|
u"top",
|
||||||
|
Reference in New Issue
Block a user