Hi,
The ListView's delegate is really just a template for the list items that will
be shown in the view (as Girish pointed out in an earlier thread, delegate:
aCustomDelegate {} is really just shorthand for delegate: Component {
aCustomDelegate {} }), which is why you cannot create an alias to
Hi Bartosh,
2010/12/6 Bartosh Wroblevksy
> I would like to export the properties of the delegate of a listview to make
> it more reusable. In other words, I would like to do something like this
>
> ListView {
> id: listview
> property alias text: myDelegate.text
>
> delegate: aCustom
I would like to export the properties of the delegate of a listview to make it
more reusable. In other words, I would like to do something like this
ListView {
id: listviewproperty alias text: myDelegate.text
delegate: aCustomDelegate {id:myDelegate
text: