QWaylandQuickShellSurfaceItem Class
QWaylandQuickShellSurfaceItem 클래스는 QWaylandShellSurface 을 나타내는 Qt Quick 항목을 제공합니다. 더 보기...
| 헤더: | #include <QWaylandQuickShellSurfaceItem> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| QML에서: | ShellSurfaceItem |
| 상속: | QWaylandQuickItem |
속성
|
|
공개 함수
| QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr) | |
| bool | autoCreatePopupItems() |
| QQuickItem * | moveItem() const |
| void | setAutoCreatePopupItems(bool enabled) |
| void | setMoveItem(QQuickItem *moveItem) |
| void | setShellSurface(QWaylandShellSurface *shellSurface) |
| void | setStaysOnBottom(bool on) |
| void | setStaysOnTop(bool on) |
| QWaylandShellSurface * | shellSurface() const |
| bool | staysOnBottom() const |
| bool | staysOnTop() const |
신호
| void | autoCreatePopupItemsChanged() |
| void | moveItemChanged() |
| void | shellSurfaceChanged() |
| void | staysOnBottomChanged() |
| void | staysOnTopChanged() |
QWaylandQuickItem, QWaylandXdgSurface, QWaylandIviSurface 및 QWaylandWlShellSurface도 참조하십시오 .
속성 설명서
autoCreatePopupItems : bool
이 속성은 이 항목이 관리하는 셸 표면에 부모로 속한 팝업용 QWaylandQuickShellSurfaceItems가 자동으로 생성되어야 하는지를 결정합니다.
액세스 함수:
| bool | autoCreatePopupItems() |
| void | setAutoCreatePopupItems(bool enabled) |
Notifier 신호:
| void | autoCreatePopupItemsChanged() |
moveItem : QQuickItem*
이 속성은 해당 QWaylandQuickShellSurfaceItem 의 이동 대상 항목을 보관합니다. 이는 클라이언트가 QWaylandShellSurface 의 이동, 최대화, 크기 조정 등을 요청할 때 이동될 항목입니다. 이 속성은 서버 측 데코레이션을 구현할 때 유용합니다.
액세스 함수:
| QQuickItem * | moveItem() const |
| void | setMoveItem(QQuickItem *moveItem) |
Notifier 신호:
| void | moveItemChanged() |
shellSurface : QWaylandShellSurface*
이 속성은 QWaylandQuickShellSurfaceItem 에 의해 렌더링된 QWaylandShellSurface 를 포함합니다. 사용 중인 셸 프로토콜에 따라 QWaylandXdgSurfaceV5, QWaylandWlShellSurface 또는 QWaylandIviSurface 중 하나일 수 있습니다.
액세스 함수:
| QWaylandShellSurface * | shellSurface() const |
| void | setShellSurface(QWaylandShellSurface *shellSurface) |
Notifier 신호:
| void | shellSurfaceChanged() |
staysOnBottom : bool
이 항목을 다른 Wayland 표면보다 위에 배치
액세스 함수:
| bool | staysOnBottom() const |
| void | setStaysOnBottom(bool on) |
알림 신호:
| void | staysOnBottomChanged() |
staysOnTop : bool
이 항목을 다른 Wayland 표면보다 위에 배치
액세스 함수:
| bool | staysOnTop() const |
| void | setStaysOnTop(bool on) |
알림 신호:
| void | staysOnTopChanged() |
멤버 함수 문서
QWaylandQuickShellSurfaceItem::QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr)
지정된 ` parent`을 사용하여 `QWaylandQuickWlShellSurfaceItem`을 생성합니다.
© 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.