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

MouseHandler QML Type

Provides mouse event notification.

This type was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

MouseHandler QML Type▲

  • Import Statement: import Qt3D.Input 2.15

  • Since: Qt 5.5

  • Instantiates:: QMouseHandler

Detailed Description▲

 

See Also▲

Property Documentation▲

 

[read-only] containsMouse : bool▲

Holds true if the QMouseHandler currently contains the mouse.

sourceDevice : MouseDevice▲

Holds the current mouse source device of the MouseHandler instance.

Signal Documentation▲

 

clicked(MouseEvent mouse)▲

This signal is emitted when a mouse button is clicked with the event details being contained within mouse

The corresponding handler is onClicked.

doubleClicked(MouseEvent mouse)▲

This signal is emitted when a mouse button is double clicked with the event details being contained within mouse

The corresponding handler is onDoubleClicked.

entered()▲

The corresponding handler is onEntered.

exited()▲

The corresponding handler is onExited.

positionChanged(MouseEvent mouse)▲

This signal is emitted when the mouse position changes with the event details being contained within mouse

The corresponding handler is onPositionChanged.

pressAndHold(MouseEvent mouse)▲

This signal is emitted when a mouse button is pressed and held down with the event details being contained within mouse

The corresponding handler is onPressAndHold.

pressed(MouseEvent mouse)▲

This signal is emitted when a mouse button is pressed with the event details being contained within mouse

The corresponding handler is onPressed.

released(MouseEvent mouse)▲

This signal is emitted when a mouse button is released with the event details being contained within mouse

The corresponding handler is onReleased.

wheel(MouseEvent mouse)▲

This signal is emitted when the mouse wheel is used with the event details being contained within mouse.

The corresponding handler is onWheel.

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