Hi again, thanks for all the replies! Nils, thanks for pointing out the beginMoveRows functions and the sample code. So the limitation isn't ListView at all, it's just the QSortFilterProxyModel.
I can confirm that using this method the animations do work, as I've now implemented my own sorting and filtering. It would be great if QSortFilterProxyModel could handle this as well some time in the future, that class is really convenient to use. 2013/8/15 André Somers <an...@familiesomers.nl> > Op 14-8-2013 16:50, Nils Jeisecke schreef: > > Hi, > > > > On Wed, Aug 14, 2013 at 4:41 PM, André Somers <an...@familiesomers.nl> > wrote: > >> I think the root of the problem is that QAbstractItemModel does not have > >> a concept of moving items, while the native QML model does. > > There's beginMoveRows and endMoveRows since 4.6. This also enables > > move animations in the Qml item views. > > > > Nils > Oops! You're completely right. Sorry about that! > > André > > -- > You like Qt? > I am looking for collegues to join me at i-Optics! > > _______________________________________________ > 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