IviApplication QML Type

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

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

シグナル

詳細説明

IviApplicationエクステンションは、IviSurface を通常のWaylandサーフェスと関連付ける方法を提供します。IviSurface インターフェイスを使用すると、クライアントは ivi id を与えることで自身を識別でき、コンポジターはクライアントにリサイズを要求できます。

IviApplicationはWaylandivi_application インターフェースに対応します。

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

import QtWayland.Compositor.IviApplication

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

シグナルドキュメント

void iviSurfaceCreated(IviSurface *iviSurface)

このシグナルはIviSurface が作成されたときに発行されます。提供されるiviSurface は、ShellSurfaceItem のインスタンス化に最もよく使われます。

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


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

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

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


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