diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2011-10-24 13:13:53 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-24 06:39:20 +0200 |
commit | 7cef4b6463fdb73ff602ade64b222333dd23e46c (patch) | |
tree | 6b08e4cf3acda314ff78fd9e2d83f836d4514d34 /examples/examples.pro | |
parent | f49bd470990b838bb2c1a79605621e2d8c786a0b (diff) |
Allow commiting and then reusing a QTouchEventSequence for testing.
This method allows calls to stationary() to automatically remember
the previous position for a given touch point id. Example usage:
QTouchEventSequence sequence = QTest::touchEvent(&window);
sequence.press(0, QPoint(10,10)).commit();
sequence.stationary(0).press(1, QPoint(40,10)).commit();
Task-number: QTBUG-22057
Change-Id: I489ab3d61f4637d2ed97d09ed0854afa814407a1
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'examples/examples.pro')
0 files changed, 0 insertions, 0 deletions