qt5base-lts/tests/auto/widgets/itemviews
Jani Honkonen a85d15259c Fix QListView::scrollTo() when there are hidden rows
This is a cherry-pick of b0601630dd0ddabfaa3b97d042ee02b981d95988
from February

QListView does not consider hidden rows when scrolling to an item.
If there are hidden rows (or columns) before the selected item then
the visual index of an item is not the same as the row index
from the model. So scrolling will be off by the number of hidden
rows before the selected item.

Added a autotest for this also.

Task-number: QTBUG-21115
Change-Id: I01b097bce7f163cdb480a71b763c060cc006fdc7
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-06-14 10:11:26 +02:00
..
qabstractitemview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qcolumnview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdatawidgetmapper Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdirmodel Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfileiconprovider Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qheaderview Rename setResizeMode to setSectionResizeMode. 2012-05-07 17:55:47 +02:00
qitemdelegate Remove capitalization when specifying include-libraries. 2012-05-14 21:34:08 +02:00
qitemeditorfactory Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qitemview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qlistview Fix QListView::scrollTo() when there are hidden rows 2012-06-14 10:11:26 +02:00
qlistwidget Fix tst_qlistwidget::fastScroll test case 2012-06-01 01:21:17 +02:00
qstandarditem Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qstandarditemmodel Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtableview Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtablewidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtreeview Eliminate QTreeWidget drag crash 2012-05-28 16:49:56 +02:00
qtreewidget Fix crash in QTreeWidgetItem::sortChildren when adding new item. 2012-06-08 18:09:07 +02:00
qtreewidgetitemiterator Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
itemviews.pro Move proxy and selection models to QtCore. 2011-12-16 13:00:57 +01:00