diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-12-12 12:42:02 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-12-14 05:05:36 +0000 |
commit | 6de2397da24e8068282c2d2bda5d1637ac033bc6 (patch) | |
tree | d2cdae75b919c7425997faaf525b87600fe2f97d /src/quick/doc/snippets/qml/itemGrab.qml | |
parent | f15f1d643ebf70fe9d3c67ea8405d819da595b21 (diff) | |
download | qtdeclarative-6de2397da24e8068282c2d2bda5d1637ac033bc6.tar.gz |
Implement touch event handling for SplitView
Amend 80166d58a18370bd5a2c6c61d2519011cfd65721, which broke touch event
handling in SplitView. Implement handling of TouchBegin/Update/End
events equivalently to the mouse event handling.
As a drive-by, rename the logging category from 'mouse' to 'pointer',
and refactor the if/else sequence to a switch statement, reducing
duplication of code that's common for all event types.
Remove expectFail from the test that now passes.
Fixes: QTBUG-105312
Pick-to: 6.5 6.4 6.2
Change-Id: I156f55fa40b2afaaa115e59940d26187121fc16a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml/itemGrab.qml')
0 files changed, 0 insertions, 0 deletions