- class QInputChord¶
QInputChord
represents a set ofQAbstractActionInput
‘s that must be triggerd at once. More…Synopsis¶
Properties¶
Methods¶
def
__init__()
def
addChord()
def
chords()
def
removeChord()
def
timeout()
Slots¶
def
setTimeout()
Signals¶
def
timeoutChanged()
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¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property timeoutᅟ: int¶
The time in which all
QAbstractActionInput
‘s in the input chord must triggered within. The time is in milliseconds.- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
Constructs a new
QInputChord
with parentparent
.- addChord(input)¶
- Parameters:
input –
QAbstractActionInput
Append the
QAbstractActionInput
input
to the end of thisQInputChord
‘s chord vector.See also
removeChord
- chords()¶
- Return type:
.list of Qt3DInput.QAbstractActionInput
Returns the
QInputChord
‘s chord vector.- removeChord(input)¶
- Parameters:
input –
QAbstractActionInput
Remove the
QAbstractActionInput
input
from thisQInputChord
‘s chord vector.See also
addChord
- setTimeout(timeout)¶
- Parameters:
timeout – int
Sets the time in which all
QAbstractActionInput
‘s in the input chord must triggered within totimeout
. The time is in millisecondsSee also
timeout()
Setter of property
timeoutᅟ
.- timeout()¶
- Return type:
int
See also
setTimeout()
Getter of property
timeoutᅟ
.- timeoutChanged(timeout)¶
- Parameters:
timeout – int
Notification signal of property
timeoutᅟ
.