Let start by explaining the goal: we want to send a custom signal when the user press a combination of keys. Sound pretty easy, your are already thinking to override the keyPressEvent() and keyReleaseEvent() virtual methods of your QMainWindow with your custom code.
It’s a fair solution, but not the so elegant, and what’s happen if you have more than one QMainWindow instances or none at all? Continue reading Global hotkey
A couple fo days ago Python 2.7 was release as a first stable release. Looking at the Mac OS X ports I found the new official 64-bit release and I installed it. But now the Qt Python bindings stops working because they are compiled as 32-bit binaries.
New country, new life style, new spoken language and new GUI toolkit ! After 5 years of wxPython toolkit now it’s the time to move to PyQt4. Let’s see how install this GUI toolkit under Mac OS X Snow Leopard.