Hello,
I am trying to develop a touchpad and I would like to use sendKeyEvent from class QWSServer. I have created a public slot when a press a button. The form only have a button and QLineEdit. But when I press button nothing appear in QLineEdit.
void Touchpad::press_key_0()
{
QWSServer::sendKeyEvent ( 30 , Qt
::Key_0,
0,
true,
false );
QWSServer::sendKeyEvent ( 30 , Qt
::Key_0,
0,
false,
false );
}
void Touchpad::press_key_0()
{
QWSServer::sendKeyEvent ( 30 , Qt::Key_0, 0, true, false );
QWSServer::sendKeyEvent ( 30 , Qt::Key_0, 0, false, false );
}
To copy to clipboard, switch view to plain text mode
I am looking for infromation about it, but I can not find correct information.
Best reagards
Bookmarks