qt5base-lts/tests/auto/widgets/itemviews
Stephen Kelly 2ef3ac72fc Emit layoutChange signals when changing QPersistentModelIndexes.
This is necessary whenever QPersistentModelIndexes are changed. Omitting
it means that views are not able to react to the change, such as QTreeView
clearing its (manually held) QModelIndex cache, and the QItemSelectionModel
clearing the item from its storage.

It is necessary to change a QSortFilterProxyModel test which assumed setItem
does not have any such effect. That test is ported to setData instead.

Task-number: QTBUG-18539
Change-Id: Id7a602f18b9773ba4d11019418de886860d26d3e
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-08-18 08:34:53 +02:00
..
qabstractitemview Only emit the clicked() signal from views if the left button is used. 2012-08-07 16:40:07 +02:00
qcolumnview Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdatawidgetmapper Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdirmodel Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qfileiconprovider Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qheaderview Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qitemdelegate Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
qitemeditorfactory Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qitemview Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlistview Take scroll position into account when painting drag pixmap. 2012-08-10 21:59:47 +02:00
qlistwidget Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtableview Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtablewidget Ensure that we return an invalid QTableWidgetItem when none is available. 2012-08-07 16:40:07 +02:00
qtreeview Emit layoutChange signals when changing QPersistentModelIndexes. 2012-08-18 08:34:53 +02:00
qtreewidget Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtreewidgetitemiterator Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
itemviews.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00