Insert a group of Widgets in one QWidget?
Solved
General and Desktop
-
I have drawn several widgets (Buttons, Horizontal Lines, Label, etc) but i forgot to set the QWidget and i dont want to remove everything and i dont want to draw all again. How can I insert all those widget in an only one QWidget?
-
Insert all the widgets in a layout. Then,
use widget->setLayout(layout). -
@Eduardo12l Are you talking about Qt Designer? Select the widgets, cut them (Ctrl-x), insert the widget, select it and insert the cut widgets (Ctrl-v).
-
This post is deleted!
-
@Vinod-Kuntoji I actually replied to @Eduardo12l not to your answer.