QAction¶
Links a set of
QAbstractActionInput
that trigger the same event. More…
Synopsis¶
Functions¶
def
addInput
(input)def
inputs
()def
isActive
()def
removeInput
(input)
Signals¶
def
activeChanged
(isActive)
Detailed Description¶
- class PySide2.Qt3DInput.Qt3DInput.QAction([parent=None])¶
- param parent:
Constructs a new
QAction
instance with parentparent
.
- PySide2.Qt3DInput.Qt3DInput.QAction.activeChanged(isActive)¶
- Parameters:
isActive – bool
- PySide2.Qt3DInput.Qt3DInput.QAction.addInput(input)¶
- Parameters:
Append
QAbstractActionInput
input
to the list of inputs that can trigger this action.
- PySide2.Qt3DInput.Qt3DInput.QAction.inputs()¶
- Return type:
Returns the list of inputs that can trigger this action.
- PySide2.Qt3DInput.Qt3DInput.QAction.isActive()¶
- Return type:
bool
Holds
true
if the action is active.Note this property is not updated when the action is disabled.
- PySide2.Qt3DInput.Qt3DInput.QAction.removeInput(input)¶
- Parameters:
Remove
QAbstractActionInput
input
to the list of inputs that can trigger this action.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.