Is it possible to show the Virtual keyboard without having a QLineEdit , and of course get the entered text back and also get keypress events? (Symbian code is also welcome )
Is it possible to show the Virtual keyboard without having a QLineEdit , and of course get the entered text back and also get keypress events? (Symbian code is also welcome )
Keep it simple, stupid (I think to myself)
borg - http://store.ovi.com/content/116105
1) setFocus to an out of screen QLineEdit
2) QApplication:ostEvent(searchEdit, new QEvent(QEvent::RequestSoftwareInputPanel));
http://stackoverflow.com/questions/3...ich-api-to-use
Last edited by lucarocchi; 2010-12-28 at 18:30.
Keep it simple, stupid (I think to myself)
borg - http://store.ovi.com/content/116105
Hi,
I have this piece of code:
The keyboard is not displayed after running this code.Code:if(NULL== focusIn && NULL==requestKeyboard) { focusIn = new QEvent(QEvent::FocusIn); requestKeyboard = new QEvent(QEvent::RequestSoftwareInputPanel); m_edit = new QLineEdit(this); m_edit->setGeometry(1,1,1,1); connect(m_edit,SIGNAL(textChanged(QString)),this,SLOT(setText(QString))); } m_edit->setFocus(); QApplication::sendEvent(m_edit,requestKeyboard);//&requestKeyboard);
???
P.S.
I am running Nokia N8 with Symbian^3
i suppose postEvent instead of sendEvent makes the difference
Keep it simple, stupid (I think to myself)
borg - http://store.ovi.com/content/116105