| 1 |
import QtQuick 2.9 |
| 2 |
import QtQuick.Window 2.3 |
| 3 |
|
| 4 |
Item { |
| 5 |
visible: true |
| 6 |
width: 640 |
| 7 |
height: 480 |
| 8 |
objectName: "componentRoot" |
| 9 |
|
| 10 |
Rectangle { |
| 11 |
objectName: "topLevelComplete" |
| 12 |
id: rectangle |
| 13 |
x: 378 |
| 14 |
y: 91 |
| 15 |
width: 100 |
| 16 |
height: 100 |
| 17 |
color: "#ffffff" |
| 18 |
} |
| 19 |
|
| 20 |
Item { |
| 21 |
id: element |
| 22 |
x: 14 |
| 23 |
y: 39 |
| 24 |
width: 120 |
| 25 |
height: 120 |
| 26 |
|
| 27 |
Rectangle { |
| 28 |
id: rectangle1 |
| 29 |
objectName: "implemented" |
| 30 |
x: 43 |
| 31 |
y: 52 |
| 32 |
width: 110 |
| 33 |
height: 110 |
| 34 |
color: "#ffffff" |
| 35 |
|
| 36 |
Component.onCompleted: { |
| 37 |
rectangle1.color = "blue" |
| 38 |
} |
| 39 |
} |
| 40 |
} |
| 41 |
|
| 42 |
Component02 { |
| 43 |
id: element1 |
| 44 |
x: 88 |
| 45 |
y: 251 |
| 46 |
} |
| 47 |
|
| 48 |
Component.onCompleted: { |
| 49 |
rectangle.color = "red" |
| 50 |
} |
| 51 |
} |