diff options
Diffstat (limited to 'tests/auto/declarative/qmlstates/data/basicExtension.qml')
-rw-r--r-- | tests/auto/declarative/qmlstates/data/basicExtension.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlstates/data/basicExtension.qml b/tests/auto/declarative/qmlstates/data/basicExtension.qml new file mode 100644 index 0000000..1836f8a --- /dev/null +++ b/tests/auto/declarative/qmlstates/data/basicExtension.qml @@ -0,0 +1,16 @@ +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" + extend: "blue" + PropertyChanges { target: myRectangle; border.width: 2 } + }] +} |