[PyQt] Working with PyQt and Pydev

Fabio Zadrozny fabiofz at gmail.com
Sat Jan 8 15:42:16 GMT 2011


On Fri, Jan 7, 2011 at 2:53 PM, Rohit Coder <
passionate_programmer at hotmail.com> wrote:

>  Where is this tool, PyUiC, located?
>

At my install it's at c:\bin\Python265\Lib\site-packages\PyQt4\pyuic.bat
(it's a bat, so, the actual executable must be cmd.exe).. internally it
calls:
@"D:\bin\python265\python.exe"
"D:\bin\python265\Lib\site-packages\PyQt4\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7
%8 %9

So, maybe you can put your executable as python with the parameter being the
pyuic.py.

Cheers,

Fabio


>
> ------------------------------
> 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-size font-stylefont-variantfont-weight
> letter-spacingline-heighttext-decoration text-aligntext-indent
> text-transformwhite-spaceword-spacingcolor Backgroundbg-attachmentbg-color
> bg-imagebg-positionbg-repeat Boxwidthheightborder-topborder-right
> border-bottom border-leftmarginpaddingmax-heightmin-heightmax-width
> min-widthoutline-coloroutline-styleoutline-widthPositioningposition top
> bottomrightleftfloatdisplayclear z-indexListlist-style-image
> list-style-typelist-style-position Tablevertical-alignborder-collapse
> border-spacingcaption-sideempty-cells table-layoutEffectstext-shadow
> -webkit-box-shadowborder-radiusOther overflowcursorvisibility
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110108/40bbac21/attachment.html>


More information about the PyQt mailing list