QMouseHandler¶

PyQt5.Qt3DInput.QMouseHandler

Inherits from QComponent.

Description¶

Provides a means of being notified about mouse events when attached to a QMouseDevice instance.

Note: QMouseHandler components shouldn’t be shared, not respecting that condition will most likely result in undefined behaviors.

See also

QMouseDevice, QMouseEvent.

Methods¶

__init__(parent: QNode = None)

Constructs a new QMouseHandler instance with parent parent.


containsMouse() → bool

TODO


sceneChangeEvent(QSceneChange)

TODO


setSourceDevice(QMouseDevice)

Sets the mouse device of the QMouseHandler instance to mouseDevice.

See also

sourceDevice().


sourceDevice() → QMouseDevice

See also

setSourceDevice().

Signals¶

clicked(QMouseEvent)

TODO


containsMouseChanged(bool)

TODO


doubleClicked(QMouseEvent)

TODO


entered()

TODO


exited()

TODO


positionChanged(QMouseEvent)

TODO


pressAndHold(QMouseEvent)

TODO


pressed(QMouseEvent)

TODO


released(QMouseEvent)

TODO


sourceDeviceChanged(QMouseDevice)

TODO


wheel(QWheelEvent)

TODO