QWaylandShell Class
Classe abstraite pour l'implémentation d'un shell wayland. Plus d'informations...
| En-tête : | #include <QWaylandShell> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake : | QT += waylandcompositor |
| En QML : | Shell |
| Héritages : | QWaylandCompositorExtension |
Types publics
| enum | FocusPolicy { AutomaticFocus, ManualFocus } |
Propriétés
- focusPolicy : FocusPolicy
Fonctions publiques
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Signaux
| void | focusPolicyChanged() |
Documentation des types de membres
enum QWaylandShell::FocusPolicy
Ce type d'énumération est utilisé pour spécifier la politique de mise au point pour les surfaces de coques.
| Constante | Valeur | Description |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | Les surfaces de coque obtiennent automatiquement le focus clavier lorsqu'elles sont créées. |
QWaylandShell::ManualFocus | 1 | Le compositeur décidera si les surfaces de coque doivent obtenir le focus clavier ou non. |
Documentation de la propriété
focusPolicy : FocusPolicy
Cette propriété contient la politique de focalisation du site QWaylandShell.
Fonctions d'accès :
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Signal de notification :
| 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.