Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{alias:qaddtab}

Name

qaddtab — add tab page to a QTabWidget

...

The qaddtab command adds a tabbed page to a [QTabWidget qtabwidget, also known as a notebook. A QTabWidget qtabwidget is created using the qtabwidget command 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  for examples on how to use the qaddtab command.