In such a case I would suggest keeping the data locally referencable instead
delegate: Item {
id: delegateRoot
readonly property text: model.text
Text {
text: delegateRoot.text // or here also: parent.text
}
}
delegate: Item {
id: delegateRoot
readonly property text: model.text
Text {
text: delegateRoot.text // or here also: parent.text
}
}
To copy to clipboard, switch view to plain text mode
That way you can potentially use the delegate in other views, referencing the model through a named view binds it to that specific view instance (can't even rename the view without breaking the delegate!)
Cheers,
_
Bookmarks