QWaylandIdleInhibitManagerV1 Class
Bietet eine Erweiterung, mit der das Leerlaufverhalten des Compositors unterbunden werden kann. Mehr...
| Überschrift: | #include <QWaylandIdleInhibitManagerV1> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | IdleInhibitManagerV1 |
| Erbt von: | QWaylandCompositorExtensionTemplate |
Öffentliche Funktionen
| QWaylandIdleInhibitManagerV1() | |
| QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor) | |
| virtual | ~QWaylandIdleInhibitManagerV1() |
Neu implementierte öffentliche Funktionen
| virtual void | initialize() override |
Statische öffentliche Mitglieder
| const struct wl_interface * | interface() |
Ausführliche Beschreibung
Die Erweiterung „QWaylandIdleInhibitV1“ bietet einem Client die Möglichkeit, das Leerlaufverhalten des Compositors zu unterbinden, wenn eine bestimmte Oberfläche für den Benutzer visuell relevant ist.
QWaylandIdleInhibitManagerV1 entspricht der Wayland-Schnittstelle „ zwp_idle_inhibit_manager_v1 “.
Bei unterdrückten Oberflächen ist die Eigenschaft „ QWaylandSurface::inhibitsIdle “ auf „ true “ gesetzt.
Siehe auch „ QWaylandSurface::inhibitsIdle “.
Dokumentation der Mitgliedsfunktionen
QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()
Erstellt ein QWaylandIdleInhibitManagerV1-Objekt.
[explicit] QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor)
Erstellt ein „QWaylandIdleInhibitManagerV1“-Objekt für die angegebene „ compositor “.
[virtual noexcept] QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()
Löst ein „ QWaylandIdleInhibitManagerV1 “-Objekt auf.
[override virtual] void QWaylandIdleInhibitManagerV1::initialize()
Implementiert: ` QWaylandCompositorExtension::initialize()`.
Initialisiert die Erweiterung.
[static] const struct wl_interface *QWaylandIdleInhibitManagerV1::interface()
Gibt die Wayland-Schnittstelle für „ QWaylandIdleInhibitManagerV1 “ zurück.
© 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.