qt5base-lts/tests/auto/widgets/itemviews
Christian Ehrlicher f568bfce64 QTreeView: fix keyboard navigation when first or last item is disabled
The keyboard navigation did not consider the disabled state when trying
to find the new index under all circumstances. This lead to a
non-working PageUp/Down/Home/End navigation when the first or last item
was disabled or hidden.
Fix it by explicitly checking if the calculated item is hidden/enabled
and skip it in this case.

Fixes: QTBUG-44746
Fixes: QTBUG-34832
Change-Id: Ifa3b64a405e67b792db5db9d186d426fcfe183fb
Reviewed-by: David Faure <david.faure@kdab.com>
2018-12-25 10:15:29 +00:00
..
qabstractitemview winrt: Implement QPlatformCursor::setPos 2018-08-06 05:24:35 +00:00
qcolumnview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qdatawidgetmapper tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdirmodel winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qfileiconprovider Updated license headers 2016-01-21 18:55:18 +00:00
qheaderview QHeaderView: Fix updating hidden sections during initializeSections() 2018-11-08 16:54:12 +00:00
qitemdelegate Merge remote-tracking branch 'origin/5.12' into dev 2018-09-13 01:00:39 +02:00
qitemeditorfactory Updated license headers 2016-01-21 18:55:18 +00:00
qitemview Fix use of deprecated ItemDataRoles Background/TextColorRole 2018-11-05 21:58:37 +00:00
qlistview QListView: Speedup handling of hidden items 2018-09-17 14:01:31 +00:00
qlistwidget QListWidget: mark (is|set)Item(Selected|Hidden) as deprecated 2018-12-04 21:01:18 +00:00
qtableview Update ANGLE to chromium/3280 2018-10-13 21:36:35 +00:00
qtablewidget QTableWidget: mark isItemSelected/setItemSelected() as deprecated 2018-11-02 05:57:03 +00:00
qtreeview QTreeView: fix keyboard navigation when first or last item is disabled 2018-12-25 10:15:29 +00:00
qtreewidget QTreeView: fix keyboard navigation when first or last item is disabled 2018-12-25 10:15:29 +00:00
qtreewidgetitemiterator QTreeWidget: mark (is|set)Item(Selected|Hidden|Expanded) as deprecated 2018-11-09 19:07:51 +00:00
itemviews.pro Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00