QWaylandWlShell Class
The QWaylandWlShell class is an extension for desktop-style user interfaces. More...
Header: | #include <QWaylandWlShell> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
This class was introduced in Qt 5.8.
Public Functions
void | wlShellSurfaceCreated(QWaylandWlShellSurface *shellSurface) |
Detailed Description
The QWaylandWlShell extension provides a way to associate 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
void QWaylandWlShell::wlShellSurfaceCreated(QWaylandWlShellSurface *shellSurface)
This signal is emitted when the client has created a wl_shell_surface
. A common use case is to let the handler of this signal instantiate a QWaylandShellSurfaceItem or QWaylandQuickItem for displaying shellSurface in a QtQuick scene.