QWaylandViewporter Class

Provides an extension for surface resizing and cropping. 更多...

头: #include <QWaylandViewporter>
CMake: find_package(Qt6 COMPONENTS Waylandcompositor REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
qmake: QT += waylandcompositor
Since: Qt 5.13
继承: QWaylandCompositorExtensionTemplate

公共函数

  QWaylandViewporter (QWaylandCompositor * compositor )
  QWaylandViewporter ()

重实现公共函数

virtual void initialize () override

静态公共成员

const struct wl_interface * interface ()

详细描述

The QWaylandViewporter extension provides a way for clients to resize and crop surface contents.

QWaylandViewporter corresponds to the Wayland interface, wp_viewporter .

成员函数文档编制

QWaylandViewporter:: QWaylandViewporter ( QWaylandCompositor * compositor )

Constructs a QWaylandViewporter object for the provided compositor .

QWaylandViewporter:: QWaylandViewporter ()

Constructs a QWaylandViewporter object.

[override virtual] void QWaylandViewporter:: initialize ()

Initializes the extension.

[static] const struct wl_interface *QWaylandViewporter:: interface ()

返回 Wayland 接口为 QWaylandViewporter .