ShellSurfaceItem QML Type
Qt Quick 项目类型,用于显示ShellSurface 并与之交互 ... 更多...
Import Statement: | import QtWayland.Compositor |
In C++: | QWaylandQuickShellSurfaceItem |
Inherits: |
属性
- autoCreatePopupItems : bool
- moveItem : Item
- shellSurface : ShellSurface
详细描述
该类型用于渲染wl_shell
、xdg_shell
或ivi_application
表面,作为Qt Quick 场景的一部分。它可以处理通过点击窗口装饰触发的移动和大小调整。
另请参阅 WaylandQuickItem,WlShellSurface, 和IviSurface 。
属性文档
autoCreatePopupItems : bool |
此属性显示是否应自动创建弹出窗口的 ShellSurfaceItems(弹出窗口表面项目),该项目由该项目管理。
moveItem : Item |
此属性保存此ShellSurfaceItem 的移动项目。当客户要求移动、最大化或调整ShellSurface 时,该项目将被移动。该属性在实现服务器端装饰时非常有用。
shellSurface : ShellSurface |
该属性包含由ShellSurfaceItem 渲染的ShellSurface 。它可以是 XdgSurfaceV5、WlShellSurface 或IviSurface ,具体取决于使用的 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.