QWaylandIviApplication 類

The QWaylandIviApplication class is an extension for embedded-style user interfaces. 更多...

頭: #include <QWaylandIviApplication>
qmake: QT += waylandcompositor
Since: Qt 5.8
繼承: 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 ()
QByteArray interfaceName ()
const QMetaObject staticMetaObject

額外繼承成員

詳細描述

The QWaylandIviApplication class is an extension for embedded-style user interfaces.

The QWaylandIviApplication extension provides a way to associate an QWaylandIviSurface 與常規 Waylnd 錶麵。使用 QWaylandIviSurface 接口,客戶端可以通過給齣的 ivi ID 標識自身,且閤成器可以要求客戶端重置尺寸。

QWaylandIviApplication corresponds to the Wayland ivi_application 接口。

成員函數文檔編製

QWaylandIviApplication:: QWaylandIviApplication ()

構造 QWaylandIviApplication 對象。

QWaylandIviApplication:: QWaylandIviApplication ( QWaylandCompositor * compositor )

構造 QWaylandIviApplication object for the provided compositor .

[override virtual] void QWaylandIviApplication:: initialize ()

初始化 Shell 擴展。

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

返迴 Wayland 接口為 QWaylandIviApplication .

[static] QByteArray QWaylandIviApplication:: interfaceName ()

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

此信號發射,當 IviSurface , iviSurface ,已被創建。

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

This signal is emitted when the client has requested an ivi_surface to be associated with surface , which is identified by id . The handler for this signal is expected to create the ivi surface and initialize it within the scope of the signal emission. If no ivi surface is created, a default one will be created instead.