[PyQt] Working with PyQt and Pydev

Fabio Zadrozny fabiofz at gmail.com
Fri Jan 7 12:09:48 GMT 2011


On Thu, Jan 6, 2011 at 9:32 AM, Rohit Coder <
passionate_programmer at hotmail.com> wrote:

>  I installed the PyDev plugin into Aptana Stdui 3 Beta. Someone suggested
> me to use PyQt for Python GUI app, and so I downloaded and installed PyQt.
> But when I open Aptana Studio, I could see a new menu added with the name
> "PyDev", but there is nothing for PyQt.
>
>
> In the Windows Start Meny item list, I could see a folder named PyQt and
> when I open it, there are few tools like Designer.
>
>
> When Designer is run, it opens Qt IDE for designing Forms like Visual
> Studio and the files have the extension .ui.
>
> I want to know how to integrate PyQt and PyDev. Do I need to use them
> separately by adding the .ui files to PyDev and then adding Python core code
> for functionality?
>
>
After you design your class in the Qt Designer, you need to run pyuic to
convert the .ui file to a python file (which you'd probably subclass in
another module to add your own code, as you don't want to mess the
automatically generated file). If you want, you can add a builder (project >
properties > builders) to run pyuic when a .ui file is changed, so you don't
have to go to the console to ask pyuic to be rerun every time you change the
file.

Cheers,

Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110107/5a451612/attachment.html>


More information about the PyQt mailing list