이 페이지에서

QWaylandShell Class

웨이랜드 셸을 구현하기 위한 추상 클래스입니다. 더 보기...

Header: #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

이 열거형 유형은 셸 표면에 대한 포커스 정책을 지정하는 데 사용됩니다.

Constant설명
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.