Reputation: 9708
Let's say I have a QtObject
loaded by a Loader
which is embedded in a Repeater
(which itself is attached to some arbitrary ListModel
).
How would I access the properties and functions of the QtObject
?
Repeater {
id: repeater
model: listModel
Loader {
sourceComponent: QtObject {
property int width: 100
property int height: 100
function foo() {console.log("bar")}
}
}
}
}
Upvotes: 0
Views: 165