Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
17 lines
456 B
QML
17 lines
456 B
QML
import QtQuick 1.0
|
|
|
|
Item{
|
|
id: root
|
|
property QtObject qobject : null
|
|
property QtObject declarativeitem : null
|
|
property QtObject graphicswidget: null
|
|
Component{id: a; QtObject{} }
|
|
Component{id: b; Item{} }
|
|
Component{id: c; QGraphicsWidget{} }
|
|
Component.onCompleted: {
|
|
root.qobject = a.createObject(root);
|
|
root.declarativeitem = b.createObject(root);
|
|
root.graphicswidget = c.createObject(root);
|
|
}
|
|
}
|