Qt Wayland Qt Shell Extension
该模块在 Qt 6.3 中首次引入。
概述
QtShell 扩展提供了一种将QtShellSurface 与常规Wayland表面关联的方法。QtShell 扩展的编写目的是为了支持Qt所支持的窗口管理功能。在合成器和客户端应用程序均采用Qt编写,且可以信赖应用程序不会滥用手动窗口定位和“置顶”等功能的情况下,该扩展可能适用。对于其他用例,请考虑改用IviApplication 或XdgShell 。
用法
要使用此模块,请按以下方式导入:
import QtWayland.Compositor.QtShell为在Qt Wayland Compositor | |
为 qt-shell 扩展提供默认的窗口管理器功能 | |
提供了一种识别和调整表面大小的简便方法 |
© 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.