Nesta página

QWaylandViewporter Class

Oferece uma extensão para redimensionamento e recorte de imagens. Mais...

Cabeçalho: #include <QWaylandViewporter>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
Herdado de: QWaylandCompositorExtensionTemplate

Funções públicas

QWaylandViewporter()
QWaylandViewporter(QWaylandCompositor *compositor)

Funções públicas reimplementadas

virtual void initialize() override

Membros públicos estáticos

const struct wl_interface *interface()

Descrição detalhada

A extensão QWaylandViewporter oferece aos clientes uma maneira de redimensionar e recortar o conteúdo da superfície.

O QWaylandViewporter corresponde à interface Wayland, wp_viewporter.

Documentação das funções de membro

[explicit] QWaylandViewporter::QWaylandViewporter()

Cria um objeto QWaylandViewporter.

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

Cria um objeto `QWaylandViewporter` para o ` compositor` fornecido.

[override virtual] void QWaylandViewporter::initialize()

Reimplementa: ` QWaylandCompositorExtension::initialize()`.

Inicializa a extensão.

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

Retorna a interface Wayland para o ` 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.