| branch | GCC_SURGE |
| changeset 31 | 5daf16870df6 |
| parent 30 | 5dc02b23752f |
| 27:93b982ccede2 | 31:5daf16870df6 |
|---|---|
1 import Qt 4.7 |
|
2 |
|
3 Item{ |
|
4 id: root |
|
5 property QtObject qobject : null |
|
6 property QtObject declarativeitem : null |
|
7 property QtObject graphicswidget: null |
|
8 Component{id: a; QtObject{} } |
|
9 Component{id: b; Item{} } |
|
10 Component{id: c; QGraphicsWidget{} } |
|
11 Component.onCompleted: { |
|
12 root.qobject = a.createObject(root); |
|
13 root.declarativeitem = b.createObject(root); |
|
14 root.graphicswidget = c.createObject(root); |
|
15 } |
|
16 } |