ActionInput QML Type
Interface QML pour la classe Qt3DInput::QActionInput C++. Plus d'informations...
| Import Statement: | import Qt3D.Input 2.10 |
| In C++: | QActionInput |
| Inherits: | |
| Status: | Deprecated |
Propriétés
- buttons : list<int>
- sourceDevice : AbstractPhysicalDevice
Signaux
- buttonsChanged(const QList<int> &buttons)
- sourceDeviceChanged()
Description détaillée
Relie un dispositif physique et les boutons sélectionnés sur ce dispositif qui peuvent déclencher cette action.
Chaque entrée d'action peut être déclenchée par un ou plusieurs boutons d'un dispositif source.
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A] }
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A,Qt.Key_B] }
Propriété Documentation
sourceDevice : AbstractPhysicalDevice |
Le dispositif source actuel de l'action ActionInput
Signal Documentation
buttonsChanged(const QList<int> &buttons) |
Ce signal est émis lorsque le site buttons associé à l'entrée d'action est modifié.
Le gestionnaire correspondant est onbuttonsChanged
Note : Le gestionnaire correspondant est onButtonsChanged.
sourceDeviceChanged() |
Ce signal est émis lorsque le dispositif source associé à l'entrée d'action est modifié.
Le gestionnaire correspondant est onSourceDeviceChanged
Note : Le gestionnaire correspondant est onSourceDeviceChanged.
© 2025 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.