QWaylandShell Class
Classe abstrata para implementar um shell Wayland. Mais...
| Cabeçalho: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| No QML: | Shell |
| Herdado de: | QWaylandCompositorExtension |
Tipos públicos
| enum | FocusPolicy { AutomaticFocus, ManualFocus } |
Propriedades
- focusPolicy : FocusPolicy
Funções públicas
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Sinais
| void | focusPolicyChanged() |
Documentação do tipo de membro
enum QWaylandShell::FocusPolicy
Esse tipo de enumeração é usado para especificar a política de foco para superfícies do shell.
| Constante | Valor | Descrição |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | As superfícies do shell receberão automaticamente o foco do teclado quando forem criadas. |
QWaylandShell::ManualFocus | 1 | O compositor decidirá se as superfícies do shell devem receber o foco do teclado ou não. |
Documentação da propriedade
focusPolicy : FocusPolicy
Essa propriedade define a política de foco do QWaylandShell.
Funções de acesso:
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Sinal do 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.