IviSurface QML Type

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

import 语句: import QtWayland.Compositor.IviApplication
实例化: QWaylandIviSurface

特性

方法

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


[read-only] 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 .