Sur cette page

QWaylandViewporter Class

Fournit une extension pour le redimensionnement et le recadrage des surfaces. Plus d'informations...

En-tête : #include <QWaylandViewporter>
CMake : find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake : QT += waylandcompositor
Héritages : 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()

Construit un objet QWaylandViewporter.

[explicit] QWaylandViewporter::QWaylandViewporter(QWaylandCompositor *compositor)

Construit un objet QWaylandViewporter pour le site compositor fourni.

[override virtual] void QWaylandViewporter::initialize()

Réimplémente : QWaylandCompositorExtension::initialize().

Initialise l'extension.

[static] const struct wl_interface *QWaylandViewporter::interface()

Retourne l'interface Wayland pour le site 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.