qt5base-lts/tests/auto
Volker Hilsheimer 92df790f46 QApplication: refactor delivery and propagation of wheel events
Handle wheel grabbing via wheel_widget in a single place, and
propagate events in the same way for all (spontaneous) events.

Handle ScrollMomentum the same way as ScrollUpdate to allow
partial sequences.

Fix the incorrect ignoring of wheel events by default; like all
other input events, they are now again accepted by default and
ignored in the default event handler implementation of QWidget.
This way, implementing the handle suffices to accept the event.
Note that QWidget::wheelEvent doesn't need to be changed, as the
event is ignored there today (an oversight of the change made in
f253f4c3, perhaps).

This also fixes changing of direction of a wheel event while
the event sequence is grabbed by a widget.

Change-Id: Ia0f03c14dede80322d690ca50d085898a0497dbe
Fixes: QTBUG-67032
Task-number: QTBUG-79102
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2020-05-13 15:07:55 +00:00
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Add more tests for QtConcurrent::filterReduced() 2020-05-07 15:23:58 +02:00
corelib Port qt_punycodeEncoder() to QStringView 2020-05-13 13:22:09 +00:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Remove deprecated QDesktopServices APIs 2020-05-13 14:38:23 +02:00
guiapplauncher
installed_cmake
network QNetworkReply/http2: Add a contentEncoding test 2020-05-13 13:54:44 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
testlib Rewrite Qt Testlib selftest to not rely on Qt Testlib itself 2020-05-11 15:42:28 +02:00
tools uic/Python: import all the classes for QtCore and QtGui 2020-05-05 22:04:51 +02:00
widgets QApplication: refactor delivery and propagation of wheel events 2020-05-13 15:07:55 +00:00
xml Correctly parse non BMP char refs in the sax parser 2020-05-10 11:31:57 +02:00
.prev_CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
auto.pro Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00