blob: 640e2bc22a5fb8c0d87f20908422e47850bd4782 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import QtQuick
Item {
id: root
Component {
id: comp
Rectangle {
color: "blue"
}
}
Component.onCompleted: comp.createObject(root, {"width": 200, "height": 200})
}
|