IdleInhibitManagerV1 QML Type
Stellt eine Erweiterung zur Verfügung, die es erlaubt, das Leerlaufverhalten des Compositors zu unterbinden. Mehr...
Import Statement: | import QtWayland.Compositor |
In C++: | QWaylandIdleInhibitManagerV1 |
Detaillierte Beschreibung
Die IdleInhibitManagerV1-Erweiterung bietet eine Möglichkeit für einen Client, das Leerlaufverhalten des Compositors zu unterdrücken, wenn eine bestimmte Oberfläche für den Benutzer visuell relevant ist.
IdleInhibitManagerV1 entspricht der Wayland-Schnittstelle, zwp_idle_inhibit_manager_v1
.
Um die Funktionalität der Erweiterung in einem Compositor bereitzustellen, erstellen Sie eine Instanz der Komponente IdleInhibitManagerV1 und fügen Sie sie der Liste der vom Compositor unterstützten Erweiterungen hinzu:
import QtWayland.Compositor WaylandCompositor { IdleInhibitManagerV1 { // ... } }
Bei gesperrten Flächen ist die Eigenschaft WaylandSurface::inhibitsIdle auf true
gesetzt.
Siehe auch WaylandSurface::inhibitsIdle.
© 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.