Qtdesigner and python

Phil Thompson phil at riverbankcomputing.co.uk
Tue Dec 27 12:48:12 EST 2005


On Tuesday 27 December 2005 5:10 pm, Siraj Kutlusan wrote:
> I heard that you can use .ui files with python or something of the likes.
> Could anyone help me with telling me how to do this?

You can either convert the .ui file to Python code using pyuic or you can load 
the .ui file directly using the QWidgetFactory class.

Normally people use pyuic because they want to sub-class from the class 
created by Designer to add application logic.

Phil



More information about the Python-list mailing list