IviSurface QML Type

Provides a simple way to identify and resize a surface. 更多...

导入语句: import QtWayland.Compositor 1.0
Since: Qt 5.8

特性

方法

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

详细描述

This type is part of the IviApplication extension and provides a way to extend the functionality of an existing WaylandSurface with a way to resize and identify it.

It corresponds to the Wayland ivi_surface 接口。

特性文档编制

[read-only] iviId : int

This property holds the ivi id id of this IviSurface .


surface : WaylandSurface

This property holds the surface associated with this IviSurface .


方法文档编制

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

初始化 IviSurface , associating it with the given iviApplication , surface , iviId ,和 resource .


int sendConfigure ( size size )

Sends a configure event to the client, telling it to resize the surface to the given size .