Inheritance diagram for DzTabWidget:
Properties | |
Number | count |
Number | currentPage |
Methods | |
void | addTab (DzWidget child, String label) |
void | changeTab (DzWidget w, String label) |
DzWidget | currentPageWidget () |
int | indexOf (DzWidget w) |
void | insertTab (DzWidget child, String label, Number index=-1) |
bool | isTabEnabled (DzWidget w) |
String | label (Number index) |
DzWidget | page (Number index) |
void | removePage (DzWidget w) |
void | removeTabToolTip (DzWidget w) |
void | setTabEnabled (DzWidget w, Boolean enable) |
void | setTabLabel (DzWidget w, String label) |
void | setTabToolTip (DzWidget w, String tooltip) |
void | showPage (DzWidget w) |
String | tabLabel (DzWidget w) |
String | tabToolTip (DzWidget w) |
Constructors | |
DzTabWidget (DzWidget parent) | |
Signals | |
void | currentChanged (DzWidget *wgt) |
Signature: "currentChanged(DzWidget *wgt)" |
This widget provides a stack of tabbed widgets.
DzTabWidget::DzTabWidget | ( | DzWidget | parent | ) |
Creates a tab widget as a child of the given parent widget
Adds child as a new tab with the given label
void DzTabWidget::currentChanged | ( | DzWidget * | wgt | ) | [signal] |
Signature: "currentChanged(DzWidget *wgt)"
Emitted when the current page changes
DzWidget * DzTabWidget::currentPageWidget | ( | ) |
int DzTabWidget::indexOf | ( | DzWidget | w | ) |
Inserts child as a new tab with the given label at the given index
bool DzTabWidget::isTabEnabled | ( | DzWidget | w | ) |
void DzTabWidget::removePage | ( | DzWidget | w | ) |
Removes the given tab from the tab widget.
void DzTabWidget::removeTabToolTip | ( | DzWidget | w | ) |
Clear the tool tip for the tab
Sets whether or not the tab is enabled
void DzTabWidget::showPage | ( | DzWidget | w | ) |
Makes the given tab the current tab
The number of tabs in the tab stack (read-only)
The index position of the current tab page