このページでは

QWaylandIviSurface Class

QWaylandIviSurface クラスは、サーフェスの識別やサイズ変更を行うための簡単な方法を提供します。詳細...

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

プロパティ

パブリック関数

QWaylandIviSurface()
QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
void initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
uint iviId() const
void sendConfigure(const QSize &size)
QWaylandSurface *surface() const

シグナル

静的パブリックメンバー

QWaylandIviSurface *fromResource(wl_resource *resource)
const struct wl_interface *interface()
QWaylandSurfaceRole *role()

詳細な説明

このクラスは、QWaylandIviApplication 拡張機能の一部であり、既存のQWaylandSurface の機能に、サイズ変更や識別を行う機能を追加する手段を提供します。

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

プロパティのドキュメント

[read-only] iviId : uint

このプロパティには、このQWaylandIviSurface のivi IDが格納されています。

アクセス関数:

uint iviId() const

通知シグナル:

void iviIdChanged()

[read-only] surface : QWaylandSurface*

このプロパティには、このQWaylandIviSurface に関連付けられたサーフェスが格納されています。

アクセス関数:

QWaylandSurface *surface() const

通知信号:

void surfaceChanged()

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

QWaylandIviSurface::QWaylandIviSurface()

QWaylandIviSurface を作成します。

QWaylandIviSurface::QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)

surface 用の QWaylandIviSurface を生成し、指定されたapplication 、surface 、iviId 、およびresource を用いて初期化します。

[static] QWaylandIviSurface *QWaylandIviSurface::fromResource(wl_resource *resource)

resource に対応するQWaylandIviSurface を返します。

[invokable] void QWaylandIviSurface::initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)

QWaylandIviSurface を初期化し、指定されたiviApplication 、surface 、iviId 、およびresource に関連付けます。

注:この関数は 、メタオブジェクトシステムを介して、またはQMLから呼び出すことができます。Q_INVOKABLE を参照してください。

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

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

[static] QWaylandSurfaceRole *QWaylandIviSurface::role()

QWaylandIviSurface のサーフェス・ロール返します。

[invokable] void QWaylandIviSurface::sendConfigure(const QSize &size)

クライアントに設定イベントを送信し、サーフェスのサイズを指定されたsize に変更するよう指示します。

注:この関数は 、メタオブジェクトシステムおよびQMLから呼び出すことができます。Q_INVOKABLE を参照してください。

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