QWaylandIviApplication Class
The QWaylandIviApplication class is an extension for embedded-style user interfaces. More...
Header: | #include <QWaylandIviApplication> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
Inherits: | QWaylandCompositorExtensionTemplate |
Public Functions
QWaylandIviApplication() | |
QWaylandIviApplication(QWaylandCompositor *compositor) |
Reimplemented Public Functions
virtual void | initialize() override |
- 4 public functions inherited from QWaylandCompositorExtension
- 5 public functions inherited from QWaylandObject
- 32 public functions inherited from QObject
Signals
void | iviSurfaceCreated(QWaylandIviSurface *iviSurface) |
void | iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
- 2 signals inherited from QObject
Static Public Members
QByteArray | interfaceName() |
- 11 static public members inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 protected function inherited from QWaylandCompositorExtension
- 9 protected functions inherited from QObject
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.
[override virtual]
void QWaylandIviApplication::initialize()
Initializes the shell extension.
[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.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.9/qwaylandiviapplication.html