QNativeInterface::QWaylandApplication Struct
Interface native d'une application Wayland. Plus d'informations...
| En-tête : | #include <QGuiApplication> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake : | QT += gui |
| Depuis : | Qt 6.5 |
- Liste de tous les membres, y compris les membres hérités
- QWaylandApplication fait partie de Native Interfaces.
Fonctions publiques
| 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 |
Description détaillée
Accessible via QGuiApplication::nativeInterface().
Documentation des fonctions membres
[pure virtual] wl_compositor *QWaylandApplication::compositor() const
Retourne le wl_compositeur utilisé par l'application.
[pure virtual] wl_display *QWaylandApplication::display() const
Renvoie le wl_display utilisé par l'application.
[pure virtual] wl_keyboard *QWaylandApplication::keyboard() const
Renvoie le clavier wl_ appartenant à seat() s'il est disponible.
[pure virtual] wl_seat *QWaylandApplication::lastInputSeat() const
Renvoie le siège sur lequel s'est produit le dernier événement d'entrée.
[pure virtual] uint QWaylandApplication::lastInputSerial() const
Renvoie le numéro de série du dernier événement d'entrée sur un siège.
[pure virtual] wl_pointer *QWaylandApplication::pointer() const
Renvoie le pointeur wl_ appartenant à seat() s'il est disponible.
[pure virtual] wl_seat *QWaylandApplication::seat() const
Renvoie le siège associé au périphérique d'entrée par défaut.
[pure virtual] wl_touch *QWaylandApplication::touch() const
Renvoie le wl_touch appartenant à seat() s'il est disponible.
[pure virtual] xkb_context *QWaylandApplication::xkbContext() const
Renvoie le contexte XKB associé à l'application.
© 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.