QWaylandShellSurface Class
Die Klasse „QWaylandShellSurface“ ist eine gemeinsame Schnittstelle für Oberflächenrollen, die von Shell-Erweiterungen festgelegt werden. Mehr...
| Header: | #include <QWaylandShellSurface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | ShellSurface |
| Erbt von: | QWaylandCompositorExtension |
| Vererbt an: |
Eigenschaften
(since 6.8)modal : bool- windowType : Qt::WindowType
Öffentliche Funktionen
| virtual QWaylandQuickShellIntegration * | createIntegration(QWaylandQuickShellSurfaceItem *item) = 0 |
| bool | isModal() const |
| virtual Qt::WindowType | windowType() const |
Signale
| void | modalChanged() |
| void | windowTypeChanged() |
Ausführliche Beschreibung
Diese Schnittstelle repräsentiert eine Wayland-Surface-Rolle, die durch eine Wayland-Protokollerweiterung vorgegeben wird, welche definiert, wie die „ QWaylandSurface “ auf den Bildschirm abgebildet werden soll.
Siehe auch „ QWaylandSurface“ , „ QWaylandXdgSurface “, „ QWaylandIviSurface “, „ QWaylandWlShellSurface “ und „ QWaylandShellSurfaceTemplate “.
Dokumentation zu den Eigenschaften
[read-only, since 6.8] modal : bool
Diese Eigenschaft ist wahr, wenn der „ ShellSurface “ einen modalen Dialog darstellt.
Diese Aufzählung wurde in Qt 6.8 eingeführt.
Zugriffsfunktionen:
| bool | isModal() const |
Notifier-Signal:
| void | modalChanged() |
[read-only] windowType : Qt::WindowType
Diese Eigenschaft enthält die „ window type “ des „ QWaylandShellSurface “.
Zugriffsfunktionen:
| virtual Qt::WindowType | windowType() const |
Notifier-Signal:
| void | windowTypeChanged() |
Dokumentation der Member-Funktionen
[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)
Erstellt eine „ QWaylandQuickShellIntegration “ für diese „QWaylandQuickShellSurface“. Sie wird automatisch aufgerufen, wenn „ shellSurface “ von „ item “ zugewiesen wird.
Siehe auch „ QWaylandQuickShellSurfaceItem “.
© 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.