InputChord QML Type
Interface QML pour la classe Qt3DInput::QInputChord C++. Plus d'informations...
| Import Statement: | import Qt3D.Input 2.11 |
| In C++: | QInputChord |
| Inherits: | |
| Status: | Deprecated |
Propriétés
Description détaillée
Représente un ensemble de QAbstractActionInput's qui doivent être déclenchés en même temps.
L'exemple suivant montre une séquence qui sera déclenchée en appuyant sur les touches G, D et J dans cet ordre, avec un délai maximum d'une seconde entre les appuis sur les touches et un délai d'entrée global maximum de 3 secondes.
InputChord { interval: 1000 timeout: 3000 chords: [ ActionInput { sourceDevice: keyboardSourceDevice keys: [Qt.Key_G] }, ActionInput { sourceDevice: keyboardSourceDevice keys: [Qt.Key_D] }, ActionInput { sourceDevice: keyboardSourceDevice keys: [Qt.Key_J] } ] }
Documentation sur les propriétés
chords : list<AbstractActionInput>
La liste de AbstractActionInput qui doit être déclenchée pour déclencher cette entrée agrégée.
timeout : int
© 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.