QWaylandViewporter Class
Fournit une extension permettant de redimensionner et de recadrer des images. En savoir plus...
| En-tête : | #include <QWaylandViewporter> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake : | QT += waylandcompositor |
| Hérite de : | QWaylandCompositorExtensionTemplate |
Fonctions publiques
| QWaylandViewporter() | |
| QWaylandViewporter(QWaylandCompositor *compositor) |
Fonctions publiques réimplémentées
| virtual void | initialize() override |
Membres publics statiques
| const struct wl_interface * | interface() |
Description détaillée
L'extension QWaylandViewporter permet aux clients de redimensionner et de recadrer le contenu des surfaces.
QWaylandViewporter correspond à l'interface Wayland, wp_viewporter.
Documentation des fonctions membres
[explicit] QWaylandViewporter::QWaylandViewporter()
Crée un objet QWaylandViewporter.
[explicit] QWaylandViewporter::QWaylandViewporter(QWaylandCompositor *compositor)
Crée un objet `QWaylandViewporter` pour l'compositor` fourni.
[override virtual] void QWaylandViewporter::initialize()
Réimplémente : QWaylandCompositorExtension::initialize().
Initialise l'extension.
[static] const struct wl_interface *QWaylandViewporter::interface()
Renvoie l'interface Wayland correspondant à l'QWaylandViewporter.
© 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.