PDA

View Full Version : Use QWidget derived class in Dialog



qtneuling
17th May 2008, 22:10
Hello, i have a problem:

i have created a dialog in qt designer and i want a QWidget derived class to be shown there in a box, how can i do that?

jpn
17th May 2008, 22:32
Place a QWidget on the form and promote (http://doc.trolltech.com/4.4/designer-using-custom-widgets.html#promoting-widgets) it as your custom widget.

qtneuling
17th May 2008, 23:29
thanks, that works great. you really saved my day, have been trying for hours and now its all ok with a few clicks and like 3 lines of code :)