qt5base-lts/tests/auto/widgets
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
..
dialogs Remove usage of deprecated qWaitForWindowShown in dialog tests. 2012-07-24 00:08:28 +02:00
effects Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
graphicsview Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
itemviews Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
kernel Propagate synthesized mouse events in parallel (lock-step) with touch 2012-07-24 10:46:24 +02:00
styles Tests: Replace deprecated QPixmap::grabWidget() by QWidget::grab(). 2012-07-20 16:47:11 +02:00
util Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
widgets Tests: Replace deprecated QPixmap::grabWidget() by QWidget::grab(). 2012-07-20 16:47:11 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00