GestureEvent QML Type

gestureStarted シグナルで指定されたパラメータ。詳細...

Import Statement: import QtQuick

プロパティ

方法

詳細説明

GestureEvent オブジェクトは、ジェスチャーとして解釈することを選択できる現在のタッチポイントと、関係するポイントのみを取得するための呼び出し可能なメソッドを持っています。

プロパティの説明

dragThreshold : real [read-only]

このプロパティは、ドラッグとして解釈される前に指が移動しなければならない距離のシステム設定を保持します。これはQStyleHints::startDragDistance() に由来します。


touchPoints : list<TouchPoint> [read-only]

このプロパティは、現在のタッチポイントのセットを保持します。


メソッド・ドキュメント

grab()

マウスとすべてのtouchPoints の排他的なグラブを取得し、setKeepTouchGrab() とsetKeepMouseGrab() を呼び出して、その子のイベントをfilters する親 Item がグラブを引き継げないようにします。


© 2025 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.