Hiding a widget and allowing another one to take its place
I have been interested in how to integrate a QMdiArea into my web browser project. I would like to make a slot, that, when called hides the QTabWidget and creates a QMdiArea in its place. This QMdiArea would load up subwindows with the web pages in the QTabWidget. I don't want to destroy the QTabWidget, just hide it and have the QMdiArea appear in its place. How do I do this?
May be "QStackedWidget":http://qt-project.org/doc/qt-5/qstackedwidget.html#details will help here.
that looks cool, but Ive already created the application and Im not thrilled with the idea of retrofitting it with a QStackedWidget, any other ideas? Thanks though!