Qt Wayland Qt Shell Extension
このモジュールは Qt 6.3 で導入されました。
概要
QtShell エクステンションはQtShellSurface を通常の Wayland サーフェスに関連付ける方法を提供します。QtShell エクステンションは Qt がサポートするウィンドウ管理機能をサポートするように書かれています。コンポジターとクライアント・アプリケーションの両方がQtで書かれており、アプリケーションが手動ウィンドウ位置決めや "bring-to-front "のような機能を悪用しないことが信頼されているプラットフォームに適しています。その他の使用例では、代わりにIviApplication やXdgShell の使用を検討してください。
使用方法
このモジュールを使用するには、次のようにインポートしてください:
import QtWayland.Compositor.IviApplication
で動作する Qt アプリケーションにシェル拡張機能を提供します。Qt Wayland Compositor | |
qt-shell 拡張で使用するデフォルトのウィンドウマネージャ機能を提供します。 | |
サーフェスを識別し、サイズを変更する簡単な方法を提供します。 |
© 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.