Skip to content

virtual keyboard for QT Application

Notifications You must be signed in to change notification settings

pettaa123/VirtualInput

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VirtualInput (qtcentre.org)

virtual keyboard for QT Applications LINUX

This is a fork for linux, removing some linux specific errors and depcreated warnings by the windows remote. Make sure you have:

  • sudo apt-get install qtbase5-private-dev if qpa/qplatforminputcontext.h etc. is missing
  • sudo apt-get install qttools5-dev if QtUiPlugin/QDesignerExportWidget is missing

numpad layout:

keyboard layout:

Virtual Keyboard for touch-screen devices written in C/C++ Qt, compatible with 5.x The keyboard only works with QLineEdit.

the widget is written by (StrikeByte) I added a simple example to show the usage.

How to use:

  • Build the library
  • copy the libVirtualInput.so to platforminputcontexts in your application or to plugins/platforminputcontexts in your QtDir (/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/ in my case)
  • 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

WINDOWS

  • #include QValidator in numpad.h when using minGW compiler
  • build VirtualInput in same way as your project (debug/release)
  • copy VirtualInput.dll next to the .exe into a selfcreated folder "platforminputcontexts"

About

virtual keyboard for QT Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.3%
  • QMake 8.5%
  • C 1.2%