qt6-bb10/tests/auto/widgets/kernel
Kevin Ottens 7808ec795c Propagate synthesized mouse events in parallel (lock-step) with touch
This patch implement the equivalent of
468626e99a90d6ac21cb311cde05c658ccb3b781 in qtdeclarative but for
QtWidgets.

If a widget doesn't accept a touch event, then QApplication gives it
another try by synthesizing a corresponding mouse event. This way
QtQuick and QtWidget behave in a similar way, removing the need for
platform backends to try to emulate a mouse event from a touch event
unconditionally.

Also add relevant unit tests and adjust old QApplication ones.

Change-Id: Iddbf6d756c4b52931a9d1c314b50d7a31dbcdee9
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-24 10:46:24 +02:00
..
qaction Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qactiongroup Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qapplication Propagate synthesized mouse events in parallel (lock-step) with touch 2012-07-24 10:46:24 +02:00
qboxlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdesktopwidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qformlayout Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
qgridlayout Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
qlayout QLayoutItem - make controlTypes a virtual function. 2012-04-13 10:17:44 +02:00
qshortcut Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
qsizepolicy Fix Qt 5 todo issues for QSizePolicy. 2012-05-30 01:54:45 +02:00
qstackedlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtooltip Cocoa: Improve basic window handling. 2012-03-14 23:02:12 +01:00
qwidget Propagate synthesized mouse events in parallel (lock-step) with touch 2012-07-24 10:46:24 +02:00
qwidget_window Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
qwidgetaction Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qwidgetmetatype Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00
qwidgetsvariant Split QWidgetsVariant tests into a separate testcase. 2012-07-23 17:47:51 +02:00
kernel.pro Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00