QActionInput#
QActionInput
stores Device and Buttons used to trigger an input event. More…
Synopsis#
Functions#
def
buttons
()def
sourceDevice
()
Slots#
def
setButtons
(buttons)def
setSourceDevice
(sourceDevice)
Signals#
def
buttonsChanged
(buttons)def
sourceDeviceChanged
(sourceDevice)
Detailed Description#
- class PySide6.Qt3DInput.Qt3DInput.QActionInput([parent=None])#
- Parameters
parent –
PySide6.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
sourceDevice –
PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice
The current source device of the QActionInput
.
- PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDevice()#
The current source device of the QActionInput
.
- PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDeviceChanged(sourceDevice)#
- Parameters
sourceDevice –
PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice
This signal is emitted when the source device associated with the action input is changed to sourceDevice
.