QWaylandXdgShellV6 Class

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

Header: #include <QWaylandXdgShellV6>
qmake: QT += waylandcompositor
Since: Qt 5.10
Inherits: QWaylandShellTemplate

Public Functions

QWaylandXdgShellV6(QWaylandCompositor *compositor)

Reimplemented Public Functions

virtual void initialize() override

Public Slots

uint ping(QWaylandClient *client)
  • 1 public slot inherited from QObject


void pong(uint serial)
void popupCreated(QWaylandXdgPopupV6 *popup, QWaylandXdgSurfaceV6 *xdgSurface)
void toplevelCreated(QWaylandXdgToplevelV6 *toplevel, QWaylandXdgSurfaceV6 *xdgSurface)
void xdgSurfaceCreated(QWaylandXdgSurfaceV6 *xdgSurface)

Static Public Members

QByteArray interfaceName()
  • 11 static public members inherited from QObject

Additional Inherited Members

Detailed Description

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

The QWaylandXdgShellV6 extension provides a way to associate a QWaylandXdgToplevelV6 or QWaylandXdgPopupV6 with a regular Wayland surface. Using the QWaylandXdgToplevelV6 interface, the client can request that the surface is resized, moved, and so on.

QWaylandXdgShellV6 corresponds to the Wayland interface, zxdg_shell_v6.

Member Function Documentation


Constructs a QWaylandXdgShellV6 object.

QWaylandXdgShellV6::QWaylandXdgShellV6(QWaylandCompositor *compositor)

Constructs a QWaylandXdgShellV6 object for the provided compositor.

[override virtual] void QWaylandXdgShellV6::initialize()

Initializes the shell extension.

[static] QByteArray QWaylandXdgShellV6::interfaceName()

[slot] uint QWaylandXdgShellV6::ping(QWaylandClient *client)

Sends a ping event to the client. If the client replies to the event the pong signal will be emitted.

[signal] void QWaylandXdgShellV6::pong(uint serial)

[signal] void QWaylandXdgShellV6::popupCreated(QWaylandXdgPopupV6 *popup, QWaylandXdgSurfaceV6 *xdgSurface)

[signal] void QWaylandXdgShellV6::toplevelCreated(QWaylandXdgToplevelV6 *toplevel, QWaylandXdgSurfaceV6 *xdgSurface)

[signal] void QWaylandXdgShellV6::xdgSurfaceCreated(QWaylandXdgSurfaceV6 *xdgSurface)

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