在本页

ShellSurfaceItem QML Type

Qt Quick 项目类型,用于显示ShellSurface 并与之交互 ... 更多...

Import Statement: import QtWayland.Compositor
In C++: QWaylandQuickShellSurfaceItem
Inherits:

WaylandQuickItem

属性

详细描述

该类型用于渲染wl_shellxdg_shellivi_application 表面,作为Qt Quick 场景的一部分。它可以处理通过点击窗口装饰触发的移动和大小调整。

另请参阅 WaylandQuickItem,WlShellSurface, 和IviSurface

属性文档

autoCreatePopupItems : bool

此属性用于保存是否应自动创建弹出窗口的 ShellSurfaceItems,这些弹出窗口的父对象是此项目管理的外壳表面。

moveItem : Item

此属性保存此ShellSurfaceItem 的移动项目。当客户要求移动、最大化或调整ShellSurface 的大小等时,该项目将被移动。该属性在实施服务器端装饰时非常有用。

shellSurface : ShellSurface

此属性保存此ShellSurfaceItem 渲染的ShellSurface 。它可以是 XdgSurfaceV5、WlShellSurfaceIviSurface ,具体取决于使用的 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.