Sur cette page

IviSurface QML Type

Fournit un moyen simple d'identifier et de redimensionner une surface. Plus d'informations...

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

Propriétés

Méthodes

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

Description détaillée

Ce type fait partie de l'extension IviApplication et fournit un moyen d'étendre la fonctionnalité d'un WaylandSurface existant avec un moyen de le redimensionner et de l'identifier.

Il correspond à l'interface Wayland ivi_surface.

Documentation sur les propriétés

iviId : int [read-only]

Cette propriété contient l'identifiant ivi de cette IviSurface.

surface : WaylandSurface [read-only]

Cette propriété contient la surface associée à cette IviSurface.

Documentation de la méthode

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

Initialise le site IviSurface, en l'associant aux sites iviApplication, surface, iviId, et resource.

int sendConfigure(size size)

Envoie un événement de configuration au client, lui demandant de redimensionner la surface à la valeur donnée 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.