IviSurface QML Type

Provides a simple way to identify and resize a surface. More...

Import Statement: import QtWayland.Compositor 1.1
Since: Qt 5.8

Properties

Methods

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

Detailed Description

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

Property Documentation

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


Method Documentation

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

Initializes the IviSurface, associating it with the given iviApplication, surface, iviId, and resource.


int sendConfigure(size size)

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


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