QInputChord

QInputChord represents a set of QAbstractActionInput ‘s that must be triggerd at once. More

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QInputChord

Synopsis

Functions

Slots

Signals

Detailed Description

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

Constructs a new QInputChord with parent parent .

PySide2.Qt3DInput.Qt3DInput.QInputChord.addChord(input)
Parameters:

inputPySide2.Qt3DInput.Qt3DInput.QAbstractActionInput

Append the QAbstractActionInput input to the end of this QInputChord ‘s chord vector.

See also

removeChord

PySide2.Qt3DInput.Qt3DInput.QInputChord.chords()
Return type:

Returns the QInputChord ‘s chord vector.

PySide2.Qt3DInput.Qt3DInput.QInputChord.removeChord(input)
Parameters:

inputPySide2.Qt3DInput.Qt3DInput.QAbstractActionInput

Remove the QAbstractActionInput input from this QInputChord ‘s chord vector.

See also

addChord

PySide2.Qt3DInput.Qt3DInput.QInputChord.setTimeout(timeout)
Parameters:

timeout – int

The time in which all QAbstractActionInput ‘s in the input chord must triggered within. The time is in milliseconds.

PySide2.Qt3DInput.Qt3DInput.QInputChord.timeout()
Return type:

int

The time in which all QAbstractActionInput ‘s in the input chord must triggered within. The time is in milliseconds.

PySide2.Qt3DInput.Qt3DInput.QInputChord.timeoutChanged(timeout)
Parameters:

timeout – int