Qt Wayland 模塊提供用於創建支持 Wayland 協議的自定義顯示服務器的 QML 類型。
可以使用以下 import 語句將 QML 類型導入應用程序:
import QtWayland.Compositor 1.3
要鏈接到模塊,添加此行到
qmake
.pro
文件:
QT += waylandcompositor
有關在應用程序中使用這些類型的更多信息,見 Qt Wayland Compositor 文檔編製。
| IviApplication | Provides a shell extension for embedded-style user interfaces |
| IviSurface | Provides a simple way to identify and resize a surface |
| ShellSurface | Provides a common interface for surface roles specified by shell extensions |
| ShellSurfaceItem | A Qt Quick item type for displaying and interacting with a ShellSurface |
| WaylandClient | Represents a client connecting to the WaylandCompositor |
| WaylandCompositor | 管理 Wayland 顯示服務器 |
| WaylandHardwareLayer | Makes a parent WaylandQuickItem use hardware layers for rendering |
| WaylandOutput | Provides access to a displayable area managed by the compositor |
| WaylandQuickItem | Provides a Qt Quick item that represents a WaylandView |
| WaylandSeat | Provides access to keyboard, mouse, and touch input |
| WaylandSurface | Represents a rectangular area on an output device |
| WaylandView | Represents a view of a surface on an output |
| WlShell | Provides an extension for desktop-style user interfaces |
| WlShellSurface | Provides a wl_shell_surface that offers desktop-style compositor-specific features to a surface |
| XdgDecorationManagerV1 | Provides an extension for negotiation of server-side and client-side window decorations |
| XdgPopup | Represents the popup specific parts of and xdg surface |
| XdgPopupV6 | Represents the popup specific parts of and xdg surface |
| XdgShell | Provides an extension for desktop-style user interfaces |
| XdgShellV6 | Provides an extension for desktop-style user interfaces |
| XdgSurface | Desktop-style compositor-specific features to an xdg surface |
| XdgSurfaceV6 | Desktop-style compositor-specific features to an xdg surface |
| XdgToplevel | Represents the toplevel window specific parts of an xdg surface |
| XdgToplevelV6 | Represents the toplevel window specific parts of an xdg surface |