diff options
Diffstat (limited to 'tests/auto/qtquick2/qdeclarativebehaviors/data/valueType.qml')
-rw-r--r-- | tests/auto/qtquick2/qdeclarativebehaviors/data/valueType.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qdeclarativebehaviors/data/valueType.qml b/tests/auto/qtquick2/qdeclarativebehaviors/data/valueType.qml new file mode 100644 index 0000000000..7bc8297dc7 --- /dev/null +++ b/tests/auto/qtquick2/qdeclarativebehaviors/data/valueType.qml @@ -0,0 +1,13 @@ +import QtQuick 2.0 +Rectangle { + width: 400 + height: 400 + + color.r: 1 + color.g: 0 + color.b: 1 + + Behavior on color.r { NumberAnimation { duration: 500; } } + + function changeR() { color.r = 0 } +} |