IviSurface QML Type

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

Import Statement: import QtWayland.Compositor 1.3
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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qtwayland-compositor-ivisurface.html