Thursday, 15 May 2014

c++ - Generate a keyPressEvent/Input -



c++ - Generate a keyPressEvent/Input -

i need generate input of keyboard because have event attached input. seek phone call :

keypressevent(qt::key_delete);

without sucess, there way generate keypressevent ?

you might utilize qkeyevent.

are using qt4 or qt5?

have @ this:

http://stackoverflow.com/a/2035547/3751213

it might help.

or, if using linux xte great. included in xautomation.

xte 'key delete'

look here: http://linux.die.net/man/1/xte

c++ qt input keyevent

No comments:

Post a Comment