diff options
author | Matt Vogt <matthew.vogt@jollamobile.com> | 2012-12-31 16:27:43 +1000 |
---|---|---|
committer | Robin Burchell <robin+qt@viroteck.net> | 2013-01-08 05:56:25 +0100 |
commit | 27697b3819d1b33bec6e32ba53a7e83fc25a66ec (patch) | |
tree | ec042ed34ed74ab57deedbb2e1e1060a1f19d5a3 /tests/qmlauto/qdecarativebinding/tst_binding.qml | |
parent | d39a1865be268c58f7e47dfd9ccb47a53013fdd4 (diff) |
Generate real mouse events on mouseMove
Actual mouseMove events are necessary to properly simulate the
behavior of complex components such as Flickable. Instead of just
manipulating the cursor position, record the current button state so
that we can generate move events that are not suppressed.
In addition, add a mouseStartDrag() convenience function so that client
code does not need to be aware of QML's interpretation of the drag
threshold value.
Change-Id: I1ded27f976846660a0ec91906d0b2a6372efccd5
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'tests/qmlauto/qdecarativebinding/tst_binding.qml')
0 files changed, 0 insertions, 0 deletions