It's a while ago that I made InputDeviceV3.zip, but didn't have a need to build a new one up until now,
now I needed a virtual input for Qt5.3 so I made the InputDevice working again.
I didn't do any major changes (only the name), it still only works for QLineEdits
Here is the download:
VirtualInput.zip
How to use:
- Build the library
- copy the library to platforminputcontexts in your application or to plugins/platforminputcontexts in your QtDir
- Add a custom property named "keyboard" (without the quotes) of the type bool to the QLineEdit and set it to enabled
- For text you can set the maxLength property
- For values you can add a QIntValidator to the QLineEdit
Bookmarks