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:

input 鈥� PySide2.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:

input 鈥� PySide2.Qt3DInput.Qt3DInput.QAbstractActionInput

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