MouseHandler QML Type

Provides mouse event notification More...

Import Statement: import Qt3D.Input 2.0
Since: Qt 5.5
Instantiates: QMouseHandler

Properties

Signals

Detailed Description

See also MouseDevice and MouseEvent.

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

void clicked(MouseEvent mouse)

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


void doubleClicked(MouseEvent mouse)

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


void entered()


void exited()


void positionChanged(MouseEvent mouse)

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


void pressAndHold(MouseEvent mouse)

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


void pressed(MouseEvent mouse)

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


void released(MouseEvent mouse)

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


void wheel(MouseEvent mouse)

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


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