...
The qaddtab command adds a tabbed page to a [QTabWidget qtabwidget, also known as a notebook. A qtabwidget is created using the qtabwidget command command. The tabbed page could be any widget, but is usually just a plain qwidget.
Arguments
tabwidget
The tabwidget, or notebook, that contains the tab pages.
...
The widget that actually constitutes the tab page. If this argument is not provided, the current widget is used.
Examples
See qtabwidget for for examples on how to use the qaddtab command.