Like a lot of other folks, I use Eric4 for my PyQt4 development. It's a nice IDE that makes programming your PyQt4 application a little easier, mostly thanks to it's quick links to Qt4 tools.
One of the potentially cool features of Eric4 is it's ability to add extra API's to the code completion. However, as nice as Eric4 is, it doesn't come with an API for PyQt4.
One of the things that has irritated me over the last few months has been the fact that I constantly need to refer back to the (Py)Qt4 documentation all the time to see what classes to use, or to get the correct spelling of a class or method.
So this evening I determined to put an end to that and create my own API file.
Thanks to some help from Michael Gorven, and some Python-fu, I managed to automagically pull each and every class, method, variable and type out of the PyQt4 namespace, and stick it in the API file.
Without much futher ado, here's the API file for you to download: PyQt4.api (1.98MB)
To install this file into Eric4, I'd recommend making a permanent directory somewhere, like ~/.eric4/api and copying the file into there. Then from in Eric4's Preferences, go to API, click on the browse button, find your api file, and click add. Once you're done with that, click "Compile API."






