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はWaylandivi_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)

このシグナルは、IviSurfaceiviSurface が作成されたときに発せられる。

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

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

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