QWaylandWlShell Class

The QWaylandWlShell class is an extension for desktop-style user interfaces. More...

Header: #include <QWaylandWlShell>
qmake: QT += waylandcompositor
Inherits: QWaylandCompositorExtensionTemplate<QWaylandWlShell>

This class is under development and is subject to change.

Public Functions

QWaylandWlShell(QWaylandCompositor *compositor)

Reimplemented Public Functions

virtual void initialize()


void createShellSurface(QWaylandSurface *surface, const QWaylandResource &resource)
void shellSurfaceCreated(QWaylandWlShellSurface *shellSurface)

Additional Inherited Members

Detailed Description

The QWaylandWlShell class is an extension for desktop-style user interfaces.

The QWaylandWlShell extension provides a way to assiociate a QWaylandWlShellSurface with a regular Wayland surface. Using the shell surface interface, the client can request that the surface is resized, moved, and so on.

WlShell corresponds to the Wayland interface wl_shell.

Member Function Documentation


Constructs a QWaylandWlShell object.

QWaylandWlShell::QWaylandWlShell(QWaylandCompositor *compositor)

Constructs a QWaylandWlShell object for the provided compositor.

[signal] void QWaylandWlShell::createShellSurface(QWaylandSurface *surface, const QWaylandResource &resource)

Constructs a QWaylandSurface, assigns it to surface and initializes it with the given resource.

[virtual] void QWaylandWlShell::initialize()

Initializes the WlShell extension.

[signal] void QWaylandWlShell::shellSurfaceCreated(QWaylandWlShellSurface *shellSurface)

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