Re: [Qt-qml] aliasing property of a delegate in a listview

2010-12-09 Thread michael.brasser
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

Re: [Qt-qml] aliasing property of a delegate in a listview

2010-12-06 Thread Thomas Perl
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

[Qt-qml] aliasing property of a delegate in a listview

2010-12-05 Thread 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: listviewproperty alias text: myDelegate.text delegate: aCustomDelegate {id:myDelegate text: