QWaylandApplication Struct

struct QNativeInterface::QWaylandApplication

Native Schnittstelle zu einer Wayland-Anwendung. Mehr...

Kopfzeile: #include <QGuiApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Seit: Qt 6.5

Öffentliche Funktionen

virtual wl_compositor *compositor() const = 0
virtual wl_display *display() const = 0
virtual wl_keyboard *keyboard() const = 0
virtual wl_seat *lastInputSeat() const = 0
virtual uint lastInputSerial() const = 0
virtual wl_pointer *pointer() const = 0
virtual wl_seat *seat() const = 0
virtual wl_touch *touch() const = 0

Detaillierte Beschreibung

Zu erreichen über QGuiApplication::nativeInterface().

Dokumentation der Mitgliedsfunktionen

[pure virtual] wl_compositor *QWaylandApplication::compositor() const

Gibt den wl_compositor zurück, den die Anwendung verwendet.

[pure virtual] wl_display *QWaylandApplication::display() const

Gibt das wl_display zurück, das die Anwendung verwendet.

[pure virtual] wl_keyboard *QWaylandApplication::keyboard() const

Gibt das zu seat() gehörende wl_keyboard zurück, falls vorhanden.

[pure virtual] wl_seat *QWaylandApplication::lastInputSeat() const

Gibt den Sitzplatz zurück, an dem das letzte Eingabeereignis stattgefunden hat.

[pure virtual] uint QWaylandApplication::lastInputSerial() const

Gibt die Serie des letzten Eingabeereignisses auf einem beliebigen Platz zurück.

[pure virtual] wl_pointer *QWaylandApplication::pointer() const

Gibt den wl_pointer zurück, der zu seat() gehört, falls vorhanden.

[pure virtual] wl_seat *QWaylandApplication::seat() const

Gibt den Sitz zurück, der mit dem Standardeingabegerät verbunden ist.

[pure virtual] wl_touch *QWaylandApplication::touch() const

Gibt die zu seat() gehörende wl_touch zurück, falls vorhanden.

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