このページでは

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 }

プロパティ

パブリック関数

QWaylandShell::FocusPolicy focusPolicy() const
void setFocusPolicy(QWaylandShell::FocusPolicy focusPolicy)

シグナル

詳細な説明

メンバ型のドキュメント

enum QWaylandShell::FocusPolicy

この列挙型は、シェルサーフェスのフォーカスポリシーを指定するために使用されます。

定数値説明
QWaylandShell::AutomaticFocus0シェルサーフェスは、作成されると自動的にキーボードフォーカスを取得します。
QWaylandShell::ManualFocus1シェルサーフェスがキーボードフォーカスを取得するかどうかは、コンポジターが決定します。

プロパティのドキュメント

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.