> You need to create an event filter and install it on the > QApplication object. > > PS: If you need a more complicated example, I can give you a > link to a project > of mine where I'm using this method. No thanks, I know how event filters work, I just needed a hint where to start. Thanks a lot! Martin