PDA

View Full Version : GUI Code



waynew
12th October 2009, 00:50
Trying to get ramped up on Qt, but I have some confusion.
I'm used to NetBeans w/Java where you put an object on the form and the IDE makes the code for you that creates the object. Then you just add code for the object behavior you want. Like the action.

I don't see a parallel in Qt. I create a form in QT Creator and put some objects on it like labels, fields, a menu, but can't find where it has generated any code.
I'm sure that I am missing something very simple but unfortunately none of my Qt books show examples of creating a form this way and I can't find anything on line. And how does Qt Designer fit into this?

Just need a simple explanation or point me to some doc.

Thanks!

lyuts
12th October 2009, 06:49
I think this (http://doc.trolltech.com/4.5/designer-using-a-ui-file.html) is what you are missing.

waynew
12th October 2009, 12:12
Thanks Lyuts. That does make it clear. :)