Delegate index in ListView [SOLVED]
-
Is there possibility to get index of the delegate in the ListView?
I want in the delegate to determine at which index is in ListView. Of course I can do it through my AbstractListModel but is there another way?
-
Hi,
From within the delegate you can directly reference a special index property. http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodels.html gives more details on this.
Regards,
Michael -
I am blind or what? :)
Thanks.