Instantiator and new object's parent
Unsolved
QML and Qt Quick
-
Hello all!
I have this code in my app:
Window { // ... ListModel { id: listmodel } Shape { // ... Instantiator { model: listmodel delegate: ShapePath { // ... } } } // ... }
The above code doesn't render the path when I append new item to
listmodel
, it seems like theShapePath
created byInstantiator
set it's parent to theInstantiator
itself while theShape
expectsShapePath
as direct children. Is there a way to controlparent
of objects created byInstantiator
?