このページでは

QWaylandShell Class

ウェイランドシェルを実装するための抽象クラス。さらに...

ヘッダー #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.