summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlstates/data/deleting.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlstates/data/deleting.qml')
-rw-r--r--tests/auto/declarative/qmlstates/data/deleting.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlstates/data/deleting.qml b/tests/auto/declarative/qmlstates/data/deleting.qml
new file mode 100644
index 0000000..3da0b12
--- /dev/null
+++ b/tests/auto/declarative/qmlstates/data/deleting.qml
@@ -0,0 +1,11 @@
+import Qt 4.6
+Rectangle {
+ id: myRectangle
+ width: 100; height: 100
+ color: "red"
+ states: State {
+ name: "blue"
+ PropertyChanges { target: myRectangle; color: "blue"; objectName: "pc1" }
+ PropertyChanges { target: myRectangle; radius: 5; objectName: "pc2" }
+ }
+}