qt6-bb10/tests/auto
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
..
bic/data Add BC files for 6.2.0 2022-01-07 13:31:38 +00:00
cmake Bump version from 6.2.0 to 6.4.0 in tests as well 2022-01-31 17:20:06 +02:00
concurrent Fix memory leak in QtConcurrent::run when called with a NULL QThreadPool 2022-01-24 22:40:35 +01:00
corelib QPluginLoader: report the right load hints 2022-02-03 03:26:40 +01:00
dbus tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
gui Always wait in the QScreen::grabWindow test 2022-02-03 04:57:26 +01:00
guiapplauncher
network Blacklist putWithServerClosingConnectionImmediately on Windows 2022-02-02 05:25:06 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other QIODevice: use QVLA to hold the ring buffers, not QList 2021-12-15 17:35:13 +00:00
printsupport QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Check for null driver() before trying to exec() 2022-01-25 16:18:35 +01:00
testlib QPlainTestLogger: do not print "failure location" if there's no failure 2022-02-02 23:08:37 +01:00
tools rcc: Fix missing IGNORE directive for Qt version in tst_rcc 2022-01-31 16:20:06 +01:00
widgets Add a QHoverEvent ctor taking global mouse position; deprecate the other 2022-02-03 10:18:43 +01:00
xml QDomDocument::setContent: Open device if necessary 2021-11-09 18:33:39 +01:00
CMakeLists.txt Don't build tests/auto/tools when cross-compiling 2021-10-07 08:03:40 +02:00
network-settings.h