diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2024-03-26 14:08:42 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2024-04-03 23:09:06 +0200 |
commit | b35ef967d55798fd391c52f422ef91340e57e7b8 (patch) | |
tree | e7c1985631fc7b77076910d2daa35f399f8f84eb /examples/quick/tutorials/samegame/samegame2 | |
parent | 8e4a2a888b3bb9be65503646768cef5a0a32129e (diff) |
qmltest: add a 'modifiers' argument to mouseMove()
As it stood, TestCase::mouseMove() didn't take a 'modifier'
argument. All the other mouse functions do that, including
mouseDrag(). But even for mouseDrag, the modifier argument was
only applied to mousePress() and mouseRelease(), but not to
the in-between mouse moves.
This patch will implement support for providing a modifier
argument also to mouseMove(). This is needed in order to
test API that distinguishes a normal drag from a ctrl+drag, like
e.g SelectionRectangle.
Pick-to: 6.5
Change-Id: Idd800eda4b5b4fd4e9cda94155ca4ec36e935d13
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
(cherry picked from commit 92f39a3919375af7e0eeaa31d010fc7fde7f6c4f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 7a9478f69446b67550c41dd6340891b456074cb4)
Diffstat (limited to 'examples/quick/tutorials/samegame/samegame2')
0 files changed, 0 insertions, 0 deletions