Hi all,

Can anyone tell me how I can bind the keyPressEvent() (ore something similar) to a QTableWidget so that I check which key was pressed in a cell?

I tried somthing like this:
Qt Code:
  1. ...
  2. twTable.keyPressEvent = function(e) {
  3. //Do something
  4. }
  5. ...
To copy to clipboard, switch view to plain text mode 

But it didn't work.

Thanks