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.