Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi-like GUI designer for Python

Is there any GUI toolkit for Python with form designer similar to Delphi, eg where one can drag and drop controls to form, move them around etc.

like image 989
Harriv Avatar asked Jan 21 '09 15:01

Harriv


2 Answers

I recommend PyQt (now from Nokia), which uses Qt Designer. Qt designer produces XML files (.ui) which you can either convert to Python modules using a utility called pyuic, or load dynamically from your Python program.

You do have to write your Python code in a different editor, i.e. Designer is only the GUI designer part and not a complete IDE. They have an IDE in beta called Qt Creator, but I don't think it supports Python very well at this stage.

If you'd rather go with wxPython, wxGlade will output Python code.

like image 199
dF. Avatar answered Sep 29 '22 11:09

dF.


Use Glade + PyGTk to do GUI programming in Python. Glade is a tool which allows you to create graphical interfaces by dragging and dropping widgets. In turn Glade generates the interface definition in XML which you can hook up with your code using libglade. Check the website of Glade for more info.

like image 22
Baishampayan Ghose Avatar answered Sep 29 '22 11:09

Baishampayan Ghose