[Interest] 5.8.0 QAbstractListModel
mark diener
rpzrpzrpz at gmail.com
Mon Jan 16 00:19:50 CET 2017
Cannot use emit dataChanged(index(0),index(growcount-1)) to cause
re-display of changed
values in ListView.
Tried every combination:
emit dataChanged(index(grow),index(grow));
emit dataChanged(index(0),index(grows));
emit dataChanged(index(0),index(grows-1));
Only can repaint entire ListView with:
this->beginResetModel();
this->endResetModel();
But this is overkill,. I want to trigger the Model to update a single
row.
Anyone with ideas?
More information about the Interest
mailing list