How to create own input method for Qt Application?



  • Dear all friends,

    I would like to create own input method which use only for Qt Applications.
    How can I do that?

    It likes Windows language Keyboard for non-English language but not on screen keyboard.
    Thanks



  • Hmm... I don't know of such functionality. But, you could create a different keyboard layout in Windows (like for languages), or well make a mapping of keys from a standard layout to what you want and on handling key events, get the corresponding key from the mapping.



  • Dear friend,

    No, it need rendering & script sorting for this language.
    It can be made with KeyMagic but not by Windows keyboard layout.
    Although keyboard can be available, they need to install on machine.

    What I want is to make built-in keyboard with Qt application, so no need to install others keyboard software on machine...



  • Windows by default, in the regional and language settings in Control Panel supports addition of languages, keyboards. But, you're right probably, that a custom layout/input method cannot be created using that. The KeyMagic tool looks interesting though. I don't know how that could be done in Qt.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.