PDA

View Full Version : Update data from QML when using QAbstractListModel



Luc4
4th October 2011, 08:25
Hi! I'm using a C++ implementation of QAbstractListModel to provide data to a ListView in QML. I also need now to update data by changing values. May you please address me to the/a correct way to do this from QML?
Thanks!

elmgreen
20th October 2011, 11:08
Hi,
You can find an example on how this can be done here:
http://doc.qt.nokia.com/latest/qdeclarativemodels.html#accessing-views-and-models-from-delegates
Cheers,
Bo