Qt Designer is the Qt tool for designing and building graphical user interfaces. It allows you to design widgets, dialogs or complete main windows using on-screen forms and a simple drag-and-drop interface. It has the ability to preview your designs to ensure they work as you intended, and to allow you to prototype them with your users, before you have to write any code.
Qt Designer uses XML .ui files to store designs and does not generate any code itself. Qt includes the uic utility that generates the C++ code that creates the user interface. Qt also includes the QUiLoader class that allows an application to load a .ui file and to create the corresponding user interface dynamically.
PyQt does not wrap the QUiLoader class but instead includes the uic Python module. Like QUiLoader this module can load .ui files to create a user interface dynamically. Like the uic utility it can also generate the Python code that will create the user interface. PyQt's pyuic4 utility is a command line interface to the uic module. Both are described in detail in the following sections. ttp://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html ttp://www.nabble.com/QtUiTools,-QUiLoader-and-uic-module-td19878875.htmlwww.nabble.com/QtUiTools,-QUiLoader-and-uic-module-td19878875.html