QWaylandXdgShellV5 Class

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

Header: #include <QWaylandXdgShellV5>
qmake: QT += waylandcompositor
Since: Qt 5.8

Public Functions

void closeAllPopups()
void pong(int serial)
void xdgPopupCreated(QWaylandXdgPopupV5 *xdgPopup)
void xdgPopupRequested(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandSeat *seat, const int &position, const QWaylandResource &resource)
void xdgSurfaceCreated(QWaylandXdgSurfaceV5 *xdgSurface)

Detailed Description

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

The QWaylandXdgShellV5 extension provides a way to associate a QWaylandXdgSurfaceV5 with a regular Wayland surface. Using the xdg_surface interface, the client can request that the surface is resized, moved, and so on.

QWaylandXdgShellV5 corresponds to the Wayland interface xdg_shell.

Member Function Documentation

void QWaylandXdgShellV5::closeAllPopups()

void QWaylandXdgShellV5::pong(int serial)

void QWaylandXdgShellV5::xdgPopupCreated(QWaylandXdgPopupV5 *xdgPopup)

This signal is emitted when the client has created an xdg_popup. A common use case is to let the handler of this signal instantiate a QWaylandShellSurfaceItem or QWaylandQuickItem for displaying xdgPopup in a QtQuick scene.

void QWaylandXdgShellV5::xdgPopupRequested(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandSeat *seat, const int &position, const QWaylandResource &resource)

void QWaylandXdgShellV5::xdgSurfaceCreated(QWaylandXdgSurfaceV5 *xdgSurface)

This signal is emitted when the client has created an xdg_surface. A common use case is to let the handler of this signal instantiate a QWaylandShellSurfaceItem or QWaylandQuickItem for displaying xdgSurface in a QtQuick scene.