IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

GestureEvent QML Type

The parameter given with the gestureStarted signal.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

GestureEvent QML Type▲

  • Import Statement: import QtQuick 2.13

  • Group: GestureEvent is part of qtquick-input-events

Detailed Description▲

The https:// 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.

Property Documentation▲

 

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.

Method Documentation▲

 

grab()▲

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.