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() |
詳細な説明
この型は、Qt Quick シーンの一部として、xdg_shell 、ivi_application 、wl_shell 、またはqt_shell サーフェスをレンダリングするために使用されます。
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) |
Notifierシグナル:
| 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.