QActionInput#

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

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QActionInput

Synopsis#

Properties#

Functions#

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#

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

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QActionInput instance with parent.

Note

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

property PᅟySide6.Qt3DInput.Qt3DInput.QActionInput.buttons#

Holds the buttons that can trigger this Action.

Access functions:
property PᅟySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice#

The current source device of the QActionInput .

Access functions:
PySide6.Qt3DInput.Qt3DInput.QActionInput.buttons()#

See also

setButtons()

Getter of property buttons .

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

Notification signal of property buttons .

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

buttons

Set the buttons to trigger the QActionInput instance to buttons.

See also

buttons()

Setter of property buttons .

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

sourceDevicePySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

See also

sourceDevice()

Setter of property sourceDevice .

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

PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice

Getter of property sourceDevice .

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.

Notification signal of property sourceDevice .