QWaylandShell Class
Waylandシェルを実装するための抽象クラス。詳細...
| ヘッダー: | #include <QWaylandShell> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| QML内: | Shell |
| 継承元: | QWaylandCompositorExtension |
パブリック型
| enum | FocusPolicy { AutomaticFocus, ManualFocus } |
プロパティ
- focusPolicy : FocusPolicy
パブリック関数
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
シグナル
| void | focusPolicyChanged() |
メンバ型のドキュメント
enum QWaylandShell::FocusPolicy
この列挙型は、シェルサーフェスのフォーカスポリシーを指定するために使用されます。
| 定数 | 値 | 説明 |
|---|---|---|
QWaylandShell::AutomaticFocus | 0 | シェルサーフェスは、作成されると自動的にキーボードフォーカスを取得します。 |
QWaylandShell::ManualFocus | 1 | シェルサーフェスがキーボードフォーカスを取得するかどうかは、コンポジターが決定します。 |
プロパティのドキュメント
focusPolicy : FocusPolicy
このプロパティは、QWaylandShell のフォーカスポリシーを保持します。
アクセス関数:
| QWaylandShell::FocusPolicy | focusPolicy() const |
| void | setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy) |
通知シグナル:
| 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.