Hi Mohit, On 02/03/2011, at 2:42 PM, ext Mohit Jain wrote:
> Hello , > > Is there any method / function by which we can refresh items in a Listview > (just to repaint delegate) ? > > It would be great if we can access individual items of delegate and change > their values ? For e.g. Listview has collection of images, on clicking on > any of the image will change the source of the same image. To do you this, you could add a MouseArea to your delegate and change the Image source property when the mouse area is clicked. Or, if the source value comes from a model role, you can call ListModel's set() or setProperty() to change to change the value, which will automatically update the delegate. regards, Bea _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
