QWaylandIviApplication Class

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

Header: #include <QWaylandIviApplication>
qmake: QT += waylandcompositor
Since: Qt 5.8

Public Functions

QWaylandIviApplication()
QWaylandIviApplication(QWaylandCompositor *compositor)
void initialize()

Signals

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

Static Public Members

const struct wl_interface *interface()
QByteArray interfaceName()
const QMetaObject staticMetaObject

Detailed Description

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

The QWaylandIviApplication extension provides a way to associate an QWaylandIviSurface with a regular Wayland surface. Using the QWaylandIviSurface interface, the client can identify itself by giving an ivi id, and the compositor can ask the client to resize.

QWaylandIviApplication corresponds to the Wayland ivi_application interface.

Member Function Documentation

QWaylandIviApplication::QWaylandIviApplication()

Constructs a QWaylandIviApplication object.

QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)

Constructs a QWaylandIviApplication object for the provided compositor.

void QWaylandIviApplication::initialize()

Initializes the shell extension.

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

Returns the Wayland interface for the QWaylandIviApplication.

[static] QByteArray QWaylandIviApplication::interfaceName()

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

This signal is emitted when an IviSurface, iviSurface, has been created.

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

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