Return on virtual keyboard event
I am developing a small application on N900. I have a problem with virtual keyboard:
I would like to do something when enter key is pressed inside a QLineEdit and I did so
@connect(ui->LE_search, SIGNAL(returnPressed()), this, SLOT(onPB_search_clicked()) );@
this works when I press return on the keyboard but not when I press return on the virtual keyboard.
How to solve this ?
thanks in advance
Meraj Ahmad Ansari
I am facing the same issue.
Have you found any solution?
on Symbian there is the green V that emits that signal, but on N900 I think that no signal is emitted. I added a button on the GUI for that purpose. Maybe there is a better solution with DBUS or something.
You could install an event filter on the QLineEdit and trap the keypress event.
Have you tried to use the tips "at this article about VKB events in Symbian^3":http://wiki.forum.nokia.com/index.php/Detecting_virtual_keyboard_open_and_close_events_in_Symbian^3 ?