QWaylandIviApplication Class
La classe QWaylandIviApplication est une extension destinée aux interfaces utilisateur de type embarqué. En savoir plus...
| En-tête : | #include <QWaylandIviApplication> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake : | QT += waylandcompositor |
| En QML : | IviApplication |
| Hérite de : | QWaylandCompositorExtensionTemplate |
Fonctions publiques
| QWaylandIviApplication() | |
| QWaylandIviApplication(QWaylandCompositor *compositor) |
Fonctions publiques réimplémentées
| virtual void | initialize() override |
Signaux
| void | iviSurfaceCreated(QWaylandIviSurface *iviSurface) |
| void | iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
Membres publics statiques
| const struct wl_interface * | interface() |
Description détaillée
L'extension QWaylandIviApplication permet d'associer une interface d'QWaylandIviSurface à une surface Wayland standard. À l'aide de l'interface QWaylandIviSurface, le client peut s'identifier en fournissant un identifiant ivi, et le compositeur peut demander au client de redimensionner l'interface.
QWaylandIviApplication correspond à l’interface Wayland ivi_application.
Documentation des fonctions membres
QWaylandIviApplication::QWaylandIviApplication()
Crée un objet QWaylandIviApplication.
QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)
Crée un objet `QWaylandIviApplication` pour l'compositor` fourni.
[override virtual] void QWaylandIviApplication::initialize()
Réimplémente : QWaylandCompositorExtension::initialize().
Initialise l'extension du shell.
[static] const struct wl_interface *QWaylandIviApplication::interface()
Renvoie l'interface Wayland pour l'QWaylandIviApplication.
[signal] void QWaylandIviApplication::iviSurfaceCreated(QWaylandIviSurface *iviSurface)
Ce signal est émis lorsqu'un IviSurface, iviSurface, a été créé.
[signal] void QWaylandIviApplication::iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
Ce signal est émis lorsque le client a demandé qu'une ivi_surface soit associée à surface, identifiée par iviId. Le gestionnaire de ce signal doit créer la surface ivi pour resource et l'initialiser dans le cadre de l'émission du signal. Si aucune surface ivi n'est créée, une surface par défaut sera créée à la place.
© 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.