En esta página

QWaylandShellSurface Class

La clase QWaylandShellSurface es una interfaz común para los roles de superficie especificados por las extensiones de shell. Más...

Cabecera: #include <QWaylandShellSurface>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
En QML: ShellSurface
Hereda de: QWaylandCompositorExtension
Heredado por:

QWaylandShellSurfaceTemplate

Propiedades

Funciones públicas

virtual QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) = 0
bool isModal() const
virtual Qt::WindowType windowType() const

Señales

Descripción detallada

Esta interfaz representa un rol de superficie de Wayland dado por una extensión del protocolo Wayland que define cómo el QWaylandSurface debe mapearse en la pantalla.

Ver también QWaylandSurface, QWaylandWlShellSurface, QWaylandIviSurface, y QWaylandShellSurfaceTemplate.

Documentación de propiedades

Esta propiedad es verdadera si ShellSurface representa un diálogo modal.

Esta propiedad se introdujo en Qt 6.8.

Funciones de acceso:

bool isModal() const

Señal del notificador:

void modalChanged()

[read-only] windowType : Qt::WindowType

Esta propiedad contiene el tipo de ventana de QWaylandShellSurface.

Funciones de acceso:

virtual Qt::WindowType windowType() const

Señal del notificador:

void windowTypeChanged()

Documentación de la función miembro

[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)

Crea un QWaylandQuickShellIntegration para esta QWaylandQuickShellSurface. Se llama automáticamente cuando se asigna item's shellSurface.

Ver también QWaylandQuickShellSurfaceItem.

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