InputSequence QML Type
Frontend QML per la classe C++ ` Qt3DInput::QInputSequence `. Maggiori informazioni...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QInputSequence |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- buttonInterval : int
- sequences : list<AbstractActionInput>
- timeout : int
Segnali
Descrizione dettagliata
Rappresenta un insieme di oggetti QAbstractActionInput che devono essere attivati uno dopo l'altro.
L'esempio seguente mostra un accordo che verrà attivato premendo contemporaneamente i tasti A e S con una tolleranza di 10 millisecondi tra una pressione e l'altra.
InputChord {
tolerance: 10
inputs: [
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_A]
},
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_S]
}
]
}Documentazione delle proprietà
buttonInterval : int
Il tempo massimo, espresso in millisecondi, che intercorre tra due QAbstractActionInput consecutivi nella sequenza di input.
sequences : list<AbstractActionInput>
timeout : int
Il tempo, espresso in millisecondi, entro il quale devono essere attivati tutti gli oggetti `QAbstractActionInput` presenti nella sequenza di input.
Documentazione sui segnali
buttonIntervalChanged()
Questo segnale viene emesso quando cambia l'buttonInterval e della sequenza di input.
Il gestore corrispondente è onButtonIntervalChanged
Nota: l'handler corrispondente è onButtonIntervalChanged.
timeoutChanged()
Questo segnale viene emesso quando viene modificato il timeout della sequenza di input.
Il gestore corrispondente è onTimeoutChanged
Nota: l'handler corrispondente è onTimeoutChanged.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.