Hi
On 12/17/06, Pradnyesh Sawant pradnyesh@iitg.ernet.in wrote:
On 17 Dec, 03:41:27 PM, Chirag Wazir wrote:
I don't really use the designer myself so I haven't looked, I find it is easier to maintain code I write from scratch rather than worrying about exactly how the designer & pyuic decide to do things.
Thanks again for those helpful links and info
However, some Qs crop up to my mind -- plz do pardon me if i'm asking something stupid, as am a "newbie" to gui programming: why would one not use an IDE (especially one where one can drag-drop widgets onto a form) to create a gui? is it not more intuitive? is code generation not less cumbersome this way? especially with layouts; coz i just saw that qt4-designer does a very good job of laying out stuff, and that manually it would be very hard to place stuff at proper positions, and then configuring each petty detail of each widget
Umm, I am guessing you misunderstood my line. I did say use the Qt Designer which is not an IDE, its a WYSIWIG tool to design UIs. Please use it by all means as much as you want. And for doing that the Qt Designer manual is something I told you to refer. The point where you have to change your path from a person doing it in C++ is use "pyuic" instead of using "uic". Designer doesnot give any C++ or Py code, it churns out XML which is converted into C++ or Py by uic or pyuic respecitively.
So in short : to learn Qt4 designer please the Qt4 docs that come with the source or assistant. But use pyuic. And I say that because you wanted an PyQt tutorial for designer. The designer part always remains the same.
Cheers!
Pradeepto