Sur cette page

Qt Wayland Qt Shell Extension

Ce module a été introduit dans Qt 6.3.

Résumé

L'extension « QtShell » permet d'associer une application « QtShellSurface » à une surface Wayland standard. L’extension « QtShell » a été conçue pour prendre en charge les fonctionnalités de gestion des fenêtres offertes par Qt. Elle peut s’avérer adaptée sur une plateforme où le compositeur et les applications clientes sont tous deux développés avec Qt, et où l’on peut être certain que les applications n’abuseront pas de fonctionnalités telles que le positionnement manuel des fenêtres et la fonction « amener au premier plan ». Pour d’autres cas d’utilisation, envisagez plutôt d’utiliser « IviApplication » ou « XdgShell ».

Utilisation

Pour utiliser ce module, importez-le comme suit :

import QtWayland.Compositor.QtShell

QtShell

Fournit une extension de shell pour les applications Qt s’exécutant sur un Qt Wayland Compositor

QtShellChrome

Fournit des fonctionnalités de gestionnaire de fenêtres par défaut à utiliser avec l’extension qt-shell

QtShellSurface

Fournit un moyen simple d’identifier et de redimensionner une surface

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