tests/auto/quick/qquickdesignersupport/data/Component02.qml
raw| 1 | import QtQuick 2.9 |
| 2 | import QtQuick.Window 2.3 |
| 3 | |
| 4 | Item { |
| 5 | id: element1 |
| 6 | width: 200 |
| 7 | height: 200 |
| 8 | objectName: "inner" |
| 9 | |
| 10 | |
| 11 | Rectangle { |
| 12 | id: rectangle2 |
| 13 | objectName: "most inner" |
| 14 | x: 59 |
| 15 | y: 51 |
| 16 | width: 200 |
| 17 | height: 200 |
| 18 | color: "#ffffff" |
| 19 | } |
| 20 | |
| 21 | Component.onCompleted: { |
| 22 | rectangle2.color = "green" |
| 23 | } |
| 24 | } |