ActionInput QML Type
Interfaz QML para la clase C++ Qt3DInput::QActionInput. Más...
| Import Statement: | import Qt3D.Input 2.11 |
| In C++: | QActionInput |
| Inherits: | |
| Status: | Deprecated |
Propiedades
- buttons : list<int>
- sourceDevice : AbstractPhysicalDevice
Señales
- buttonsChanged(const QList<int> &buttons)
- sourceDeviceChanged()
Descripción detallada
Vincula un dispositivo físico y los botones seleccionados en él que pueden desencadenar esta acción.
Cada entrada de acción puede ser activada por uno o varios botones de un dispositivo de origen.
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A] }
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A,Qt.Key_B] }
Documentación de propiedades
buttons : list<int>
Los Botones que pueden activar esta Acción.
sourceDevice : AbstractPhysicalDevice
El dispositivo fuente de corriente de la ActionInput
Documentación de señales
buttonsChanged(const QList<int> &buttons)
Esta señal se emite cuando se modifica la dirección buttons asociada a la entrada de la acción.
El manejador correspondiente es onbuttonsChanged
Nota: El manejador correspondiente es onButtonsChanged.
sourceDeviceChanged()
Esta señal se emite cuando se cambia el dispositivo de origen asociado a la entrada de la acción.
El manejador correspondiente es onSourceDeviceChanged
Nota: El manejador correspondiente es onSourceDeviceChanged.
© 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.