QAction#
Links a set of QAbstractActionInput
that trigger the same event. More…
Synopsis#
Properties#
Functions#
def
addInput
(input)def
inputs
()def
isActive
()def
removeInput
(input)
Signals#
def
activeChanged
(isActive)
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.QAction([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QAction
instance with parent 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.QAction.active: bool#
Holds true
if the action is active.
Note this property is not updated when the action is disabled.
- Access functions:
isActive
()Signal
activeChanged
(isActive)
- PySide6.Qt3DInput.Qt3DInput.QAction.activeChanged(isActive)#
- Parameters:
isActive – bool
Notification signal of property active
.
- PySide6.Qt3DInput.Qt3DInput.QAction.addInput(input)#
- Parameters:
Append QAbstractActionInput
input
to the list of inputs that can trigger this action.
- PySide6.Qt3DInput.Qt3DInput.QAction.inputs()#
Returns the list of inputs that can trigger this action.
- PySide6.Qt3DInput.Qt3DInput.QAction.isActive()#
- Return type:
bool
Getter of property active
.
- PySide6.Qt3DInput.Qt3DInput.QAction.removeInput(input)#
- Parameters:
Remove QAbstractActionInput
input
to the list of inputs that can trigger this action.