PDA

View Full Version : Adding widgets in Designer



franco.amato
21st December 2009, 01:54
Hi, how can I add an object inherited from QWidget ( Myclass : public QWidget ) using Qt Designer?

Regards

dbzhang800
21st December 2009, 04:45
Hi, how can I add an object inherited from QWidget ( Myclass : public QWidget ) using Qt Designer?

Regards
read the article "Using Custom Widgets with Qt Designer" in your assistant

squidge
21st December 2009, 09:45
Drop a QWidget on the form, and then right click it, "Promote To" and then enter the new class name and header file for your new widget.

franco.amato
21st December 2009, 14:43
Drop a QWidget on the form, and then right click it, "Promote To" and then enter the new class name and header file for your new widget.

Thank you very much.
I'll try immediately.

Best