Qt Quick Pointer Handlers
Qt Quick Pointer Handlers are a set of QML types used to handle events from touch, mouse, and stylus devices in a UI. In contrast to event-handling Items, such as MouseArea, Pointer Handlers require less memory and are intended to be used in greater numbers: one handler per type of interaction. Each Pointer Handler handles events on behalf of its
parent Item. One Item can have multiple Pointer Handlers.
The module is introduced in Qt 5.10.
The QML types can be imported into your application using the following import statement in your
import Qt.labs.handlers 1.0
Some of the key features are:
- Handle gestures such as tapping or dragging regardless which device it comes from
- Handle gestures from different classes of devices in different ways
- Each Item can have unlimited Handlers
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.