qt5base-lts/tests/auto/widgets/itemviews
Shawn Rutledge 0a64a044b6 Add a QHoverEvent ctor taking global mouse position; deprecate the other
The QSinglePointEvent ctor assumes that the given globalPos is correct,
so it was wrong that the QHoverEvent ctor passed along a local position
as global. It's better to require globalPos as an argument; and in fact
it seems that everywhere we construct a QHoverEvent, global position is
available, or possible to get by transformation (which is better than
resorting to QCursor::pos()).

Also, don't convert to QPoint: pointer events have qreal resolution and
there's no reason to truncate them.

Fixes: QTBUG-100324
Change-Id: I919455da36265988d3d149eb97563c9ed0d2c660
Pick-to: 6.3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-02-03 10:18:43 +01: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 Add a QHoverEvent ctor taking global mouse position; deprecate the other 2022-02-03 10:18:43 +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