Qt3DInput::QInputSettings Class
class Qt3DInput::QInputSettingsLa clase `QInputSettings` contiene el puntero a un objeto fuente de eventos de entrada. Más información...
| Encabezado: | #include <qinputsettings.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| En QML: | InputSettings |
| Heredado de: | Qt3DCore::QComponent |
| Estado: | Obsoleto |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
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 configurarse como un componente de la entidad raíz de la escena. Almacena un puntero al objeto que actúa como fuente de los eventos de entrada que deben gestionar diversas 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 la propiedad
eventSource : QObject*
Almacena la fuente de eventos actual. Una fuente de eventos es un objeto capaz de recibir diversos eventos de entrada, como eventos del ratón o del teclado. Normalmente se trata de una instancia de ` QWindow `.
Funciones de acceso:
| QObject * | eventSource() const |
| void | setEventSource(QObject *eventSource) |
Señal de 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.