GestureEvent QML Type (Uncreatable)
gestureStarted 신호와 함께 전달되는 매개변수. 더 보기...
| Import Statement: | import QtQuick |
참고: 이 유형은 생성할 수 없는 유형입니다. QML에서 인스턴스화할 수 없습니다.
속성
- dragThreshold : real
- touchPoints : list<TouchPoint>
방법
- void grab()
상세 설명
GestureEvent 객체에는 제스처로 해석할 수 있는 현재 터치 지점과, 관련된 지점들만을 독점적으로 가져오는 호출 가능한 메서드가 포함되어 있습니다.
속성 설명
dragThreshold : real [read-only]
이 속성은 손가락이 드래그로 인식되기까지 이동해야 하는 거리에 대한 시스템 설정을 저장합니다. 이 값은 ` QStyleHints::startDragDistance()`에서 가져옵니다.
touchPoints : list<TouchPoint> [read-only]
이 속성은 현재 터치 지점의 집합을 저장합니다.
메서드 문서
void grab()
마우스와 모든 touchPoints 에 대한 독점적인 그랩을 확보하고, setKeepTouchGrab() 및 setKeepMouseGrab()를 호출하여, 자식 항목의 이벤트를 filters 하는 상위 항목이 그랩을 가로채지 못하도록 합니다.
© 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.