QWaylandShell Class
Clase abstracta para implementar un shell de Wayland. Más información...
| Encabezado: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| En QML: | Shell |
| Heredan de: | QWaylandCompositorExtension |
Tipos públicos
| enum | FocusPolicy { AutomaticFocus, ManualFocus } |
Propiedades
- focusPolicy : FocusPolicy
Funciones públicas
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Señales
| void | focusPolicyChanged() |
Documentación sobre los tipos de miembros
enum QWaylandShell::FocusPolicy
Este tipo de enumeración se utiliza para especificar la política de enfoque de las superficies del shell.
| Constante | Valor | Descripción |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | Las superficies del shell obtendrán automáticamente el foco del teclado cuando se creen. |
QWaylandShell::ManualFocus | 1 | El compositor decidirá si las superficies del shell deben recibir el foco del teclado o no. |
Documentación de la propiedad
focusPolicy : FocusPolicy
Esta propiedad contiene la política de enfoque de QWaylandShell.
Funciones de acceso:
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Señal de notificador:
| 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.