QWaylandIviApplication 類

QWaylandIviApplication 類是嵌入式樣式用戶界麵的擴展。 更多...

頭: #include <QWaylandIviApplication>
qmake: QT += waylandcompositor
Since: Qt 5.8
實例化: IviApplication
繼承: QWaylandCompositorExtensionTemplate

該類在 Qt 5.8 引入。

公共函數

QWaylandIviApplication (QWaylandCompositor * compositor )
QWaylandIviApplication ()

重實現公共函數

virtual void initialize () override

信號

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

靜態公共成員

const struct wl_interface * interface ()

詳細描述

QWaylandIviApplication 擴展提供辦法關聯 QWaylandIviSurface 與常規 Waylnd 錶麵。使用 QWaylandIviSurface 接口,客戶端可以通過給齣的 ivi ID 標識自身,且閤成器可以要求客戶端重置尺寸。

QWaylandIviApplication 對應 Wayland ivi_application 接口。

成員函數文檔編製

QWaylandIviApplication:: QWaylandIviApplication ( QWaylandCompositor * compositor )

構造 QWaylandIviApplication 對象為提供的 compositor .

QWaylandIviApplication:: QWaylandIviApplication ()

構造 QWaylandIviApplication 對象。

[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 iviId . The handler for this signal is expected to create the ivi surface for resource and initialize it within the scope of the signal emission. If no ivi surface is created, a default one will be created instead.

[override virtual] void QWaylandIviApplication:: initialize ()

初始化 Shell 擴展。

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

返迴 Wayland 接口為 QWaylandIviApplication .