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.