diff options
Diffstat (limited to 'tests/auto/declarative/qmlstates/data/basicChanges3.qml')
-rw-r--r-- | tests/auto/declarative/qmlstates/data/basicChanges3.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlstates/data/basicChanges3.qml b/tests/auto/declarative/qmlstates/data/basicChanges3.qml new file mode 100644 index 0000000..62ab1d5 --- /dev/null +++ b/tests/auto/declarative/qmlstates/data/basicChanges3.qml @@ -0,0 +1,15 @@ +import Qt 4.6 +Rectangle { + id: myRectangle + width: 100; height: 100 + color: "red" + states: [ + State { + name: "blue" + PropertyChanges { target: myRectangle; color: "blue" } + }, + State { + name: "bordered" + PropertyChanges { target: myRectangle; border.width: 2 } + }] +} |