In the beginning this topic was designed like "what am I doing wrong?" issue, but now I would like to ask you to make sure that all I'm doing is correct.
The issue is that in Wikipedia article I found the words "PyQt4 contains the following Python modules. <..> The QtDesigner module contains classes that allow Qt Designer to be extended using PyQt.", but QT Designer only allows to create forms using QT libraries, not PyQt. QT Creator also doesn't allow to write apps using PyQT. I've been trying to figure out how to connect PyQt with QT Cteator, and that's the result of my thoughts:
- Create form in QT Designer using original QT classes.
- Save file as filename.ui
- Open terminal and change directory to the one containing filename.ui
- Execute pyuic4 filename.ui > mainform.ui
- In our main programm file type import mainform.ui and create instance of our class, for example:
So, am I right? Perhaps there is an easier and more native way to create applications using PyQt?