QActionInput

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

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QActionInput

Synopsis

Functions

Slots

Signals

Detailed Description

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

Constructs a new QActionInput instance with parent .

PySide2.Qt3DInput.Qt3DInput.QActionInput.buttons()
Return type:

Holds the buttons that can trigger this Action.

PySide2.Qt3DInput.Qt3DInput.QActionInput.buttonsChanged(buttons)
Parameters:

buttons

PySide2.Qt3DInput.Qt3DInput.QActionInput.setButtons(buttons)
Parameters:

buttons

Holds the buttons that can trigger this Action.

PySide2.Qt3DInput.Qt3DInput.QActionInput.setSourceDevice(sourceDevice)
Parameters:

sourceDevicePySide2.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

The current source device of the QActionInput .

PySide2.Qt3DInput.Qt3DInput.QActionInput.sourceDevice()
Return type:

PySide2.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

The current source device of the QActionInput .

PySide2.Qt3DInput.Qt3DInput.QActionInput.sourceDeviceChanged(sourceDevice)
Parameters:

sourceDevicePySide2.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice