Auf dieser Seite

QWaylandViewporter Class

Bietet eine Erweiterung zum Ändern der Größe und zum Zuschneiden von Oberflächen. Mehr...

Überschrift: #include <QWaylandViewporter>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
Erbt von: QWaylandCompositorExtensionTemplate

Öffentliche Funktionen

QWaylandViewporter()
QWaylandViewporter(QWaylandCompositor *compositor)

Neu implementierte öffentliche Funktionen

virtual void initialize() override

Statische öffentliche Elemente

const struct wl_interface *interface()

Ausführliche Beschreibung

Die Erweiterung QWaylandViewporter bietet Clients die Möglichkeit, die Größe von Oberflächeninhalten anzupassen und diese zu beschneiden.

QWaylandViewporter entspricht der Wayland-Schnittstelle „ wp_viewporter “.

Dokumentation der Mitgliedsfunktionen

[explicit] QWaylandViewporter::QWaylandViewporter()

Erstellt ein QWaylandViewporter-Objekt.

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

Erstellt ein QWaylandViewporter-Objekt für die angegebene ` compositor`.

[override virtual] void QWaylandViewporter::initialize()

Implementiert: ` QWaylandCompositorExtension::initialize()`.

Initialisiert die Erweiterung.

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

Gibt die Wayland-Schnittstelle für die „ QWaylandViewporter “ zurück.

© 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.