이 페이지에서

QWaylandShellSurface Class

QWaylandShellSurface 클래스는 셸 확장 기능이 지정하는 표면 역할에 대한 공통 인터페이스입니다. 더 보기...

헤더: #include <QWaylandShellSurface>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
QML에서: ShellSurface
상속: QWaylandCompositorExtension
상속받는 클래스:

QWaylandShellSurfaceTemplate

속성

공개 함수

virtual QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) = 0
bool isModal() const
virtual Qt::WindowType windowType() const

신호

상세 설명

이 인터페이스는 QWaylandSurface 가 화면에 어떻게 매핑되어야 하는지를 정의하는 Wayland 프로토콜 확장에 의해 제공되는 Wayland 서피스 역할을 나타냅니다.

QWaylandSurface, QWaylandXdgSurface, QWaylandIviSurface, QWaylandWlShellSurface 및 QWaylandShellSurfaceTemplate도 참조하십시오 .

속성 설명서

ShellSurface 가 모달 대화 상자를 나타내는 경우 이 속성은 true입니다.

이 열거형은 Qt 6.8에서 도입되었습니다.

액세스 함수:

bool isModal() const

Notifier 신호:

void modalChanged()

[read-only] windowType : Qt::WindowType

이 속성은 QWaylandShellSurface 의 window type 를 포함합니다.

액세스 함수:

virtual Qt::WindowType windowType() const

알림 신호:

void windowTypeChanged()

멤버 함수 문서

[pure virtual] QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)

이 QWaylandQuickShellSurface에 대한 QWaylandQuickShellIntegration 를 생성합니다. 이 메서드는 item 의 shellSurface 가 할당될 때 자동으로 호출됩니다.

QWaylandQuickShellSurfaceItem도 참조하십시오 .

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