Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

qaddtab — add tab page to a QTabWidget

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

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.