Is it possible to dynamically add widgets (PushButtons, Labels, etc.), into a Qt Designer-generated central widget layout? How can it be done?
Thank you!
Is it possible to dynamically add widgets (PushButtons, Labels, etc.), into a Qt Designer-generated central widget layout? How can it be done?
Thank you!
Of course, and it's quite easy. You can have a look at the ui_mainwindow.h at the debug/release dir. I prefer setting layouts for widgets in QtDesigner to the code. It's something like this: