PDA

View Full Version : How to block keyPressEvent ?



richardander
24th January 2009, 09:06
Hi,

I would like to block keyPressEvent to a control. Can anyone help?

thank you!

spirit
24th January 2009, 09:14
reimplement keypressEvent in your call or install event filter on needed class and then do nothing when you recieve QKeyEvent.