[PyQt] Working with PyQt and Pydev

Rohit Coder passionate_programmer at hotmail.com
Fri Jan 7 16:53:30 GMT 2011


Where is this tool, PyUiC, located?

From: fabiofz at gmail.com
Date: Fri, 7 Jan 2011 10:09:48 -0200
Subject: Re: [PyQt] Working with PyQt and Pydev
To: passionate_programmer at hotmail.com
CC: pyqt at riverbankcomputing.com; python-list at python.org

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


elementFontfont-familyfont-sizefont-stylefont-variantfont-weightletter-spacingline-heighttext-decorationtext-aligntext-indenttext-transformwhite-spaceword-spacingcolorBackgroundbg-attachmentbg-colorbg-imagebg-positionbg-repeatBoxwidthheightborder-topborder-rightborder-bottomborder-leftmarginpaddingmax-heightmin-heightmax-widthmin-widthoutline-coloroutline-styleoutline-widthPositioningpositiontopbottomrightleftfloatdisplayclearz-indexListlist-style-imagelist-style-typelist-style-positionTablevertical-alignborder-collapseborder-spacingcaption-sideempty-cellstable-layoutEffectstext-shadow-webkit-box-shadowborder-radiusOtheroverflowcursorvisibility 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110107/edce3494/attachment.html>


More information about the PyQt mailing list