本页内容

IviSurface QML Type

提供了一种简单的方法来识别和调整曲面的大小。更多...

Import Statement: import QtWayland.Compositor.IviApplication
In C++: QWaylandIviSurface

属性

方法

  • void initialize(IviApplication iviApplication, WaylandSurface surface, int iviId, WaylandResource resource)
  • int sendConfigure(size size)

详细说明

该类型是IviApplication 扩展的一部分,提供了一种方法,可通过调整大小和标识功能来扩展现有WaylandSurface 的功能。

它对应于 Wayland 的ivi_surface 接口。

属性文档

iviId : int [read-only]

该属性存储了此IviSurface 的 ivi id id。

surface : WaylandSurface [read-only]

该属性保存了与该IviSurface 关联的表面。

方法文档

void initialize(IviApplication iviApplication, WaylandSurface surface, int iviId, WaylandResource resource)

初始化IviSurface ,并将它与给定的iviApplication 、surface 、iviId 和resource 相关联。

int sendConfigure(size size)

向客户端发送一个配置事件,指示其将画布调整为给定的size 。

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