このページでは

QWaylandIviApplication Class

QWaylandIviApplication クラスは、組み込みスタイルのユーザーインターフェース向けの拡張機能です。詳細...

ヘッダー: #include <QWaylandIviApplication>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
QML内: IviApplication
継承元: QWaylandCompositorExtensionTemplate

パブリック関数

QWaylandIviApplication()
QWaylandIviApplication(QWaylandCompositor *compositor)

再実装されたパブリック関数

virtual void initialize() override

シグナル

void iviSurfaceCreated(QWaylandIviSurface *iviSurface)
void iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)

静的パブリックメンバー

const struct wl_interface *interface()

詳細な説明

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

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

メンバ関数のドキュメント

QWaylandIviApplication::QWaylandIviApplication()

QWaylandIviApplication オブジェクトを作成します。

QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)

指定されたcompositor に対して、QWaylandIviApplicationオブジェクトを生成します。

[override virtual] void QWaylandIviApplication::initialize()

QWaylandCompositorExtension::initialize() を再実装します。

シェル拡張機能を初期化します。

[static] const struct wl_interface *QWaylandIviApplication::interface()

QWaylandIviApplication の Wayland インターフェースを返します。

[signal] void QWaylandIviApplication::iviSurfaceCreated(QWaylandIviSurface *iviSurface)

このシグナルは、IviSurface (iviSurface )が生成されたときに発せられます。

[signal] void QWaylandIviApplication::iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)

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

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