QWaylandXdgShell Class

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

Header: #include <QWaylandXdgShell>
qmake: QT += waylandcompositor
Since: Qt 5.12
Inherits: QWaylandShellTemplate

This class was introduced in Qt 5.12.

Public Functions

QWaylandXdgShell(QWaylandCompositor *compositor)
QWaylandXdgShell()

Reimplemented Public Functions

virtual void initialize() override
  • 16 public functions inherited from QObject

Public Slots

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

Static Public Members

const struct wl_interface *interface()
  • 5 static public members inherited from QObject
typedef QObjectList

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 signal inherited from QObject
  • 8 protected functions inherited from QObject

Detailed Description

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

QWaylandXdgShell corresponds to the Wayland interface, xdg_shell.

Member Function Documentation

QWaylandXdgShell::QWaylandXdgShell(QWaylandCompositor *compositor)

Constructs a QWaylandXdgShell object for the provided compositor.

QWaylandXdgShell::QWaylandXdgShell()

Constructs a QWaylandXdgShell object.

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

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

[override virtual] void QWaylandXdgShell::initialize()

Initializes the shell extension.

[static] const struct wl_interface *QWaylandXdgShell::interface()

Returns the Wayland interface for the QWaylandXdgShell.