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

Bartosh Wroblevksy bartosh at live.com
Mon Dec 6 01:13:25 CET 2010


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: aCustomDelegate {            id:myDelegate
            text: sometext          
    }
}
Is it possible?
Thanks,
Bartosh
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101205/6f844ff6/attachment.html 


More information about the Qt-qml mailing list