The QStackedWidget class provides a stack of widgets where only one widget is visible at a time. QStackedWidget can be used to create a user interface similar to the one provided by QTabWidget.
The QStackedWidget
class provides a stack of widgets where only one widget is visible at a time.
Official information can be found here.