QInputSequencerepresents a set ofQAbstractActionInput‘s that must be triggerd one after the other. 更多 …
def
addSequence
(input)
def
buttonInterval
()
def
removeSequence
(input)
def
sequences
()
def
timeout
()
def
setButtonInterval
(buttonInterval)
def
setTimeout
(timeout)
def
buttonIntervalChanged
(buttonInterval)
def
timeoutChanged
(timeout)
PySide2.Qt3DInput.Qt3DInput.
QInputSequence
(
[
parent=None
]
)
¶
- param parent
QNode
构造新
QInputSequence
采用父级
parent
.
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
addSequence
(
input
)
¶
input
–
QAbstractActionInput
Append the
QAbstractActionInput
input
to the end of this
QInputSequence
‘s sequence vector.
另请参阅
int
Returns the maximum time in between consecutive
QAbstractActionInput
‘s in the input sequence. The time is in milliseconds
另请参阅
buttonInterval
–
int
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
removeSequence
(
input
)
¶
input
–
QAbstractActionInput
Remove the
QAbstractActionInput
input
从此
QInputSequence
‘s sequence vector.
另请参阅
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
sequences
(
)
¶
返回
QInputSequence
‘s sequence vector.
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
setButtonInterval
(
buttonInterval
)
¶
buttonInterval
–
int
另请参阅
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
setTimeout
(
timeout
)
¶
timeout
–
int
另请参阅
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
timeout
(
)
¶
int
Returns the time in which all
QAbstractActionInput
‘s in the input sequence must triggered within. The time is in milliseconds
另请参阅
PySide2.Qt3DInput.Qt3DInput.QInputSequence.
timeoutChanged
(
timeout
)
¶
timeout
–
int