QTabWidget
QTabWidget is a class in the Qt Widgets module that implements a tabbed container. It presents a tab bar along with a page area; each tab corresponds to a child widget that becomes the visible page when the tab is selected. Internally, QTabWidget composes a QTabBar and a QStackedWidget to manage the tabs and the pages.
Tabs are added with addTab or insertTab, providing the page widget and a label, optionally with an
Tabs can be positioned with setTabPosition (North, South, West, East, corresponding to top, bottom, left, right).
Style and text for tabs can be customized by setTabText, setTabIcon, and setTabToolTip per tab. Signals such
Related classes include QTabBar and QStackedWidget; QTabWidget acts as a convenience wrapper combining both components and