QWaylandShell Class
Classe astratta per l'implementazione di una shell Wayland. Maggiori informazioni...
| Intestazione: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| In QML: | Shell |
| Eredita da: | QWaylandCompositorExtension |
Tipi pubblici
| enum | FocusPolicy { AutomaticFocus, ManualFocus } |
Proprietà
- focusPolicy : FocusPolicy
Funzioni pubbliche
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Segnali
| void | focusPolicyChanged() |
Documentazione sui tipi dei membri
enum QWaylandShell::FocusPolicy
Questo tipo di enumerazione viene utilizzato per specificare la politica di focus per le superfici della shell.
| Costante | Valore | Descrizione |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | Le superfici della shell otterranno automaticamente il focus da tastiera al momento della loro creazione. |
QWaylandShell::ManualFocus | 1 | Sarà il compositore a decidere se le superfici della shell debbano ottenere o meno il focus da tastiera. |
Documentazione della proprietà
focusPolicy : FocusPolicy
Questa proprietà definisce la politica di focus dell'QWaylandShell.
Funzioni di accesso:
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
Segnale di notifica:
| 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.