PDA

View Full Version : Qt > Py: Okay, but Py > Qt?



nitriles
11th September 2007, 15:04
Hello,

I managed to get a Qt code by using:
PYUIC FORM1.UI > FORM1.PY

But what if I only have the .py file from the GUI and I want to open it with Qt in order to edit the GUI.

Im using Linux, text editor KWrite and Qt 3.3 with python 2.4 (I think).

Thanks a lot!
Greetings,

wysota
11th September 2007, 15:08
You can't create a ui file out of a source file (be it python or c++).

nitriles
11th September 2007, 15:11
aha, bummer.
Thus I have no way of editing the GUI unless I have the original file?

wysota
11th September 2007, 15:40
You can edit it by hand by manipulating the python code directly.