QActionInput

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

Synopsis

Functions

Slots

Signals

Detailed Description

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

PySide2.Qt3DCore.QNode

Constructs a new QActionInput instance with parent .

PySide2.Qt3DInput.QActionInput.buttons()
Return type

Holds the buttons that can trigger this Action.

PySide2.Qt3DInput.QActionInput.buttonsChanged(buttons)
Parameters

buttons

PySide2.Qt3DInput.QActionInput.setButtons(buttons)
Parameters

buttons

Holds the buttons that can trigger this Action.

PySide2.Qt3DInput.QActionInput.setSourceDevice(sourceDevice)
Parameters

sourceDevicePySide2.Qt3DInput.QAbstractPhysicalDevice

The current source device of the QActionInput .

PySide2.Qt3DInput.QActionInput.sourceDevice()
Return type

PySide2.Qt3DInput.QAbstractPhysicalDevice

The current source device of the QActionInput .

PySide2.Qt3DInput.QActionInput.sourceDeviceChanged(sourceDevice)
Parameters

sourceDevicePySide2.Qt3DInput.QAbstractPhysicalDevice