Hi all,
I want to catch when the software input panel is hidden (or when user click the "Green check" button). Is there a way to do that?
Thanks.
Hi all,
I want to catch when the software input panel is hidden (or when user click the "Green check" button). Is there a way to do that?
Thanks.
I cannot see a way to achieve that with QML (http://doc.qt.nokia.com/latest/qml-textinput.html)
nor with Qt using QWidget::inputMethodQuery on the QDeclarativeView.
IIRC Qt doesn't keep the status of the IM. It just sends show/hide messages to the IM Window when needed.
BTW I cannot see a valid usecase for this. Could you explain more on what you are going to achieve?
What I'm going to do is When user close the input panel, I will do something such as add the item to the listview, or search something.
That's not a good usecase.
If the user is typing and he presses accidentally the right button (placed next to Space bar on the N8), the widget loses the focus and the software keyboard is closed.
Your application will so add wrong text to the list and user will get crazy.
I think you can just add a OK/ADD button next to the input text widget that the user can press when he is ready.
Does it sound a viable solution for u?
But if I want to search something, the solution you mentioned is not a good usecase too.