XdgShellV5 QML Type

Provides an extension for desktop-style user interfaces. 更多...

Import Statement: import QtWayland.Compositor 1.0
开始支持版本: Qt 5.8

详细描述

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

XdgShellV5 corresponds to the Wayland interface xdg_shell.

To provide the functionality of the shell extension in a compositor, create an instance of the XdgShellV5 component and add it as a child of the compositor:


  import QtWayland.Compositor 1.0

  WaylandCompositor {
      XdgShellV5 {
          // ...
      }
  }