QAction

Links a set of QAbstractActionInput that trigger the same event. More

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QAction

Synopsis

Functions

Signals

Detailed Description

class PySide2.Qt3DInput.Qt3DInput.QAction([parent=None])

Constructs a new QAction instance with parent parent .

PySide2.Qt3DInput.Qt3DInput.QAction.activeChanged(isActive)
Parameters:

isActive – bool

PySide2.Qt3DInput.Qt3DInput.QAction.addInput(input)
Parameters:

inputPySide2.Qt3DInput.Qt3DInput.QAbstractActionInput

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:

inputPySide2.Qt3DInput.Qt3DInput.QAbstractActionInput

Remove QAbstractActionInput input to the list of inputs that can trigger this action.