QWaylandQtTextInputMethodManager Class
提供对合成器中输入方法的访问。更多
头文件: | #include <QWaylandQtTextInputMethodManager> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor) target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor) |
qmake: | QT += waylandcompositor |
自 | Qt 6.0 |
在 QML 中: | QtTextInputMethodManager |
继承: | QWaylandCompositorExtensionTemplate |
详细描述
QWaylandQtTextInputMethodManager
类对应qt-text-input-method-unstable-v1
扩展协议中的qt-text-input-method-manager
接口。它专门设计用于基于 Qt 的输入法,如Qt Virtual Keyboard 。
将该类作为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.