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

Detailed Description

Native interface to a Wayland application.

This struct was introduced in Qt 6.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

  • Header: QWaylandApplication

  • Since: Qt 6.5

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

  • Group: QWaylandApplication is part of native-interfaces, native-interfaces-qguiapplication

I. Detailed Description

Accessed through QGuiApplication::nativeInterface().

II. Member Function Documentation

 

II-1. int *QWaylandApplication::compositor() const

Returns the wl_compositor that the application is using.

II-2. int *QWaylandApplication::display() const

Returns the wl_display that the application is using.

II-3. int *QWaylandApplication::keyboard() const

Returns the wl_keyboard belonging to seat() if available.

II-4. int *QWaylandApplication::lastInputSeat() const

Returns the seat on which the last input event happened.

II-5. [pure virtual] uint QWaylandApplication::lastInputSerial() const

Returns the serial of the last input event on any seat.

II-6. int *QWaylandApplication::pointer() const

Returns the wl_pointer belonging to seat() if available.

II-7. int *QWaylandApplication::touch() const

Returns the wl_touch belonging to seat() if available.

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