So i have a layout. I added many different widgets to it. But i want to know, how do i remove a widget from layout? I tried:
layout->removeWidget(returnButton);
Program compiles and everything, but when the time comes - the widget does not disappear... help?
Bookmarks