qt5base-lts/tests/auto/widgets/itemviews
Volker Hilsheimer dfb4697e4a QAbstractItemView: with single selection, deselect on Ctrl+Release
After cbf1b4bc60bca3994b8f8685ee922e53a6b4eed2 the selected item got
deselected on Ctrl+Press, which made Ctrl+dragging a selected item
impossible.

Only deselect on Ctrl+Release. Add scenario to existing test case,
and update the documentation to clarify the properties involved, and
to point out that the event parameter might be nullptr.

Fixes: QTBUG-101647
Pick-to: 6.3 6.2
Change-Id: I749b1cb1a0a311f5c1d4c333984716f05f2c90b5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Volker Enderlein <volker.enderlein@ifm-chemnitz.de>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2022-03-24 00:42:00 +01:00
..
qabstractitemview QAbstractItemView: with single selection, deselect on Ctrl+Release 2022-03-24 00:42:00 +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 QAbstractItemModel: fix persistent index corruption when moving columns 2022-02-28 09:43:37 +01:00
qitemdelegate Deprecate QContextMenuEvent and QMouseEvent ctors without globalPos 2022-02-05 17:18:35 +01: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 Repair some of tst_qtableview tests on Android 2022-03-15 21:05:31 +01:00
qtablewidget Select a single range of cells in QTableView, away from merged cells 2021-10-12 09:07:54 +02:00
qtreeview Repair tst_qtreeview on Android 2022-02-16 22:32:56 +01: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