Sign in
third-party-mirror
/
orbit
/
301094089f7066c20f6885ee60d316d3f550a3c2
/
.
/
qt-everywhere-src-5.15.1
/
qtdeclarative
/
tests
/
auto
/
qml
/
qqmlcomponent
/
data
/
createParentReference.qml
blob: daa5d3c16744ef73fd22a87cd19bdd31ab4379f5 [
file
] [
log
] [
blame
]
import
QtQuick
2.0
Item
{
id
:
root
width
:
100
height
:
100
function
createChild
()
{
Qt
.
createQmlObject
(
"import QtQuick 2.0;"
+
"Item { width: parent.width; }"
,
root
);
}
}