Wiki Markup |
---|
{alias:qaddtab} |
Name
qaddtab — add tab page to a QTabWidget
...
The qaddtab command adds a tabbed page to a [QTabWidget, also known as a notebook. A QTabWidget qtabwidget is created using the qtabwidget command. The tabbed page could be any widget, but is usually just a plain QWidget 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.