QWaylandIviSurface Class
La clase QWaylandIviSurface proporciona una forma sencilla de identificar y redimensionar una superficie. Más...
| Cabecera: | #include <QWaylandIviSurface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| En QML: | IviSurface |
| Hereda: | QWaylandShellSurfaceTemplate |
Propiedades
Funciones públicas
| QWaylandIviSurface() | |
| QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) | |
| void | initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
| uint | iviId() const |
| void | sendConfigure(const QSize &size) |
| QWaylandSurface * | surface() const |
Señales
| void | iviIdChanged() |
| void | surfaceChanged() |
Miembros públicos estáticos
| QWaylandIviSurface * | fromResource(wl_resource *resource) |
| const struct wl_interface * | interface() |
| QWaylandSurfaceRole * | role() |
Descripción detallada
Esta clase forma parte de la extensión QWaylandIviApplication y proporciona una forma de ampliar la funcionalidad de un QWaylandSurface existente con una forma de redimensionarlo e identificarlo.
Corresponde a la interfaz Wayland ivi_surface.
Documentación de propiedades
[read-only] iviId : uint
Esta propiedad contiene el identificador ivi de este QWaylandIviSurface.
Funciones de acceso:
| uint | iviId() const |
Señal del notificador:
| void | iviIdChanged() |
[read-only] surface : QWaylandSurface*
Esta propiedad contiene la superficie asociada a este QWaylandIviSurface.
Funciones de acceso:
| QWaylandSurface * | surface() const |
Señal del notificador:
| void | surfaceChanged() |
Documentación de la función miembro
QWaylandIviSurface::QWaylandIviSurface()
Construye una QWaylandIviSurface.
QWaylandIviSurface::QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
Construye una QWaylandIviSurface para surface y la inicializa con los datos application, surface, iviId, y resource.
[static] QWaylandIviSurface *QWaylandIviSurface::fromResource(wl_resource *resource)
Devuelve el QWaylandIviSurface correspondiente al resource.
[invokable] void QWaylandIviSurface::initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
Inicializa el QWaylandIviSurface, asociándolo con los iviApplication, surface, iviId, y resource dados.
Nota: Esta función puede invocarse a través del sistema de metaobjetos y desde QML. Véase Q_INVOKABLE.
[static] const struct wl_interface *QWaylandIviSurface::interface()
Devuelve la interfaz Wayland para QWaylandIviSurface.
[static] QWaylandSurfaceRole *QWaylandIviSurface::role()
Devuelve el papel de la superficie para el QWaylandIviSurface.
[invokable] void QWaylandIviSurface::sendConfigure(const QSize &size)
Envía un evento configure al cliente, indicándole que redimensione la superficie al valor dado size.
Nota: Esta función puede ser invocada a través del sistema de meta-objetos y desde QML. Véase Q_INVOKABLE.
© 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.