Simulating a KeyBoardPress system wide in Qt?

  • Edit: I have looked a Virtual Keyboard, but I am just looking for some advice on where to start and what Qt classes will be needed.

    I have searched a little bit online for this to see if it is possible.

    For example, if someone were to make an onscreen keyboard for a touch screen PC. If I press A on the keypad designed in Qt, no matter what application has the focus, it would put an A into the current text being edited...So say i have google chrome up, and I want to type in a web address, can I use the Qt onscreen keyboard to do this?

    Thank you! :)

  • Maybe you should look for ways of posting windows messages or something like that. Because anyway if you want it to be system-wide your code will be platform-specific.

  • I suppose that would be fine. I am looking into making an onscreen keyboard, I am not sure if Qt is the logical framework to use.

    Thanks for your input.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.