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 |