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 シーンの一部としてwl_shell
、xdg_shell
またはivi_application
サーフェスをレンダリングするために使用されます。ウィンドウの装飾をクリックすることによってトリガーされる移動とサイズ変更を処理します。
QWaylandQuickItem 、QWaylandWlShellSurface 、QWaylandIviSurfaceも参照してください 。
プロパティ ドキュメント
autoCreatePopupItems : bool
このプロパティは、このアイテムが管理するシェルサーフェスの親になるポップアップのQWaylandQuickShellSurfaceItemsを自動的に作成するかどうかを保持します。
アクセス関数
bool | autoCreatePopupItems() |
void | setAutoCreatePopupItems(bool enabled) |
通知シグナル
void | autoCreatePopupItemsChanged() |
moveItem : QQuickItem*
このプロパティは、このQWaylandQuickShellSurfaceItem の移動項目を保持する。これは、クライアントがQWaylandShellSurface の移動、最大化、サイズ変更などを要求したときに移動される項目である。このプロパティは、サーバサイドの装飾を実装するときに便利です。
アクセス関数
QQuickItem * | moveItem() const |
void | setMoveItem(QQuickItem *moveItem) |
通知シグナル
void | moveItemChanged() |
shellSurface : QWaylandShellSurface*
このプロパティは、このQWaylandQuickShellSurfaceItem によってレンダリングされたQWaylandShellSurface を保持する。どのシェルプロトコルが使用されているかによって、QWaylandXdgSurfaceV5、QWaylandWlShellSurface 、QWaylandIviSurface のいずれかになります。
アクセス関数
QWaylandShellSurface * | shellSurface() const |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
Notifier シグナル:
void | shellSurfaceChanged() |
staysOnBottom : bool
このアイテムは他のウェイランドの表面よりも上に置いてください
アクセス機能
bool | staysOnBottom() const |
void | setStaysOnBottom(bool on) |
通知シグナル
void | staysOnBottomChanged() |
staysOnTop : bool
このアイテムは他のウェイランドの表面よりも上に置いてください
アクセス機能
bool | staysOnTop() const |
void | setStaysOnTop(bool on) |
通知シグナル
void | staysOnTopChanged() |
メンバー関数ドキュメント
QWaylandQuickShellSurfaceItem::QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr)
与えられたparent で QWaylandQuickWlShellSurfaceItem を構築します。
© 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.