qt5base-lts/tests/auto/widgets
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
..
dialogs Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
effects Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
graphicsview Speed up tst_QGraphicsView::mapToScene test 2012-08-13 09:32:21 +02:00
itemviews Emit layoutChange signals when changing QPersistentModelIndexes. 2012-08-18 08:34:53 +02:00
kernel Fix qlayout autotest build for WinCE. 2012-08-09 13:18:08 +02:00
styles Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
util Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00
widgets Emit the highlighted signal if the model changes. 2012-08-15 13:58:29 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00