qt5base-lts/tests/auto
Alexander Volkov 76922a706f Decide whether to synthesize mouse events on a per device basis
Currently Qt uses the QPlatformIntegration::StyleHint
SynthesizeMouseFromTouchEvents to check whether to synthesize mouse
events from touch events. But not only platform plugins can produce
touch events, they can be created by e.g. QTest::touchEvent() and in
this case we almost definitely need synthesizing regardless of the
platform.

This commit introduces a QTouchDevice::MouseEmulation capability which
replaces use of the QPlatformIntegration::SynthesizeMouseFromTouchEvents.
So it's possible to pass QTouchDevice without this capability to
QTest::touchEvent() and be sure that mouse events will be synthesized.
Notice that touch pads always emulate mouse events.
As a result we can activate some tests which were disabled for specific
platform configurations by commits 6c1670d8c2
and e9760f1559.

Change-Id: Idc82fa4007a095fc1cb5934979361b0023d2b793
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
2015-02-25 13:31:41 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake Update text to the new license header 2015-02-12 18:29:40 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Update copyright headers 2015-02-11 06:49:51 +00:00
corelib Fix QT_POSIX_IPC support 2015-02-25 11:42:36 +00:00
dbus QDBusConnection::registorObject with interface 2015-02-15 02:17:53 +00:00
gui Decide whether to synthesize mouse events on a per device basis 2015-02-25 13:31:41 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network tst_QDnsLookup: Output more information on failure. 2015-02-25 11:37:21 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql PostgreSQL: Fix special floating point handling for 'float' types. 2015-02-18 11:01:15 +00:00
testlib Make the printing of complex byte arrays prettier 2015-02-15 06:35:43 +00:00
tools more autotests for spaces, destdirs and library linking 2015-02-17 18:27:40 +00:00
widgets Decide whether to synthesize mouse events on a per device basis 2015-02-25 13:31:41 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro Temporarily disable the QtDBus tests if the session bus isn't available 2014-12-23 12:22:56 +01:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00