QNativeInterface::QWaylandApplication Struct
Interfaz nativa para una aplicación Wayland. Más...
| Cabecera: | #include <QGuiApplication> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Desde: | Qt 6.5 |
- Lista de todos los miembros, incluyendo los heredados
- QWaylandApplication es parte de Interfaces Nativas.
Funciones Públicas
| virtual wl_compositor * | compositor() const = 0 |
| virtual wl_display * | display() const = 0 |
| virtual wl_keyboard * | keyboard() const = 0 |
| virtual wl_seat * | lastInputSeat() const = 0 |
| virtual uint | lastInputSerial() const = 0 |
| virtual wl_pointer * | pointer() const = 0 |
| virtual wl_seat * | seat() const = 0 |
| virtual wl_touch * | touch() const = 0 |
| virtual xkb_context * | xkbContext() const = 0 |
Descripción Detallada
Se accede a través de QGuiApplication::nativeInterface().
Documentación de Funciones Miembro
[pure virtual] wl_compositor *QWaylandApplication::compositor() const
Devuelve el wl_compositor que está utilizando la aplicación.
[pure virtual] wl_display *QWaylandApplication::display() const
Devuelve el wl_display que está utilizando la aplicación.
[pure virtual] wl_keyboard *QWaylandApplication::keyboard() const
Devuelve el wl_keyboard perteneciente a seat() si está disponible.
[pure virtual] wl_seat *QWaylandApplication::lastInputSeat() const
Devuelve el asiento en el que se produjo el último evento de entrada.
[pure virtual] uint QWaylandApplication::lastInputSerial() const
Devuelve la serie del último evento de entrada en cualquier asiento.
[pure virtual] wl_pointer *QWaylandApplication::pointer() const
Devuelve el wl_pointer perteneciente a seat() si está disponible.
[pure virtual] wl_seat *QWaylandApplication::seat() const
Devuelve el asiento asociado al dispositivo de entrada por defecto.
[pure virtual] wl_touch *QWaylandApplication::touch() const
Devuelve el wl_touch perteneciente a seat() si está disponible.
[pure virtual] xkb_context *QWaylandApplication::xkbContext() const
Devuelve el contexto XKB asociado a la aplicación.
© 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.