En esta página

IviSurface QML Type

Ofrece una forma sencilla de identificar y cambiar el tamaño de una superficie. Más...

Import Statement: import QtWayland.Compositor.IviApplication
In C++: QWaylandIviSurface

Propiedades

Métodos

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

Descripción detallada

Este tipo forma parte de la extensión « IviApplication » y ofrece una forma de ampliar la funcionalidad de un « WaylandSurface » ya existente, permitiéndole cambiar el tamaño e identificarlo.

Se corresponde con la interfaz « ivi_surface » de Wayland.

Documentación de propiedades

iviId : int [read-only]

Esta propiedad contiene el identificador «ivi id» de este IviSurface.

surface : WaylandSurface [read-only]

Esta propiedad contiene la superficie asociada a este IviSurface.

Documentación del método

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

Inicializa el objeto ` IviSurface`, asociándolo con los valores indicados: ` iviApplication`, ` surface`, ` iviId` y ` resource`.

int sendConfigure(size size)

Envía un evento de configuración al cliente, indicándole que ajuste el tamaño de la superficie al valor especificado en ` size`.

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