XdgSurface QML Type

XdgSurface は、xdg サーフェスにデスクトップスタイルのコンポジター固有の機能を提供します。詳細...

Import Statement: import QtWayland.Compositor.XdgShell
In C++: QWaylandXdgSurface

プロパティ

方法

  • void initialize(object xdgShell, object surface, object client, int id)

詳細な説明

この型はXdgShell 拡張の一部であり、既存のWaylandSurface の機能を、サーフェイスのサイズ変更や移動など、デスクトップ型コンポジター特有の機能で拡張する方法を提供する。

Waylandインターフェイスxdg_surface に対応する。

プロパティ・ドキュメンテーション

このプロパティは、ポップアップ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]

このプロパティは、QWaylandXdgSurface のウィンドウ・ジオメトリを保持します。 ウィンドウ・ジオメトリは、ユーザーの視点から見たウィンドウの可視境界を記述します。ジオメトリには、クライアントによって描画された場合、タイトルバーとボーダーが含まれますが、ドロップシャドウは含まれません。このプロパティは、ウィンドウの整列やタイリングに使用される。


windowType : enum [read-only]

このプロパティは、XdgSurface のウィンドウ・タイプを保持します。


メソッド ドキュメント

void initialize(object xdgShell, object surface, object client, int id)

XdgSurface を初期化し、与えられたxdgShellsurfaceclientid と関連付けます。


© 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.