QActionInput#
QActionInput
stores Device and Buttons used to trigger an input event. More…
Synopsis#
Properties#
Functions#
def
buttons
()def
sourceDevice
()
Slots#
def
setButtons
(buttons)def
setSourceDevice
(sourceDevice)
Signals#
def
buttonsChanged
(buttons)def
sourceDeviceChanged
(sourceDevice)
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:
parent –
PySide6.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:
buttons
()setButtons
(buttons)Signal
buttonsChanged
(buttons)
- property PᅟySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice#
The current source device of the QActionInput
.
- Access functions:
sourceDevice
()setSourceDevice
(sourceDevice)Signal
sourceDeviceChanged
(sourceDevice)
- PySide6.Qt3DInput.Qt3DInput.QActionInput.buttons()#
- Return type:
See also
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
Setter of property buttons
.
- PySide6.Qt3DInput.Qt3DInput.QActionInput.setSourceDevice(sourceDevice)#
- Parameters:
sourceDevice –
PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice
See also
Setter of property sourceDevice
.
- PySide6.Qt3DInput.Qt3DInput.QActionInput.sourceDevice()#
- Return type:
See also
Getter of property sourceDevice
.
- 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
.
Notification signal of property sourceDevice
.