To confirm the previous comment, here is an extract from the QInputMethod::hide() documentation:
"Normally applications should not need to call this function, keyboard should automatically close when the text editor loses focus, for example when the parent view is closed."
To confirm the previous comment, here is an extract from the QInputMethod: :hide() documentation:
"Normally applications should not need to call this function, keyboard should automatically close when the text editor loses focus, for example when the parent view is closed."
http:// qt-project. org/doc/ qt-5.0/ qtgui/qinputmet hod.html# hide
Looking at the code of TextInput, there is no call to hide() at any point, only calls to show().