QWaylandXdgOutputManagerV1 Class
提供了一个扩展,用于以桌面为导向的方式描述输出。更多...
| 标题: | #include <QWaylandXdgOutputManagerV1> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
| qmake: | QT += waylandcompositor |
| 在 QML 中: | XdgOutputManagerV1 |
| 继承自: | QWaylandCompositorExtensionTemplate |
公共函数
| QWaylandXdgOutputManagerV1() | |
| QWaylandXdgOutputManagerV1(QWaylandCompositor *compositor) |
重新实现的公共函数
| virtual void | initialize() override |
静态公共成员
| const wl_interface * | interface() |
详细说明
QWaylandXdgOutputManagerV1 扩展为合成器提供了一种描述输出的方法,该方法更符合面向桌面系统的输出概念。
某些信息在其他应用程序(例如车载信息娱乐系统)中可能没有意义。
QWaylandXdgOutputManagerV1 对应于 Wayland 接口zxdg_output_manager_v1 。
成员函数文档
[explicit] QWaylandXdgOutputManagerV1::QWaylandXdgOutputManagerV1()
创建一个 QWaylandXdgOutputManagerV1 对象。
QWaylandXdgOutputManagerV1::QWaylandXdgOutputManagerV1(QWaylandCompositor *compositor)
为给定的compositor 创建一个QWaylandXdgOutputManagerV1对象。
[override virtual] void QWaylandXdgOutputManagerV1::initialize()
重新实现了:QWaylandCompositorExtension::initialize()。
初始化该扩展。
[static] const wl_interface *QWaylandXdgOutputManagerV1::interface()
返回QWaylandXdgOutputManagerV1 的Wayland接口。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.