QWaylandIviApplication Class▲
-
Header: QWaylandIviApplication
-
Since: Qt 5.8
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Waylandcompositor)
target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
-
qmake: QT += waylandcompositor
-
Inherited By:
-
Instantiated By: qml-iviapplication.xml
-
Inherits: QWaylandCompositorExtensionTemplate
Detailed Description▲
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.
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.