Hiding a widget and allowing another one to take its place
-
Hey there,
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?
Thanks!
-
May be "QStackedWidget":http://qt-project.org/doc/qt-5/qstackedwidget.html#details will help here.