Auf dieser Seite

QWaylandIviApplication Class

Die Klasse „QWaylandIviApplication“ ist eine Erweiterung für Benutzeroberflächen im Embedded-Stil. Mehr...

Header: #include <QWaylandIviApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
In QML: IviApplication
Erbt von: QWaylandCompositorExtensionTemplate

Öffentliche Funktionen

QWaylandIviApplication()
QWaylandIviApplication(QWaylandCompositor *compositor)

Neu implementierte öffentliche Funktionen

virtual void initialize() override

Signale

void iviSurfaceCreated(QWaylandIviSurface *iviSurface)
void iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)

Statische öffentliche Mitglieder

const struct wl_interface *interface()

Ausführliche Beschreibung

Die Erweiterung „QWaylandIviApplication“ bietet die Möglichkeit, eine „ QWaylandIviSurface “ mit einer regulären Wayland-Oberfläche zu verknüpfen. Mithilfe der Schnittstelle „ QWaylandIviSurface “ kann sich der Client durch Angabe einer ivi-ID identifizieren, und der Compositor kann den Client auffordern, die Größe anzupassen.

QWaylandIviApplication entspricht der Wayland-Schnittstelle „ ivi_application “.

Dokumentation der Mitgliedsfunktionen

QWaylandIviApplication::QWaylandIviApplication()

Erstellt ein QWaylandIviApplication-Objekt.

QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)

Erstellt ein QWaylandIviApplication-Objekt für die angegebene ` compositor`.

[override virtual] void QWaylandIviApplication::initialize()

Implementiert: ` QWaylandCompositorExtension::initialize()`.

Initialisiert die Shell-Erweiterung.

[static] const struct wl_interface *QWaylandIviApplication::interface()

Gibt die Wayland-Schnittstelle für die „ QWaylandIviApplication “ zurück.

[signal] void QWaylandIviApplication::iviSurfaceCreated(QWaylandIviSurface *iviSurface)

Dieses Signal wird ausgelöst, wenn ein „ IviSurface “ ( iviSurface) erstellt wurde.

[signal] void QWaylandIviApplication::iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)

Dieses Signal wird ausgelöst, wenn der Client die Zuordnung einer „ ivi_surface “ zu „ surface “ angefordert hat, die durch „ iviId “ identifiziert wird. Der Handler für dieses Signal soll die „ivi“-Oberfläche für „ resource “ erstellen und diese im Rahmen der Signalauslösung initialisieren. Wird keine „ivi“-Oberfläche erstellt, wird stattdessen eine Standardoberfläche erstellt.

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