XdgSurface QML Type
XdgSurface は、xdg サーフェスに対してデスクトップスタイルのコンポジター固有の機能を提供します。詳細...
| Import Statement: | import QtWayland.Compositor.XdgShell |
| In C++: | QWaylandXdgSurface |
プロパティ
- popup : XdgPopup
- shell : XdgShell
- surface : WaylandSurface
- toplevel : XdgToplevel
- windowGeometry : rect
- windowType : enum
方法
- void initialize(object xdgShell, object surface, object client, int id)
詳細な説明
この型は、XdgShell 拡張機能の一部であり、既存のWaylandSurface の機能を、サーフェスのサイズ変更や移動など、デスクトップスタイルのコンポジターに特有の機能で拡張する手段を提供します。
これは、Wayland インターフェース `xdg_surface` に対応しています。
プロパティのドキュメント
popup : XdgPopup [read-only]
このプロパティには、XdgSurface のポップアップに固有のプロパティとメソッドが格納されています。
「 toplevel 」および「XdgShell::popupCreated 」も参照してください 。
shell : XdgShell [read-only]
このプロパティには、このXdgSurface に関連付けられたシェルが格納されています。
surface : WaylandSurface [read-only]
このプロパティには、このXdgSurface に関連付けられたサーフェスが格納されています。
toplevel : XdgToplevel [read-only]
このプロパティには、トップレベルの `XdgSurface` に固有のプロパティとメソッドが格納されています。
「 popup 」および「XdgShell::toplevelCreated 」も参照してください 。
windowGeometry : rect [read-only]
このプロパティは、このXdgSurface のウィンドウのジオメトリを保持します。ウィンドウのジオメトリは、ユーザーの視点から見たウィンドウの表示範囲を表します。ジオメトリには、クライアントによって描画されたタイトルバーや枠線が含まれますが、ドロップシャドウは含まれません。これは、ウィンドウの位置合わせやタイル表示に使用することを目的としています。
windowType : enum [read-only]
このプロパティは、XdgSurface のウィンドウタイプを保持します。
メソッドのドキュメント
void initialize(object xdgShell, object surface, object client, int id)
XdgSurface を初期化し、指定されたxdgShell 、surface 、client 、およびid と関連付けます。
© 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.