Qt3DInput.QMouseHandler

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

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QMouseHandler

Synopsis

Functions

Slots

Signals

Detailed Description

Note

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

See also

QMouseDevice QMouseEvent

class PySide2.Qt3DInput.Qt3DInput.QMouseHandler([parent=None])
param parent

QNode

Constructs a new QMouseHandler instance with parent parent .

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.clicked(mouse)
Parameters

mouseQMouseEvent

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.containsMouse()
Return type

bool

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.containsMouseChanged(containsMouse)
Parameters

containsMousebool

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.doubleClicked(mouse)
Parameters

mouseQMouseEvent

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.entered()
PySide2.Qt3DInput.Qt3DInput.QMouseHandler.exited()
PySide2.Qt3DInput.Qt3DInput.QMouseHandler.positionChanged(mouse)
Parameters

mouseQMouseEvent

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.pressAndHold(mouse)
Parameters

mouseQMouseEvent

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.pressed(mouse)
Parameters

mouseQMouseEvent

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.released(mouse)
Parameters

mouseQMouseEvent

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.setContainsMouse(contains)
Parameters

containsbool

See also

containsMouse()

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.setSourceDevice(mouseDevice)
Parameters

mouseDeviceQMouseDevice

Sets the mouse device of the QMouseHandler instance to mouseDevice .

See also

sourceDevice()

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.sourceDevice()
Return type

QMouseDevice

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.sourceDeviceChanged(mouseDevice)
Parameters

mouseDeviceQMouseDevice

PySide2.Qt3DInput.Qt3DInput.QMouseHandler.wheel(wheel)
Parameters

wheelQWheelEvent