class QActionInput#

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

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QActionInput

Synopsis#

Properties#

Methods#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property buttonsᅟ: list of int#

Holds the buttons that can trigger this Action.

Access functions:
property sourceDeviceᅟ: QAbstractPhysicalDevice#

The current source device of the QActionInput .

Access functions:
__init__([parent=None])#
Parameters:

parentQNode

Constructs a new QActionInput instance with parent.

buttons()#
Return type:

.list of int

See also

setButtons()

Getter of property buttonsᅟ .

buttonsChanged(buttons)#
Parameters:

buttons – .list of int

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

Notification signal of property buttonsᅟ .

setButtons(buttons)#
Parameters:

buttons – .list of int

Set the buttons to trigger the QActionInput instance to buttons.

See also

buttons()

Setter of property buttonsᅟ .

setSourceDevice(sourceDevice)#
Parameters:

sourceDeviceQAbstractPhysicalDevice

See also

sourceDevice()

Setter of property sourceDeviceᅟ .

sourceDevice()#
Return type:

QAbstractPhysicalDevice

See also

setSourceDevice()

Getter of property sourceDeviceᅟ .

sourceDeviceChanged(sourceDevice)#
Parameters:

sourceDeviceQAbstractPhysicalDevice

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

Notification signal of property sourceDeviceᅟ .