IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QWaylandIdleInhibitManagerV1 Class

Provides an extension that allows to inhibit the idle behavior of the compositor.

This class was introduced in Qt 5.14.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QWaylandIdleInhibitManagerV1 Class

  • Header: QWaylandIdleInhibitManagerV1

  • Since: Qt 5.14

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Waylandcompositor)

    target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)

  • qmake: QT += waylandcompositor

  • Inherited By:

  • Instantiated By: qml-qtwayland-compositor-idleinhibitmanagerv1.xml

Detailed Description

The QWaylandIdleInhibitV1 extension provides a way for a client to inhibit the idle behavior of the compositor when a specific surface is visually relevant to the user.

QWaylandIdleInhibitManagerV1 corresponds to the Wayland interface, zwp_idle_inhibit_manager_v1.

Inhibited surfaces have the QWaylandSurface::inhibitsIdle property set to true.

See Also

Member Function Documentation

 

QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()

Constructs a QWaylandIdleInhibitManagerV1 object.

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

Constructs a QWaylandIdleInhibitManagerV1 object for the provided compositor.

QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()

Destructs a QWaylandIdleInhibitManagerV1 object.

void QWaylandIdleInhibitManagerV1::initialize()

Initializes the extension.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+