QWaylandTextInputManager Class
提供对合成器中输入方法的访问。更多
头文件: | #include <QWaylandTextInputManager> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
在 QML 中: | TextInputManager |
继承: | QWaylandCompositorExtensionTemplate |
详细说明
QWaylandTextInputManager
对应text_input_unstable_v2
扩展协议中的zwp_text_input_manager_v2
接口。
将其作为WaylandCompositor 的子节点实例化,可将其添加到客户端可用的接口列表中。如果客户端绑定了该接口,则该接口将用于向该客户端传送文本输入。
© 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.