QWaylandShell Class
Abstrakte Klasse zur Implementierung einer Wayland-Shell. Mehr...
| Header: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | Shell |
| Erbt von: | QWaylandCompositorExtension |
Öffentliche Typen
| enum | FocusPolicy { AutomaticFocus, ManualFocus } |
Eigenschaften
- focusPolicy : FocusPolicy
Öffentliche Funktionen
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Signale
| void | focusPolicyChanged() |
Dokumentation zu Mitgliedstypen
enum QWaylandShell::FocusPolicy
Dieser Enum-Typ dient zur Festlegung der Fokusrichtlinie für Shell-Oberflächen.
| Konstante | Wert | Beschreibung |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | Shell-Oberflächen erhalten bei ihrer Erstellung automatisch den Tastaturfokus. |
QWaylandShell::ManualFocus | 1 | Der Compositor entscheidet, ob Shell-Oberflächen den Tastaturfokus erhalten sollen oder nicht. |
Eigenschaftsdokumentation
focusPolicy : FocusPolicy
Diese Eigenschaft enthält die Fokusrichtlinie des „ QWaylandShell “.
Zugriffsfunktionen:
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Benachrichtigungssignal:
| void | focusPolicyChanged() |
© 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.