Snippets: Rename a few QML snippets variables

Task-number: QTCREATORBUG-3803
This commit is contained in:
Leandro Melo
2011-02-22 10:59:29 +01:00
parent ba073b96d2
commit e32cf192f7

View File

@@ -23,7 +23,7 @@
State { State {
name: "$name$" name: "$name$"
PropertyChanges { PropertyChanges {
target: $name$ target: $object$
$$ $$
} }
} }
@@ -31,30 +31,30 @@
<snippet group="QML" trigger="State" id="qml_state">State { <snippet group="QML" trigger="State" id="qml_state">State {
name: "$name$" name: "$name$"
PropertyChanges { PropertyChanges {
target: $name$ target: $object$
$$ $$
} }
}</snippet> }</snippet>
<snippet group="QML" trigger="transitions" id="qml_transitions">transitions: [ <snippet group="QML" trigger="transitions" id="qml_transitions">transitions: [
Transition { Transition {
from: "$name$" from: "$fromState$"
to: "$name$" to: "$toState$"
$$ $$
} }
]</snippet> ]</snippet>
<snippet group="QML" trigger="Transition" id="qml_transition">Transition { <snippet group="QML" trigger="Transition" id="qml_transition">Transition {
from: "$name$" from: "$fromState$"
to: "$name$" to: "$toState$"
$$ $$
}</snippet> }</snippet>
<snippet group="QML" trigger="PropertyChanges" id="qml_propertychanges">PropertyChanges { <snippet group="QML" trigger="PropertyChanges" id="qml_propertychanges">PropertyChanges {
target: $name$ target: $object$
$$ $$
}</snippet> }</snippet>
<snippet group="QML" trigger="NumberAnimation" id="qml_numberanimationwithtargets" complement="with targets">NumberAnimation { targets: [$name$]; properties: "$name$"; 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: $name$; property: "$name$"; to: $value$; duration: $200$ }</snippet> <snippet group="QML" trigger="NumberAnimation" id="qml_numberanimationwithtarget" complement="with target">NumberAnimation { target: $object$; property: "$name$"; to: $value$; duration: $200$ }</snippet>
<snippet group="QML" trigger="PropertyAction" id="qml_propertyactionwithtargets" complement="with targets">PropertyAction { targets: [$name$]; properties: "$name$" }</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: $name$; property: "$name$"; value: $value$ }</snippet> <snippet group="QML" trigger="PropertyAction" id="qml_propertyactionwithtarget" complement="with target">PropertyAction { target: $object$; property: "$name$"; value: $value$ }</snippet>
<snippet group="QML" trigger="PauseAnimation" id="qml_pauseanimation">PauseAnimation { duration: $200$ }</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="ColorAnimation" id="qml_coloranimation">ColorAnimation { from: $"white"$; to: $"black"$; duration: $200$ }</snippet>
</snippets> </snippets>