En esta página

QWaylandIdleInhibitManagerV1 Class

Proporciona una extensión que permite inhibir el comportamiento de reposo del compositor. Más...

Cabecera: #include <QWaylandIdleInhibitManagerV1>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
En QML: IdleInhibitManagerV1
Hereda: QWaylandCompositorExtensionTemplate

Funciones Públicas

Funciones públicas reimplementadas

virtual void initialize() override

Miembros públicos estáticos

const struct wl_interface *interface()

Descripción detallada

La extensión QWaylandIdleInhibitV1 proporciona una forma para que un cliente inhiba el comportamiento idle del compositor cuando una superficie específica es visualmente relevante para el usuario.

QWaylandIdleInhibitManagerV1 corresponde a la interfaz de Wayland, zwp_idle_inhibit_manager_v1.

Las superficies inhibidas tienen la propiedad QWaylandSurface::inhibitsIdle establecida en true.

Véase también QWaylandSurface::inhibitsIdle.

Documentación de las funciones miembro

QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()

Construye un objeto QWaylandIdleInhibitManagerV1.

[explicit] QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor)

Construye un objeto QWaylandIdleInhibitManagerV1 para la dirección compositor.

[virtual noexcept] QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()

Destruye un objeto QWaylandIdleInhibitManagerV1.

[override virtual] void QWaylandIdleInhibitManagerV1::initialize()

Reimplementa: QWaylandCompositorExtension::initialize().

Inicializa la extensión.

[static] const struct wl_interface *QWaylandIdleInhibitManagerV1::interface()

Devuelve la interfaz Wayland para QWaylandIdleInhibitManagerV1.

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