Adding widgets in Designer
Hi, how can I add an object inherited from QWidget ( Myclass : public QWidget ) using Qt Designer?
Regards
Re: resizing widgets when user resizes mainwindow
Quote:
Originally Posted by
franco.amato
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
Re: Adding widgets in Designer
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.
Re: Adding widgets in Designer
Quote:
Originally Posted by
fatjuicymole
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