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 的功能提供了一种调整大小和识别的方法。

它与 Waylandivi_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,iviIdresource 关联。


int sendConfigure(size size)

向客户端发送 configure 事件,告诉它将曲面的大小调整为给定的size


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