Sur cette page

QWaylandShellSurface Class

La classe QWaylandShellSurface est une interface commune pour les rôles de surface spécifiés par les extensions de shell. Plus d'informations...

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 : 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 donné par une extension du protocole Wayland qui définit comment le site QWaylandSurface doit s'afficher à l'écran.

Voir aussi QWaylandSurface, QWaylandWlShellSurface, QWaylandIviSurface, et QWaylandShellSurfaceTemplate.

Propriété Documentation

Cette propriété est vraie si le site ShellSurface représente une boîte de dialogue modale.

Cette propriété 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 le type de fenêtre du site QWaylandShellSurface.

Fonctions d'accès :

virtual Qt::WindowType windowType() const

Signal du notificateur :

void windowTypeChanged()

Fonction membre Documentation

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

Crée une QWaylandQuickShellIntegration pour cette QWaylandQuickShellSurface. Il est appelé automatiquement lorsque item's shellSurface est attribué.

Voir aussi 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.