이 페이지에서

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.