PySide6.Qt3DInput.Qt3DInput.QInputSequence¶
- class QInputSequence¶
QInputSequencerepresents a set ofQAbstractActionInput‘s that must be triggerd one after the other. More…Synopsis¶
Properties¶
Methods¶
def
__init__()def
addSequence()def
buttonInterval()def
removeSequence()def
sequences()def
timeout()
Slots¶
def
setTimeout()
Signals¶
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_propertyis used or via accessor functions otherwise.- property buttonIntervalᅟ: int¶
The maximum time in between consecutive
QAbstractActionInput‘s in the input sequence. The time is in milliseconds.- Access functions:
- property timeoutᅟ: int¶
The time in which all
QAbstractActionInput‘s in the input sequence must triggered within. The time is in milliseconds.- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
Constructs a new
QInputSequencewith parentparent.- addSequence(input)¶
- Parameters:
input –
QAbstractActionInput
Append the
QAbstractActionInputinputto the end of thisQInputSequence‘s sequence vector.See also
removeSequence- buttonInterval()¶
- Return type:
int
Returns the maximum time in between consecutive
QAbstractActionInput‘s in the input sequence. The time is in millisecondsSee also
setButtonInterval()Getter of property
buttonIntervalᅟ.- buttonIntervalChanged(buttonInterval)¶
- Parameters:
buttonInterval – int
Notification signal of property
buttonIntervalᅟ.- removeSequence(input)¶
- Parameters:
input –
QAbstractActionInput
Remove the
QAbstractActionInputinputfrom thisQInputSequence‘s sequence vector.See also
addSequence- sequences()¶
- Return type:
.list of Qt3DInput.QAbstractActionInput
Returns the
QInputSequence‘s sequence vector.- setButtonInterval(buttonInterval)¶
- Parameters:
buttonInterval – int
See also
buttonInterval()
Setter of property
buttonIntervalᅟ.- setTimeout(timeout)¶
- Parameters:
timeout – int
See also
timeout()
Setter of property
timeoutᅟ.- timeout()¶
- Return type:
int
Returns the time in which all
QAbstractActionInput‘s in the input sequence must triggered within. The time is in millisecondsSee also
setTimeout()Getter of property
timeoutᅟ.- timeoutChanged(timeout)¶
- Parameters:
timeout – int
Notification signal of property
timeoutᅟ.