ActionInput QML Type
Interfaz QML para la clase C++ ` Qt3DInput::QActionInput `. Más información...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QActionInput |
| Inherits: | |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
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 del mismo que pueden activar esta acción.
Cada entrada de acción puede activarse mediante 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 de fuente de corriente del ActionInput
Documentación de Signal
buttonsChanged(const QList<int> &buttons)
Esta señal se emite cuando se modifica el « buttons » asociado a la entrada de acción.
El controlador correspondiente es onbuttonsChanged
Nota: El controlador correspondiente es onButtonsChanged.
sourceDeviceChanged()
Esta señal se emite cuando cambia el dispositivo de origen asociado a la entrada de acción.
El controlador correspondiente es onSourceDeviceChanged
Nota: El controlador 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.