qt5base-lts/tests/auto/widgets
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
..
dialogs Remove "insignificant" flag from qfilesystemmodel test 2019-02-21 10:43:19 +00:00
effects qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
graphicsview winrt: Handle WaitForWindowExposed 2019-02-13 14:04:58 +00:00
itemviews QListView: Fix Shift+click selection for non-default itemAlignment 2019-02-27 15:58:56 +00:00
kernel Merge remote-tracking branch 'origin/5.12.1' into 5.12 2019-01-23 10:13:29 +01:00
styles Fix resolve() on fonts returned from QWidget::font() 2019-01-22 18:43:18 +00:00
util Set QScroller's parent to its widget, for memory management 2018-12-08 07:18:15 +00:00
widgets Fix QSpinBox tests failing after change in the Windows QPA 2019-02-12 22:17:40 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00