In questa pagina

IdleInhibitManagerV1 QML Type

Fornisce un'estensione che consente di disattivare il comportamento in inattività del compositore. Maggiori informazioni...

Import Statement: import QtWayland.Compositor
In C++: QWaylandIdleInhibitManagerV1

Descrizione dettagliata

L'estensione IdleInhibitManagerV1 offre al client un modo per inibire il comportamento di inattività del compositore quando una superficie specifica è visivamente rilevante per l'utente.

IdleInhibitManagerV1 corrisponde all'interfaccia Wayland, zwp_idle_inhibit_manager_v1.

Per fornire la funzionalità dell’estensione in un compositore, creare un’istanza del componente IdleInhibitManagerV1 e aggiungerla all’elenco delle estensioni supportate dal compositore:

import QtWayland.Compositor

WaylandCompositor {
    IdleInhibitManagerV1 {
        // ...
    }
}

Le superfici inibite hanno la proprietà WaylandSurface::inhibitsIdle impostata su true.

Vedi anche WaylandSurface::inhibitsIdle.

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