Qt3DInput::QInputSettings Class
class Qt3DInput::QInputSettingsLa clase QInputSettings contiene el puntero a un objeto fuente de eventos de entrada. Más...
| Cabecera: | #include <QInputSettings> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput)target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| En QML: | InputSettings |
| Hereda: | Qt3DCore::QComponent |
| Status: | Obsoleto |
Propiedades
- eventSource : QObject*
Funciones públicas
| QObject * | eventSource() const |
Ranuras públicas
| void | setEventSource(QObject *eventSource) |
Señales
| void | eventSourceChanged(QObject *) |
Descripción detallada
El componente QInputSettings debe establecerse como un componente de la entidad raíz de la escena. Almacena un puntero al objeto que actúa como fuente de eventos de entrada para ser manejados por varias clases de entrada. Por ejemplo, una instancia de QWindow puede ser una fuente de eventos.
Véase también QMouseDevice y QKeyboardDevice.
Documentación de propiedades
eventSource : QObject*
Contiene la fuente de eventos actual. Una fuente de eventos es un objeto capaz de recibir varios eventos de entrada, como eventos del ratón o del teclado. Normalmente es una instancia de QWindow.
Funciones de acceso:
| QObject * | eventSource() const |
| void | setEventSource(QObject *eventSource) |
Señal del notificador:
| void | eventSourceChanged(QObject *) |
© 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.