QML frontend for the Qt3DInput::QInputSequence C++ 類。 更多...
| import 語句: | import Qt3D.Input 2.0 |
| Since: | Qt 5.7 |
| 實例化: | QInputSequence |
Represents a set of QAbstractActionInput's that must be triggerd one after the other.
The following example shows a chord that will be triggered by pressing the A and S keys together with a tolerance of 10 miliseconds between presses.
InputChord { tolerance: 10 inputs: [ ActionInput { sourceDevice: keyboardSourceDevice keys: [Qt.Key_A] }, ActionInput { sourceDevice: keyboardSourceDevice keys: [Qt.Key_S] } ] }
The maximum time in milliseconds in between consecutive QAbstractActionInput's in the input sequence.
|
sequences : list < AbstractActionInput > |
The time in milliseconds in which all QAbstractActionInput's in the input sequence must triggered within.
此信號被發射當 buttonInterval of the input sequence is changed.
相應處理程序是
onButtonIntervalChanged
This signal is emitted when the timeout of the input sequence is changed.
相應處理程序是
onTimeoutChanged