GestureEvent QML Type (Uncreatable)
El parámetro que se pasa con la señal «gestureStarted». Más información...
| Import Statement: | import QtQuick |
Nota: Se trata de un tipo no creable. No se puede instanciar en QML.
Propiedades
- dragThreshold : real
- touchPoints : list<TouchPoint>
Métodos
- void grab()
Descripción detallada
El objeto GestureEvent contiene los puntos táctiles actuales, que puedes optar por interpretar como un gesto, y un método invocable para obtener exclusivamente los puntos implicados.
Documentación de las propiedades
dragThreshold : real [read-only]
Esta propiedad contiene el ajuste del sistema relativo a la distancia que debe recorrer un dedo para que se interprete como un arrastre. Proviene de QStyleHints::startDragDistance().
touchPoints : list<TouchPoint> [read-only]
Esta propiedad contiene el conjunto de puntos táctiles actuales.
Documentación de métodos
void grab()
Adquiere el control exclusivo del ratón y de todos los elementos de tipo ` touchPoints`, y llama a ` setKeepTouchGrab()` y ` setKeepMouseGrab()` para que ningún elemento padre que ` filters ` los eventos de sus hijos pueda hacerse con el control.
© 2026 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.