QWaylandViewporter Class
提供用于调整曲面大小和裁剪的扩展。更多
头文件: | #include <QWaylandViewporter> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
继承: | QWaylandCompositorExtensionTemplate |
公共函数
QWaylandViewporter() | |
QWaylandViewporter(QWaylandCompositor *compositor) |
重新实现的公共函数
virtual void | initialize() override |
静态公共成员
const struct wl_interface * | interface() |
详细描述
QWaylandViewporter 扩展为客户端提供了一种调整大小和裁剪表面内容的方法。
QWaylandViewporter 与 Wayland 接口wp_viewporter
相对应。
成员函数文档
[explicit]
QWaylandViewporter::QWaylandViewporter()
构造一个 QWaylandViewporter 对象。
[explicit]
QWaylandViewporter::QWaylandViewporter(QWaylandCompositor *compositor)
为提供的compositor 构建一个 QWaylandViewporter 对象。
[override virtual]
void QWaylandViewporter::initialize()
重新实现:QWaylandCompositorExtension::initialize().
初始化扩展。
[static]
const struct wl_interface *QWaylandViewporter::interface()
返回QWaylandViewporter 的 Wayland 界面。
© 2025 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.