qt5base-lts/tests/auto/widgets/itemviews
Alexander Volkov f657c74263 QListView: Fix Shift+click selection for non-default itemAlignment
QListView::setSelection() algorithm is designed for items to
occupy their cells completely, which is not the case when
itemAlignment is used. The middle part of the selection rect
goes beyond the column borders and extra items are selected.

Use the introduced cellRectForIndex() instead of rectForIndex()
to calculate the middle part correctly.

Fixes: QTBUG-73684
Change-Id: I4a1e42a056d56e85a16d8ae0ffe18b78d1d6deb7
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2019-02-27 15:58:56 +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
qdirmodel winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qfileiconprovider
qheaderview tst_QHeaderView: fix defaultSectionSizeTest() on High-DPI screens 2019-02-05 08:24:45 +00:00
qitemdelegate tst_QItemDelegate: try to stabilize combobox test 2019-01-25 14:47:17 +00:00
qitemeditorfactory
qitemview Autotests/QItemView: re-enable tst_QItemView::indexAt() 2018-09-09 12:04:15 +00:00
qlistview QListView: Fix Shift+click selection for non-default itemAlignment 2019-02-27 15:58:56 +00:00
qlistwidget tests/auto/widgets/itemviews: Avoid unconditional qWait()s 2018-05-09 05:52:22 +00:00
qtableview Blacklist a flaky qtableview function in WinRT 2019-01-08 11:58:41 +00:00
qtablewidget QTableWidget: fix cellChanged signal emitted by takeItem() 2018-10-19 12:19:20 +00:00
qtreeview Don't edit the item if we did not get the press event on the same item 2019-02-26 14:18:18 +00:00
qtreewidget qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
qtreewidgetitemiterator
itemviews.pro Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00