이 페이지에서

QWaylandXdgDecorationManagerV1 Class

서버 측 및 클라이언트 측 창 장식 협상을 위한 확장 기능을 제공합니다. 더 보기...

헤더: #include <QWaylandXdgDecorationManagerV1>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
QML에서: XdgDecorationManagerV1
상속: QWaylandCompositorExtensionTemplate

속성

공개 함수

QWaylandXdgDecorationManagerV1()
QWaylandXdgToplevel::DecorationMode preferredMode() const
void setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode)

재구현된 공용 함수

virtual void initialize() override

신호

정적 공용 멤버

const struct wl_interface *interface()

상세 설명

QWaylandXdgDecorationManagerV1 확장 기능은 컴포지터가 서버 측 창 장식을 지원함을 알리고, xdg-shell 클라이언트가 클라이언트 측 장식 또는 서버 측 장식 중 어느 쪽을 선호하는지 전달할 수 있는 방법을 제공합니다.

QWaylandXdgDecorationManagerV1은 Wayland 인터페이스인 zxdg_decoration_manager_v1 에 해당합니다.

QWaylandXdgToplevel::decorationMode도 참조하십시오 .

속성 설명서

preferredMode : QWaylandXdgToplevel::DecorationMode

이 속성은 컴포지터가 선호하는 장식 모드를 저장합니다.

이 모드는 서버 측 또는 클라이언트 측 데코레이션에 대한 선호도를 명시하지 않은 클라이언트에 대해 사용됩니다.

액세스 함수:

QWaylandXdgToplevel::DecorationMode preferredMode() const
void setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode)

알림 신호:

void preferredModeChanged()

멤버 함수 문서

[explicit] QWaylandXdgDecorationManagerV1::QWaylandXdgDecorationManagerV1()

QWaylandXdgDecorationManagerV1 객체를 생성합니다.

[override virtual] void QWaylandXdgDecorationManagerV1::initialize()

QWaylandCompositorExtension::initialize()를 재구현합니다.

확장 기능을 초기화합니다.

[static] const struct wl_interface *QWaylandXdgDecorationManagerV1::interface()

QWaylandXdgDecorationManagerV1 에 대한 Wayland 인터페이스를 반환합니다.

© 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.