GestureEvent QML Type

The parameter given with the gestureStarted signal. 更多...

import 語句: import QtQuick 2.15

特性

方法

詳細描述

The GestureEvent object has the current touch points, which you may choose to interpret as a gesture, and an invokable method to grab the involved points exclusively.

特性文檔編製

dragThreshold : real

This property holds the system setting for the distance a finger must move before it is interpreted as a drag. It comes from QStyleHints::startDragDistance() .

touchPoints : list < TouchPoint >

This property holds the set of current touch points.

方法文檔編製

grab ()

Acquires an exclusive grab of the mouse and all the touchPoints , and calls setKeepTouchGrab() and setKeepMouseGrab() so that any parent Item that 過濾 its children's events will not be allowed to take over the grabs.