QWaylandShell Class
Abstrakte Klasse zur Implementierung einer Wayland-Shell. Mehr...
| Kopfzeile: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | Shell |
| Vererbt: | 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 der Mitgliedstypen
enum QWaylandShell::FocusPolicy
Dieser Enum-Typ wird verwendet, um die Fokus-Politik für Schalenoberflächen festzulegen.
| Konstante | Wert | Beschreibung |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | Shell-Oberflächen erhalten automatisch den Tastaturfokus, wenn sie erstellt werden. |
QWaylandShell::ManualFocus | 1 | Der Compositor entscheidet, ob Shell-Oberflächen den Tastaturfokus erhalten sollen oder nicht. |
Dokumentation der Eigenschaft
focusPolicy : FocusPolicy
Diese Eigenschaft beinhaltet die Fokuspolitik der 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.