QActionInput#

QActionInput stores Device and Buttons used to trigger an input event. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QActionInput

Synopsis#

Functions#

Slots#

Signals#

Detailed Description#

class PySide6.Qt3DInput.Qt3DInput.QActionInput([parent=None])#
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QActionInput instance with parent.

PySide6.Qt3DInput.Qt3DInput.QActionInput.buttons()#
Return type

Holds the buttons that can trigger this Action.

PySide6.Qt3DInput.Qt3DInput.QActionInput.buttonsChanged(buttons)#
Parameters

buttons

This signal is emitted when the buttons associated with the action input is changed. The buttons changed are buttons

PySide6.Qt3DInput.Qt3DInput.QActionInput.setButtons(buttons)#
Parameters

buttons

Holds the buttons that can trigger this Action.

PySide6.Qt3DInput.Qt3DInput.QActionInput.setSourceDevice(sourceDevice)#
Parameters

sourceDevicePySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

The current source device of the QActionInput .

PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDevice()#
Return type

PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

The current source device of the QActionInput .

PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDeviceChanged(sourceDevice)#
Parameters

sourceDevicePySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

This signal is emitted when the source device associated with the action input is changed to sourceDevice.