diff --git a/share/qtcreator/snippets/qml.xml b/share/qtcreator/snippets/qml.xml index b5708a3ec3f..f856c204c43 100644 --- a/share/qtcreator/snippets/qml.xml +++ b/share/qtcreator/snippets/qml.xml @@ -70,23 +70,23 @@ } -NumberAnimation { matchTargets: "name"; matchProperties: "name"; duration: 200 } +NumberAnimation { targets: [name]; properties: "name"; duration: 200 } -NumberAnimation { target: "name"; property: "name"; value: name; duration: 200 } +NumberAnimation { target: name; property: "name"; to: value; duration: 200 } -PropertyAction { matchTargets: "name"; matchProperties: "name"; duration: 200 } +PropertyAction { targets: [name]; properties: "name" } -PropertyAction { target: "name"; property: "name"; value: name; duration: 200 } +PropertyAction { target: "name"; property: "name"; value: value } -PauseAnimation { duration: name} +PauseAnimation { duration: 200 } -ColorAnimation { from: name; to: color; duration: 200 } +ColorAnimation { from: color; to: color; duration: 200 } -effect: Colorize { color: "color" } +effect: Colorize { color: "color" } -effect: Blur { blurRadius: "200" } +effect: Blur { blurRadius: "200" } -effect: DropShadow { +effect: DropShadow { blurRadius: 3 offset.x: 2 offset.y: 2