QWaylandShell Class
Clase abstracta para implementar un shell wayland. Más...
| Cabecera: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| En QML: | Shell |
| Hereda: | 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 de los tipos de miembros
enum QWaylandShell::FocusPolicy
Este tipo enum se utiliza para especificar la política de enfoque de las superficies de la cáscara.
| Constante | Valor | Descripción |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | Las superficies de concha obtendrán automáticamente el foco del teclado cuando sean creadas. |
QWaylandShell::ManualFocus | 1 | El compositor decidirá si las superficies de la carcasa deben obtener el foco del teclado o no. |
Documentación de Propiedades
focusPolicy : FocusPolicy
Esta propiedad mantiene la política de enfoque de QWaylandShell.
Funciones de acceso:
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Señal del 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.