Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
5.8.0
-
None
Description
Given the following code:
import QtQuick 2.6 import QtQuick.Window 2.2 Window { visible: true width: 640 height: 480 title: qsTr("Hello World") Row { anchors.fill: parent Repeater { model: 6 delegate: Text { objectName: "text." + index ; text: objectName } } } }
The Text objects's visual item parent is the Row instance, but their QObject parent is nullptr; I would expect it to be the same than their visual parent.
Attachments
Issue Links
- duplicates
-
QTBUG-65261 QML Repeater : where are the objects?
-
- Reported
-
- relates to
-
QTBUG-64546 Instantiator: provide a way to set the QObject parent of the objects it creates
-
- Reported
-
-
QTBUG-17286 There is no parent property in QtObject-based QML elements
-
- Open
-
-
QTBUG-15085 Provide a way to change QObject parent
-
- Open
-