QWaylandViewporter Class

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

頭: #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 ()

詳細描述

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

QWaylandViewporter corresponds to the Wayland interface, wp_viewporter .

成員函數文檔編製

[explicit] QWaylandViewporter:: QWaylandViewporter ()

Constructs a QWaylandViewporter object.

[explicit] QWaylandViewporter:: QWaylandViewporter ( QWaylandCompositor * compositor )

Constructs a QWaylandViewporter object for the provided compositor .

[override virtual] void QWaylandViewporter:: initialize ()

重實現: QWaylandCompositorExtension::initialize ().

Initializes the extension.

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

返迴 Wayland 接口為 QWaylandViewporter .