QWaylandShellSurface Class
Die Klasse QWaylandShellSurface ist eine gemeinsame Schnittstelle für Oberflächenrollen, die von Shell-Erweiterungen festgelegt werden. Mehr...
Kopfzeile: | #include <QWaylandShellSurface> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
In QML: | ShellSurface |
Vererbt: | QWaylandCompositorExtension |
Vererbt von: |
Eigenschaften
(since 6.8)
modal : const bool- windowType : const Qt::WindowType
Öffentliche Funktionen
virtual QWaylandQuickShellIntegration * | createIntegration(QWaylandQuickShellSurfaceItem *item) = 0 |
bool | isModal() const |
virtual Qt::WindowType | windowType() const |
Signale
void | modalChanged() |
void | windowTypeChanged() |
Detaillierte Beschreibung
Diese Schnittstelle stellt eine Wayland-Oberflächenrolle dar, die durch eine Wayland-Protokoll-Erweiterung gegeben ist, die definiert, wie QWaylandSurface auf dem Bildschirm abgebildet werden soll.
Siehe auch QWaylandSurface, QWaylandWlShellSurface, QWaylandIviSurface, und QWaylandShellSurfaceTemplate.
Eigenschaft Dokumentation
[read-only, since 6.8]
modal : const bool
Diese Eigenschaft ist wahr, wenn ShellSurface einen modalen Dialog darstellt.
Diese Eigenschaft wurde in Qt 6.8 eingeführt.
Zugriffsfunktionen:
bool | isModal() const |
Notifier-Signal:
void | modalChanged() |
[read-only]
windowType : const Qt::WindowType
Diese Eigenschaft enthält den Fenstertyp des QWaylandShellSurface.
Zugriffsfunktionen:
virtual Qt::WindowType | windowType() const |
Melder-Signal:
void | windowTypeChanged() |
Member Function Dokumentation
[pure virtual]
QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)
Erzeugt eine QWaylandQuickShellIntegration für diese QWaylandQuickShellSurface. Es wird automatisch aufgerufen, wenn item's shellSurface zugewiesen wird.
Siehe auch QWaylandQuickShellSurfaceItem.
© 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.