Qt Wayland Qt Shell Extension
该模块在 Qt 6.3 中引入。
摘要
QtShell 扩展提供了一种将QtShellSurface 与常规 Wayland 表面关联的方法。QtShell 扩展的编写是为了支持 Qt 所支持的窗口管理功能。它可能适用于合成器和客户端应用程序都使用 Qt 编写的平台,以及应用程序不会滥用手动窗口定位和 "bring-to-front "等功能的平台。对于其他用例,请考虑使用IviApplication 或XdgShell 代替。
使用方法
要使用该模块,请按如下方式导入:
import QtWayland.Compositor.IviApplication
为 Qt 应用程序提供外壳扩展Qt Wayland Compositor | |
提供与 qt-shell 扩展一起使用的默认窗口管理器功能 | |
提供识别和调整曲面大小的简单方法 |
© 2025 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.