Ok, I'm looking for 2 things: 1) catching key events
I found that I have to implement the keyPressEvent() method. I did this in the mainWindow, but the behaviour depend where is the focus. And as I want to catch arrow keys, it also change the focus! What is the proper way to do this? I also want to rebind key TAB, to avoid changing the focus, space, and enter... 2) catching the close window event (when clicking in the little x, in the up-right corner) What is, and how to catch, this event? Thanks, -- Frédéric http://www.gbiloba.org _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt