I would love to replace a widget on button action a widget which is in the middle.
layout = new QVBoxLayout;
layout->addWidget(_top);
layout->addWidget(_middle);
layout->addWidget(_bottom);
now I can remove a widget using
layout->removeWidget(_middle);
but how to add another one on that spot ??
Thanks for help.
Bookmarks