qt5base-lts/tests/auto/widgets/itemviews
Volker Hilsheimer d22bafe355 QTableView: correctly toggle column selection when scrolled
We need to check whether the horizontal header's selection includes the
index for the row at the top, rather than for row 0, as the index we
check is based on the scrolled position of the header, so would never be
included in the top row when the view is scrolled. This is correctly
done in selectRow already.

Add a test case that simulates selection of rows and columns by clicking
on the header.

Fixes: QTBUG-98444
Pick-to: 6.2
Change-Id: I2fa1b32bf75dc96225b40145b713bf7e2ffc29dd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2021-12-02 14:16:49 +00:00
..
qabstractitemview QAIV: Reset double-click flag in mousePressEvent 2021-11-05 14:52:25 +01:00
qcolumnview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qdatawidgetmapper Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfileiconprovider Verify that QFileIconProvider returns valid pixmaps 2021-02-23 15:34:05 +01:00
qheaderview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemdelegate QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
qitemeditorfactory Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemview Remove the qmake project files 2021-01-07 15:32:28 +01:00
qlistview QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
qlistwidget emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
qtableview QTableView: correctly toggle column selection when scrolled 2021-12-02 14:16:49 +00:00
qtablewidget Select a single range of cells in QTableView, away from merged cells 2021-10-12 09:07:54 +02:00
qtreeview Prefer QFAIL("Informative message") over QVERIFY(false) 2021-06-14 15:57:16 +02:00
qtreewidget emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
qtreewidgetitemiterator Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00