QInputChord#
QInputChord
represents a set of QAbstractActionInput
‘s that must be triggerd at once. More…
Synopsis#
Properties#
Functions#
def
addChord
(input)def
chords
()def
removeChord
(input)def
timeout
()
Slots#
def
setTimeout
(timeout)
Signals#
def
timeoutChanged
(timeout)
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.QInputChord([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QInputChord
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.QInputChord.timeout: int#
The time in which all QAbstractActionInput
‘s in the input chord must triggered within. The time is in milliseconds.
- Access functions:
timeout
()setTimeout
(timeout)Signal
timeoutChanged
(timeout)
- PySide6.Qt3DInput.Qt3DInput.QInputChord.addChord(input)#
- Parameters:
Append the QAbstractActionInput
input
to the end of this QInputChord
‘s chord vector.
See also
- PySide6.Qt3DInput.Qt3DInput.QInputChord.chords()#
- Return type:
.list of Qt3DInput.QAbstractActionInput
Returns the QInputChord
‘s chord vector.
- PySide6.Qt3DInput.Qt3DInput.QInputChord.removeChord(input)#
- Parameters:
Remove the QAbstractActionInput
input
from this QInputChord
‘s chord vector.
See also
- PySide6.Qt3DInput.Qt3DInput.QInputChord.setTimeout(timeout)#
- Parameters:
timeout – int
Sets the time in which all QAbstractActionInput
‘s in the input chord must triggered within to timeout
. The time is in milliseconds
See also
Setter of property timeout
.
- PySide6.Qt3DInput.Qt3DInput.QInputChord.timeout()#
- Return type:
int
See also
Getter of property timeout
.
- PySide6.Qt3DInput.Qt3DInput.QInputChord.timeoutChanged(timeout)#
- Parameters:
timeout – int
Notification signal of property timeout
.