Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting .py to .ui file [duplicate]

We already know that we can convert from ui to py easily with pyuic4.

Is possible to convert .py (that only contains pyqt ui related stuff) code back to .ui.

like image 643
Ali Avatar asked Apr 04 '13 22:04

Ali


1 Answers

I can give you an example of why such a thing: when you inherited a project and the original developer didn't place the ui files in the repository (only left there the generated by pyuic4). True, that is a very particular example and that's also my reason why I'm trying to find something (is not a matter of one single ui file).

In a more generic way I can imagine that this would had happen to the previous developer in case of a disk fail.

Yes, I'm completely agreed that such a tool is not a normal thing to be provided like pyuic4...

like image 75
srgblnch Avatar answered Oct 17 '22 22:10

srgblnch