QWaylandXdgDecorationManagerV1 Class
サーバー側およびクライアント側のウィンドウ装飾のネゴシエーションを行うための拡張機能を提供します。詳細...
| ヘッダー: | #include <QWaylandXdgDecorationManagerV1> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| QML内: | XdgDecorationManagerV1 |
| 継承元: | QWaylandCompositorExtensionTemplate |
プロパティ
- preferredMode : QWaylandXdgToplevel::DecorationMode
パブリック関数
| QWaylandXdgDecorationManagerV1() | |
| QWaylandXdgToplevel::DecorationMode | preferredMode() const |
| void | setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode) |
再実装されたパブリック関数
| virtual void | initialize() override |
シグナル
| void | preferredModeChanged() |
静的パブリックメンバー
| const struct wl_interface * | interface() |
詳細な説明
QWaylandXdgDecorationManagerV1 拡張機能は、コンポジターがサーバー側のウィンドウ装飾のサポートを通知する方法、および xdg-shell クライアントがクライアント側とサーバー側のどちらの装飾を優先するかを伝達する方法を提供します。
QWaylandXdgDecorationManagerV1 は、Wayland インターフェースzxdg_decoration_manager_v1 に対応しています。
QWaylandXdgToplevel::decorationModeも参照してください 。
プロパティのドキュメント
preferredMode : QWaylandXdgToplevel::DecorationMode
このプロパティには、コンポジターが優先する装飾モードが格納されます。
これは、サーバーサイドまたはクライアントサイドの装飾に関する好みを指定していないクライアントに対して使用されるモードです。
アクセス関数:
| QWaylandXdgToplevel::DecorationMode | preferredMode() const |
| void | setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode) |
Notifierシグナル:
| void | preferredModeChanged() |
メンバ関数のドキュメント
[explicit] QWaylandXdgDecorationManagerV1::QWaylandXdgDecorationManagerV1()
QWaylandXdgDecorationManagerV1 オブジェクトを作成します。
[override virtual] void QWaylandXdgDecorationManagerV1::initialize()
QWaylandCompositorExtension::initialize() を再実装します。
拡張機能を初期化します。
[static] const struct wl_interface *QWaylandXdgDecorationManagerV1::interface()
QWaylandXdgDecorationManagerV1 の Wayland インターフェースを返します。
© 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.