| 1 |
import QtQuick 2.11 |
| 2 |
|
| 3 |
Rectangle { |
| 4 |
objectName: "rootItem" |
| 5 |
color: "white" |
| 6 |
width: 800 |
| 7 |
height: 600 |
| 8 |
|
| 9 |
TestComponent { |
| 10 |
objectName: "testComponent" |
| 11 |
|
| 12 |
} |
| 13 |
|
| 14 |
Rectangle { |
| 15 |
objectName: "rectangleItem" |
| 16 |
containmentMask: Item { |
| 17 |
|
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
Item { |
| 22 |
id: item |
| 23 |
objectName: "simpleItem" |
| 24 |
property string testProperty: dynamicProperty |
| 25 |
} |
| 26 |
|
| 27 |
states: [ |
| 28 |
State { |
| 29 |
name: "state01" |
| 30 |
PropertyChanges { |
| 31 |
target: item |
| 32 |
width: 10 |
| 33 |
} |
| 34 |
}, |
| 35 |
State { |
| 36 |
name: "state02" |
| 37 |
} |
| 38 |
] |
| 39 |
} |