How to read keys and how to disable keys for embedded application?
i am new to QT,
i want to create an application in which i want to read the pressed keys on my device and for some part of application i want to disable some of the keys like e.g. shift key, space key etc. (from physical keyboard of device)
i am able to read keys like enter, space, shift backspace from my device using key events (as given in qnamespace.h values) but not able to disable desired keys like space n shift. suppose there is simple screen with lineedit and a push button, so when the cursor is in lineedit all keys other than alpha n numbers should not work and when pushbutton is selected then only enter key should work.
but in my application the pushbutton is pressed by space key instead of enter key also while entering in lineedit if i press shift bymistake the it stops taking input untill you again press it.
want to solve this issues…can anybody help me with this
thanks in advance….