QWaylandShellSurface Class
La classe QWaylandShellSurface è un'interfaccia comune per i ruoli delle superfici specificati dalle estensioni della shell. Per saperne di più...
| Intestazione: | #include <QWaylandShellSurface> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | ShellSurface |
| Eredita da: | QWaylandCompositorExtension |
| Ereditato da: |
Proprietà
(since 6.8)modal : bool- windowType : Qt::WindowType
Funzioni pubbliche
| virtual QWaylandQuickShellIntegration * | createIntegration(QWaylandQuickShellSurfaceItem *item) = 0 |
| bool | isModal() const |
| virtual Qt::WindowType | windowType() const |
Segnali
| void | modalChanged() |
| void | windowTypeChanged() |
Descrizione dettagliata
Questa interfaccia rappresenta un ruolo di superficie Wayland definito da un'estensione del protocollo Wayland che specifica come la funzione QWaylandSurface debba essere mappata sullo schermo.
Vedi anche QWaylandSurface, QWaylandXdgSurface, QWaylandIviSurface, QWaylandWlShellSurface e QWaylandShellSurfaceTemplate.
Documentazione delle proprietà
[read-only, since 6.8] modal : bool
Questa proprietà è vera se l'ShellSurface e rappresenta una finestra di dialogo modale.
Questa enumerazione è stata introdotta in Qt 6.8.
Funzioni di accesso:
| bool | isModal() const |
Segnale Notifier:
| void | modalChanged() |
[read-only] windowType : Qt::WindowType
Questa proprietà contiene l'window type e dell'QWaylandShellSurface.
Funzioni di accesso:
| virtual Qt::WindowType | windowType() const |
Segnale di notifica:
| void | windowTypeChanged() |
Documentazione delle funzioni membro
[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)
Crea un oggetto ` QWaylandQuickShellIntegration ` per questa `QWaylandQuickShellSurface`. Viene chiamato automaticamente quando viene assegnato il parametro ` shellSurface ` dell'oggetto ` item`.
Vedi anche 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.