Nesta página

QWaylandShellSurface Class

A classe QWaylandShellSurface é uma interface comum para as funções de superfície especificadas pelas extensões do shell. Mais...

Cabeçalho: #include <QWaylandShellSurface>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
No QML: ShellSurface
Herdado de: QWaylandCompositorExtension
Herdado por:

QWaylandShellSurfaceTemplate

Propriedades

Funções públicas

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

Sinais

Descrição detalhada

Esta interface representa uma função de superfície Wayland fornecida por uma extensão do protocolo Wayland que define como o ` QWaylandSurface ` deve ser mapeado na tela.

Veja também QWaylandSurface, QWaylandXdgSurface, QWaylandIviSurface, QWaylandWlShellSurface e QWaylandShellSurfaceTemplate.

Documentação da propriedade

Essa propriedade é verdadeira se o objeto ` ShellSurface ` representar uma caixa de diálogo modal.

Essa enumeração foi introduzida no Qt 6.8.

Funções de acesso:

bool isModal() const

Sinal do Notifier:

void modalChanged()

[read-only] windowType : Qt::WindowType

Esta propriedade contém a propriedade ` window type ` da propriedade ` QWaylandShellSurface`.

Funções de acesso:

virtual Qt::WindowType windowType() const

Sinal do notificador:

void windowTypeChanged()

Documentação das funções de membro

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

Cria um ` QWaylandQuickShellIntegration ` para este `QWaylandQuickShellSurface`. Ele é chamado automaticamente quando o ` shellSurface ` d item` é atribuído.

Veja também 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.