Implement mouseDrag
authorCharles Yin <charles.yin@nokia.com>
Thu, 8 Mar 2012 01:27:04 +0000 (11:27 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 14:17:18 +0000 (15:17 +0100)
commitada9dd41c83aad3890b8f01a98fdbeae04528eba
treef976a4849bccfbb2bccef23f6ec0797a95a29e57
parentb262e81d52e8c269063e1de829aea311dff7c632
Implement mouseDrag

Simulates the drag behavior by press-move-move-release mouse events,
we need 2 move events here to trigger the drag threshold.

Task-number: QTBUG-22753
Change-Id: Ic3470c061834b7410c524029d82375cba62afa36
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/imports/testlib/TestCase.qml
src/imports/testlib/main.cpp
tests/auto/qmltest/events/tst_drag.qml [new file with mode: 0644]