Here I’ll show the steps to build and install PyQt4 inside a virtualenv.
These instructions are related to Mac OS X and Linux systems only.
Here I’ll show the steps to build and install PyQt4 inside a virtualenv.
These instructions are related to Mac OS X and Linux systems only.
The TabbedWindow project’s source code is now available on GitHub. This is a implementation of the same tabs Drag&Drop behaviour that you can find in Firefox or Google Chrome browsers.
Continue reading
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
It’s very simple with the QtWebKit APIs to open an link with your default browser from a QWebView (you can find some solutions like this in StackOverflow about that) but that works well only with <a> elements. If you are opening an external browser by a window.open() JavaScript function you need a whole different approach.
Some weeks ago I read about the Necessitas project on the Qt Labs Blog which let you able to run Qt application on the Android platform. It was very interesting and now I’m going to try it.
My test environment is my Mac Book Pro with Snow Leopard.

How to setup and compile the latest source code of PySide under Mac OS X
Continue reading

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.