How to add a widget to QMainwindow in qt creator
Unsolved
General and Desktop
-
please find my screen shots these dialog boxes are opening separately ...i don't want to open it separately need to join them to main window as well as it will not allow to do anything after closing window only we can open another window.....
@veera If you don't want to open them as windows than don't do it. It looks like you're using dialogs - dialogs are per definition windows! Add those widgets to their parent widget.
-
wrote on 10 Oct 2017, 13:14 last edited by
Qt designer form class is widget .....after that how to add widgets to their parent widget ?
-
wrote on 12 Oct 2017, 08:16 last edited by
Well... every widget has the setParent(QWidget *parent) function. is that not working for you?
41/43