XdgOutputManagerV1 QML Type
デスクトップ向けの形式で出力を記述するための拡張機能を提供します。詳細...
| Import Statement: | import QtWayland.Compositor.XdgShell |
| In C++: | QWaylandXdgOutputManagerV1 |
詳細な説明
XdgOutputManagerV1 拡張機能は、コンポジターが、デスクトップ指向のシステムにおける出力の概念により沿った形で出力を記述する手段を提供します。
IVI システムなどの他のアプリケーションでは、一部の情報は意味をなさない場合があります。
通常、デスクトップシステム上のグローバルコンポジタ空間は、連続した、あるいは重なり合う一連の長方形の領域で構成されています。
XdgOutputManagerV1 は、Wayland インターフェースzxdg_output_manager_v1 に対応しています。
コンポジターでこの拡張機能の機能を提供するには、XdgOutputManagerV1 コンポーネントのインスタンスを作成し、それをコンポジターがサポートする拡張機能のリストに追加し、各XdgOutputV1 をそのWaylandOutput と関連付けます。
import QtWayland.Compositor
WaylandCompositor {
XdgOutputManagerV1 {
WaylandOutput {
id: output1
position: Qt.point(0, 0)
window: Window {}
XdgOutputV1 {
name: "WL-1"
logicalPosition: output1.position
logicalSize: Qt.size(output1.geometry.width / output1.scaleFactor,
output1.geometry.height / output1.scaleFactor)
}
}
WaylandOutput {
id: output2
position: Qt.point(800, 0)
window: Window {}
XdgOutputV1 {
name: "WL-2"
logicalPosition: output2.position
logicalSize: Qt.size(output2.geometry.width / output2.scaleFactor,
output2.geometry.height / output2.scaleFactor)
}
}
}
}© 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.