Name
qaddtab — add tab page to a QTabWidget
Syntax
qaddtab tabwidget title [widget]
Description
The qaddtab command adds a tabbed page to a qtabwidget, also known as a notebook. A qtabwidget is created using the qtabwidget 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.
title
The title text to appear on the tab, in the upper left corner.
widget
The widget that actually constitutes the tab page. If this argument is not provided, the current widget is used.
Examples
See qtabwidget for examples on how to use the qaddtab command.