diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-04-26 09:32:59 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-05-11 18:49:05 +0000 |
commit | c673220a3cdb03ba0aa2c0d09e14af9a2112f4a8 (patch) | |
tree | 3467e2e71919713298861a374060a23f6dfbdb53 /src | |
parent | 15a1a4868fee2770debb4cb10ae64f701e63466b (diff) |
tst_qquickpointerhandler: use QScopedPointer; improvements
It's now standard practice in autotests to use QScopedPointer to
manage the window so that it doesn't need to be deleted (or would be
left dangling if the test fails).
It's nice to be able to see the bounds of the EventItem.
Test not only the order of the event types received, but
the EventPoint state, and where they were received.
Of course PointerEvents go only to PointerHandlers in this test so
far... but now we can distinguish filtered events from events which
were received via the QQuickItem virtual function overrides.
Change-Id: I4830a431bedb7101c8c980ab3260d23b5852b645
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions