提供用於編寫自定義 Wayland 顯示服務器的 C++ 類。 更多...
| 保持對錶麵緩衝的引用 | |
| Represents a client connecting to the QWaylandCompositor | |
| 管理 Wayland 顯示服務器 | |
| The base class for compositor extensions | |
| Convenience class for subclassing QWaylandCompositorExtension | |
| Provides an extension that allows to inhibit the idle behavior of the compositor | |
| 用於嵌入式樣式用戶界麵的擴展 | |
| Simple way to identify and resize a surface | |
| Represents a keyboard device | |
| The base class for objects that can contain Wayland extensions | |
| Represents a displayable area managed by the compositor | |
| Holds the resolution and refresh rate of an output | |
| Represents a pointer device | |
| Extension to get timing for on-screen presentation | |
| Provides access to input methods in the compositor | |
| Qt Quick item representing a QWaylandView | |
| Provides support for shell surface integration with QtQuick | |
| Qt Quick item that represents a QWaylandShellSurface | |
| Container for a wl_resource | |
| Access to keyboard, mouse, and touch input | |
| Common interface for surface roles specified by shell extensions | |
| Convenience class for creating custom shell surface classes | |
| Represents a rectangular area on an output device | |
| Allows to read the content of a QWaylandSurface | |
| Represents the role of the surface in context of wl_surface | |
| Provides access to input methods in the compositor | |
| Access to a touch device | |
| Represents a view of a surface on an output | |
| Provides an extension for surface resizing and cropping | |
| Extension for desktop-style user interfaces | |
| Desktop-style compositor-specific features to a surface | |
| Provides an extension for negotiation of server-side and client-side window decorations | |
| Provides an extension for describing outputs in a desktop oriented fashion | |
| Represents the popup specific parts of an xdg surface | |
| Extension for desktop-style user interfaces | |
| Desktop-style compositor-specific features to an xdg surface | |
| Represents the toplevel window specific parts of an xdg surface |
使用 Qt 模塊的 C++ API 要求直接 (或透過其它依賴) 鏈接到模塊庫。幾個構建工具對此有專用支持,包括 CMake and qmake .
使用
find_package()
命令定位所需模塊組件在
Qt6
包:
find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
更多細節,見 構建采用 CMake 概述。
要配置采用 qmake 構建模塊,添加模塊作為值為
QT
變量在工程的 .pro 文件:
QT += waylandcompositor
有關在應用程序中使用這些類的更多信息,見 Qt Wayland Compositor 文檔編製。