このページでは

IviApplication QML Type

組み込みスタイルのユーザーインターフェース用のシェル拡張機能を提供します。詳細...

Import Statement: import QtWayland.Compositor.IviApplication
In C++: QWaylandIviApplication

シグナル

詳細な説明

IviApplication拡張機能は、IviSurface を通常のWaylandサーフェスに関連付ける手段を提供します。IviSurface インターフェースを使用することで、クライアントはivi IDを指定して自身を識別することができ、コンポジターはクライアントにサイズ変更を要求することができます。

IviApplicationは、Waylandのivi_application インターフェースに対応しています。

コンポジターでシェル拡張機能の機能を提供するには、IviApplicationコンポーネントのインスタンスを作成し、それをコンポジターがサポートする拡張機能のリストに追加します。

import QtWayland.Compositor.IviApplication

WaylandCompositor {
    IviApplication {
        onIviSurfaceCreated: {
            if (iviSurface.iviId === navigationIviId) {
                // ...
            }
        }
    }
}

Signal ドキュメント

void iviSurfaceCreated(IviSurface *iviSurface)

このシグナルは、IviSurface が作成された際に発火します。引数として渡される `iviSurface ` は、ShellSurfaceItem のインスタンス化に最もよく使用されます。

注: 対応するハンドラは onIviSurfaceCreated です。

void iviSurfaceRequested(WaylandSurface surface, int iviId, WaylandResource resource)

このシグナルは、クライアントがiviId で識別されるsurface に関連付けるivi_surface を要求した際に発せられます。このシグナルのハンドラは、resource 用の ivi サーフェスを作成し、シグナル発火の範囲内でそれを初期化することが期待されます。ivi サーフェスが作成されない場合、代わりにデフォルトのものが作成されます。

注: 対応するハンドラは onIviSurfaceRequested です。

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