GestureEvent QML Type (Uncreatable)
Il parametro fornito con il segnale `gestureStarted`. Altro...
| Import Statement: | import QtQuick |
Nota: si tratta di un tipo non creabile. Non può essere istanziato in QML.
Proprietà
- dragThreshold : real
- touchPoints : list<TouchPoint>
Metodi
- void grab()
Descrizione dettagliata
L'oggetto GestureEvent contiene i punti di tocco correnti, che è possibile scegliere di interpretare come un gesto, e un metodo invocabile per acquisire esclusivamente i punti coinvolti.
Documentazione delle proprietà
dragThreshold : real [read-only]
Questa proprietà contiene l'impostazione di sistema relativa alla distanza che un dito deve percorrere prima che il movimento venga interpretato come un trascinamento. Deriva dalla funzione ` QStyleHints::startDragDistance()`.
touchPoints : list<TouchPoint> [read-only]
Questa proprietà contiene l'insieme dei punti di contatto correnti.
Documentazione sui metodi
void grab()
Acquisisce il controllo esclusivo del mouse e di tutti gli elementi touchPoints, e chiama setKeepTouchGrab() e setKeepMouseGrab() in modo che a nessun elemento padre che filters gli eventi dei propri figli sia consentito subentrare nel controllo.
© 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.