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 .