qt5base-lts/tests/auto/corelib/itemmodels
Tim Angus 5c7f6ee51f QSFPM: Faster row removes
When the source model of a QSortFilterProxyModel has rows removed, a
mapping is performed in order to figure out which corresponding rows in
the sorted and filtered view of the model are affected. In doing so it
constructs a vector of removal intervals which are subsequently used to
emit rowsRemoved signals. In the case where many rows are removed (e.g.
all of them), many removal intervals are identified that are often
adjacent and could be simplified, which is what this patch does. i.e.
instead of emitting 3 rowsRemoved for 0-3, 4-6, 7-12, now a single
rowsRemoved is emitted for 0-12.

Change-Id: Ia503091cc4928378c88257cd8b431582e9ff454e
Reviewed-by: David Faure <david.faure@kdab.com>
2018-03-13 09:42:36 +00:00
..
qabstractitemmodel QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
qabstractproxymodel Add QModelIndex::siblingAtColumn and ::siblingAtRow 2018-01-12 15:12:53 +00:00
qidentityproxymodel QAbstractItemModelTester: fix the autotests 2018-01-09 21:12:58 +00:00
qitemmodel Add QModelIndex::siblingAtColumn and ::siblingAtRow 2018-01-12 15:12:53 +00:00
qitemselectionmodel Fix missing handling of columns when merging selection ranges 2017-05-09 13:46:51 +00:00
qsortfilterproxymodel QSFPM: Faster row removes 2018-03-13 09:42:36 +00:00
qsortfilterproxymodel_recursive QListWidgetItem/QStandardItem: pass role to dataChanged() signal 2018-01-26 19:58:26 +00:00
qstringlistmodel tst_qstringlistmodel: remove an invalid test 2017-11-24 18:23:40 +00:00
itemmodels.pro Merge remote-tracking branch 'origin/5.9' into dev 2017-03-28 09:28:31 +02:00