Hey. I want to share a link to one short article, the topic in Russian is not covered anywhere, and in English there is only one example from Qt, but nevertheless I think many would be interested to read something useful on a subject. The trick is that the described method of creating a virtual keyboard does not use handwritten crutches to determine if the cursor is in any of the input fields and to work out the need to show / hide the virtual keyboard, but uses the new Qt context input API, created a long time ago and expanded in version 4.6 by some buns ... In general, we look, swear, comment =)
qt.e-werest.org/blog/tutorial/2939.html
Unfortunately:
1) I can not just post a link, because a bit of karma is not enough.
2) It is not desirable to do the repost according to the rules, and it is still a task to highlight the normal code in the Habrave editor.