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()
QWaylandWlShell(QWaylandCompositor *compositor)

Reimplemented Public Functions

virtual void initialize()

Signals

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

QWaylandWlShell::QWaylandWlShell()

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)