Sur cette page

QWaylandQtTextInputMethodManager Class

Permet d'accéder aux méthodes de saisie dans le compositeur. En savoir plus...

En-tête : #include <QWaylandQtTextInputMethodManager>
CMake : find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake : QT += waylandcompositor
Depuis : Qt 6.0
En QML : QtTextInputMethodManager
Hérite de : QWaylandCompositorExtensionTemplate

Description détaillée

La classe QWaylandQtTextInputMethodManager correspond à l'interface qt-text-input-method-manager du protocole d'extension qt-text-input-method-unstable-v1. Elle est spécialement conçue pour être utilisée avec une méthode de saisie basée sur Qt, telle que Qt Virtual Keyboard.

L'instanciation de cette classe en tant qu'enfant d’une classe ` WaylandCompositor ` l’ajoute à la liste des interfaces disponibles pour le client. Si un client s’y lie, elle sera alors utilisée pour transmettre les saisies de texte à ce client.

© 2026 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.