QWaylandShellSurface Class
La clase QWaylandShellSurface es una interfaz común para las funciones de superficie especificadas por las extensiones del shell. Más información...
| Encabezado: | #include <QWaylandShellSurface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| En QML: | ShellSurface |
| Heredado de: | QWaylandCompositorExtension |
| Heredado por: |
Propiedades
(since 6.8)modal : bool- windowType : Qt::WindowType
Funciones públicas
| virtual QWaylandQuickShellIntegration * | createIntegration(QWaylandQuickShellSurfaceItem *item) = 0 |
| bool | isModal() const |
| virtual Qt::WindowType | windowType() const |
Señales
| void | modalChanged() |
| void | windowTypeChanged() |
Descripción detallada
Esta interfaz representa un rol de superficie de Wayland proporcionado por una extensión del protocolo Wayland que define cómo debe representarse en pantalla el « QWaylandSurface ».
Véase también QWaylandSurface, QWaylandXdgSurface, QWaylandIviSurface, QWaylandWlShellSurface y QWaylandShellSurfaceTemplate.
Documentación de propiedades
[read-only, since 6.8] modal : bool
Esta propiedad es verdadera si el objeto ` ShellSurface ` representa un cuadro de diálogo modal.
Esta enumeración se introdujo en Qt 6.8.
Funciones de acceso:
| bool | isModal() const |
Señal de notificador:
| void | modalChanged() |
[read-only] windowType : Qt::WindowType
Esta propiedad contiene el « window type » del « QWaylandShellSurface ».
Funciones de acceso:
| virtual Qt::WindowType | windowType() const |
Señal de notificador:
| void | windowTypeChanged() |
Documentación de las funciones de miembro
[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)
Crea un objeto ` QWaylandQuickShellIntegration ` para esta `QWaylandQuickShellSurface`. Se invoca automáticamente cuando se asigna el parámetro ` shellSurface ` de ` item`.
Véase 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.