qt5base-lts/tests/auto/widgets/kernel/qapplication
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
..
desktopsettingsaware Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
modal Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
test Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
tmp Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
wincmdline Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
heart.svg Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qapplication.pro Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
tst_qapplication.cpp Propagate synthesized mouse events in parallel (lock-step) with touch 2012-07-24 10:46:24 +02:00