Sur cette page

QWaylandShellSurface Class

La classe `QWaylandShellSurface` est une interface commune pour les rôles de surface définis par les extensions du shell. En savoir plus...

En-tête : #include <QWaylandShellSurface>
CMake : find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake : QT += waylandcompositor
En QML : ShellSurface
Hérite de : QWaylandCompositorExtension
Hérité par :

QWaylandShellSurfaceTemplate

Propriétés

Fonctions publiques

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

Signaux

Description détaillée

Cette interface représente un rôle de surface Wayland défini par une extension du protocole Wayland qui spécifie comment l'QWaylandSurface doit être affichée à l'écran.

Voir également QWaylandSurface, QWaylandXdgSurface, QWaylandIviSurface, QWaylandWlShellSurface et QWaylandShellSurfaceTemplate.

Documentation sur les propriétés

Cette propriété est vraie si l'ShellSurface e représente une boîte de dialogue modale.

Cette énumération a été introduite dans Qt 6.8.

Fonctions d’accès :

bool isModal() const

Signal Notifier :

void modalChanged()

[read-only] windowType : Qt::WindowType

Cette propriété contient l'window type de l'QWaylandShellSurface.

Fonctions d'accès :

virtual Qt::WindowType windowType() const

Signal de notification :

void windowTypeChanged()

Documentation des fonctions membres

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

Crée un objet ` QWaylandQuickShellIntegration ` pour cette instance `QWaylandQuickShellSurface`. Il est appelé automatiquement lorsque la propriété ` shellSurface ` de ` item` est définie.

Voir également 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.