diff options
| author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2014-11-14 11:29:09 +0100 |
|---|---|---|
| committer | Mitch Curtis <mitch.curtis@digia.com> | 2014-11-14 11:35:33 +0100 |
| commit | 1635e53ea232a7de43576ae240aa4f46df54e708 (patch) | |
| tree | 3240ee4025f5a7c5f8b12c716238e685739253bc /share | |
| parent | 8cfb167a56bfc0d603bdeaf2a0e2a3761957270e (diff) | |
| download | qt-creator-1635e53ea232a7de43576ae240aa4f46df54e708.tar.gz | |
Place each statement of default snippets on their own line.
Change-Id: Ia10d41887e6adbb0603a18fbf69bb1ce67eeac73
Task-number: QTCREATORBUG-12253
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'share')
| -rw-r--r-- | share/qtcreator/snippets/qml.xml | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/share/qtcreator/snippets/qml.xml b/share/qtcreator/snippets/qml.xml index 8d8448d15e..eecb21dc41 100644 --- a/share/qtcreator/snippets/qml.xml +++ b/share/qtcreator/snippets/qml.xml @@ -51,10 +51,35 @@ target: $object$ $$ }</snippet> -<snippet group="QML" trigger="NumberAnimation" id="qml_numberanimationwithtargets" complement="with targets">NumberAnimation { targets: [$object$]; properties: "$name$"; duration: $200$ }</snippet> -<snippet group="QML" trigger="NumberAnimation" id="qml_numberanimationwithtarget" complement="with target">NumberAnimation { target: $object$; property: "$name$"; duration: $200$; easing.type: Easing.$InOutQuad$ }</snippet> -<snippet group="QML" trigger="PropertyAction" id="qml_propertyactionwithtargets" complement="with targets">PropertyAction { targets: [$object$]; properties: "$name$" }</snippet> -<snippet group="QML" trigger="PropertyAction" id="qml_propertyactionwithtarget" complement="with target">PropertyAction { target: $object$; property: "$name$" }</snippet> -<snippet group="QML" trigger="PauseAnimation" id="qml_pauseanimation">PauseAnimation { duration: $200$ }</snippet> -<snippet group="QML" trigger="ColorAnimation" id="qml_coloranimation">ColorAnimation { from: $"white"$; to: $"black"$; duration: $200$ }</snippet> +<snippet group="QML" trigger="NumberAnimation" id="qml_numberanimationwithtargets" complement="with targets"> +NumberAnimation { + targets: [$object$] + properties: "$name$" + duration: $200$ +}</snippet> +<snippet group="QML" trigger="NumberAnimation" id="qml_numberanimationwithtarget" complement="with target"> +NumberAnimation { + target: $object$ + property: "$name$" + duration: $200$ + easing.type: Easing.$InOutQuad$ +}</snippet> +<snippet group="QML" trigger="PropertyAction" id="qml_propertyactionwithtargets" complement="with targets"> +PropertyAction { + targets: [$object$] + properties: "$name$" +}</snippet> +<snippet group="QML" trigger="PropertyAction" id="qml_propertyactionwithtarget" complement="with target"> +PropertyAction { + target: $object$; property: "$name$" }</snippet> +<snippet group="QML" trigger="PauseAnimation" id="qml_pauseanimation"> +PauseAnimation { + duration: $200$ +}</snippet> +<snippet group="QML" trigger="ColorAnimation" id="qml_coloranimation"> +ColorAnimation { + from: $"white"$ + to: $"black"$ + duration: $200$ +}</snippet> </snippets> |
