QWaylandShellSurface Class
QWaylandShellSurface 클래스는 셸 확장으로 지정된 표면 역할에 대한 공통 인터페이스입니다. 더 보기...
Header: | #include <QWaylandShellSurface> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
QML에서: | ShellSurface |
상속합니다: | QWaylandCompositorExtension |
상속 대상: |
속성
(since 6.8)
modal : const bool- windowType : const Qt::WindowType
공공 기능
virtual QWaylandQuickShellIntegration * | createIntegration(QWaylandQuickShellSurfaceItem *item) = 0 |
bool | isModal() const |
virtual Qt::WindowType | windowType() const |
신호
void | modalChanged() |
void | windowTypeChanged() |
상세 설명
이 인터페이스는 QWaylandSurface 가 화면에 매핑되는 방식을 정의하는 Wayland 프로토콜 확장에 의해 제공되는 Wayland 표면 역할을 나타냅니다.
QWaylandSurface, QWaylandWlShellSurface, QWaylandIviSurface, QWaylandShellSurfaceTemplate도 참조하세요 .
속성 문서
[read-only, since 6.8]
modal : const bool
ShellSurface 가 모달 대화 상자를 나타내는 경우 이 속성은 참입니다.
이 프로퍼티는 Qt 6.8에 도입되었습니다.
액세스 함수:
bool | isModal() const |
알림 신호:
void | modalChanged() |
[read-only]
windowType : const Qt::WindowType
이 속성은 QWaylandShellSurface 의 창 유형을 보유합니다.
액세스 함수입니다:
virtual Qt::WindowType | windowType() const |
알림 신호:
void | windowTypeChanged() |
멤버 함수 문서
[pure virtual]
QWaylandQuickShellIntegration *QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem *item)
이 QWaylandQuickShellSurface에 대한 QWaylandQuickShellIntegration 을 생성합니다. item 의 shellSurface 이 할당되면 자동으로 호출됩니다.
QWaylandQuickShellSurfaceItem도 참조하십시오 .
© 2025 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.