Taking into account the name of your variable I can assume that your
collection is growing.
If it is correct you should take a look to beginInsertRows/endInsertRows
first.

My 2 cents

-- 
Best regards, Sergey Lagner

2017-01-16 6:19 GMT+07:00 mark diener <rpzrpz...@gmail.com>:

> 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?
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to