QWaylandViewporter Class

Bietet eine Erweiterung für die Größenänderung und das Zuschneiden von Oberflächen. Mehr...

Kopfzeile: #include <QWaylandViewporter>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
Vererbungen: QWaylandCompositorExtensionTemplate

Öffentliche Funktionen

QWaylandViewporter()
QWaylandViewporter(QWaylandCompositor *compositor)

Reimplementierte öffentliche Funktionen

virtual void initialize() override

Statische öffentliche Mitglieder

const struct wl_interface *interface()

Detaillierte Beschreibung

Die QWaylandViewporter-Erweiterung bietet eine Möglichkeit für Clients, die Größe von Oberflächeninhalten zu ändern und zu beschneiden.

QWaylandViewporter entspricht der Wayland-Schnittstelle, wp_viewporter.

Dokumentation der Mitgliedsfunktionen

[explicit] QWaylandViewporter::QWaylandViewporter()

Konstruiert ein QWaylandViewporter-Objekt.

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

Konstruiert ein QWaylandViewporter-Objekt für das angegebene compositor.

[override virtual] void QWaylandViewporter::initialize()

Reimplements: QWaylandCompositorExtension::initialize().

Initialisiert die Erweiterung.

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

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

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