QWaylandViewporter Class
Ofrece una extensión para cambiar el tamaño y recortar imágenes. Más...
| Encabezado: | #include <QWaylandViewporter> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| Heredan: | QWaylandCompositorExtensionTemplate |
Funciones públicas
| QWaylandViewporter() | |
| QWaylandViewporter(QWaylandCompositor *compositor) |
Funciones públicas reimplementadas
| virtual void | initialize() override |
Miembros públicos estáticos
| const struct wl_interface * | interface() |
Descripción detallada
La extensión QWaylandViewporter ofrece a los clientes una forma de cambiar el tamaño y recortar el contenido de la superficie.
QWaylandViewporter se corresponde con la interfaz de Wayland, wp_viewporter.
Documentación de las funciones miembro
[explicit] QWaylandViewporter::QWaylandViewporter()
Crea un objeto QWaylandViewporter.
[explicit] QWaylandViewporter::QWaylandViewporter(QWaylandCompositor *compositor)
Crea un objeto `QWaylandViewporter` para el ` compositor` proporcionado.
[override virtual] void QWaylandViewporter::initialize()
Reimplementa: ` QWaylandCompositorExtension::initialize()`.
Inicializa la extensión.
[static] const struct wl_interface *QWaylandViewporter::interface()
Devuelve la interfaz de Wayland para el ` 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.