QWaylandIviApplication Class
Die Klasse QWaylandIviApplication ist eine Erweiterung für Benutzeroberflächen im eingebetteten Stil. Mehr...
Kopfzeile: | #include <QWaylandIviApplication> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
In QML: | IviApplication |
Vererbt: | QWaylandCompositorExtensionTemplate |
Öffentliche Funktionen
QWaylandIviApplication() | |
QWaylandIviApplication(QWaylandCompositor *compositor) |
Reimplementierte ö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() |
Detaillierte Beschreibung
Die QWaylandIviApplication-Erweiterung bietet eine Möglichkeit, eine QWaylandIviSurface mit einer regulären Wayland-Oberfläche zu verknüpfen. Über die Schnittstelle QWaylandIviSurface kann sich der Client mit einer ivi-ID identifizieren und der Compositor kann den Client auffordern, die Größe zu ändern.
QWaylandIviApplication entspricht der Wayland ivi_application
Schnittstelle.
Dokumentation der Mitgliedsfunktionen
QWaylandIviApplication::QWaylandIviApplication()
Konstruiert ein QWaylandIviApplication-Objekt.
QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)
Konstruiert ein QWaylandIviApplication-Objekt für die angegebene compositor.
[override virtual]
void QWaylandIviApplication::initialize()
Reimplements: 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 ausgegeben, wenn eine IviSurface, iviSurface, erstellt worden ist.
[signal]
void QWaylandIviApplication::iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
Dieses Signal wird ausgegeben, wenn der Client eine ivi_surface
angefordert hat, die mit surface verknüpft werden soll, was durch iviId identifiziert wird. Vom Handler für dieses Signal wird erwartet, dass er die ivi-Oberfläche für resource erstellt und sie im Rahmen der Signalausgabe initialisiert. Wird keine ivi-Oberfläche erstellt, wird stattdessen eine Standardoberfläche erstellt.
© 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.