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 permet d'étendre les fonctionnalités d'un site WaylandSurface existant en le redimensionnant et en l'identifiant.

Il correspond à l'interface Wayland ivi_surface.

Propriété Documentation

iviId : int [read-only]

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


surface : WaylandSurface [read-only]

Cette propriété contient la surface associée à ce site 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 configure au client, lui indiquant de redimensionner la surface à la valeur donnée size.


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