DzTabWidget Class Reference
[Interface Widget Objects]

DAZ Script tab stack widget. More...

Inheritance diagram for DzTabWidget:

DzWidget List of all members.

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)"

Detailed Description

DAZ Script tab stack widget.

This widget provides a stack of tabbed widgets.


Constructor & Destructor Documentation

DzTabWidget::DzTabWidget ( DzWidget  parent  ) 

Creates a tab widget as a child of the given parent widget


Member Function Documentation

void DzTabWidget::addTab ( DzWidget  child,
String  label 
)

Adds child as a new tab with the given label

void DzTabWidget::changeTab ( DzWidget  w,
String  label 
)

Changes the label of a tab

void DzTabWidget::currentChanged ( DzWidget wgt  )  [signal]

Signature: "currentChanged(DzWidget *wgt)"

Emitted when the current page changes

DzWidget * DzTabWidget::currentPageWidget (  ) 

Returns:
The widget for the current page

int DzTabWidget::indexOf ( DzWidget  w  ) 

Returns:
The index of the given tab

void DzTabWidget::insertTab ( DzWidget  child,
String  label,
Number  index = -1 
)

Inserts child as a new tab with the given label at the given index

bool DzTabWidget::isTabEnabled ( DzWidget  w  ) 

Returns:
true if the tab is enabled

String DzTabWidget::label ( Number  index  ) 

Returns:
The label of the tab at the given index

DzWidget DzTabWidget::page ( Number  index  ) 

Returns:
The page at the given index

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

void DzTabWidget::setTabEnabled ( DzWidget  w,
Boolean  enable 
)

Sets whether or not the tab is enabled

void DzTabWidget::setTabLabel ( DzWidget  w,
String  label 
)

Sets the label for the tab

void DzTabWidget::setTabToolTip ( DzWidget  w,
String  tooltip 
)

Sets the tool tip for the tab

void DzTabWidget::showPage ( DzWidget  w  ) 

Makes the given tab the current tab

String DzTabWidget::tabLabel ( DzWidget  w  ) 

Returns:
The current label for the tab

String DzTabWidget::tabToolTip ( DzWidget  w  ) 

Returns:
The tool tip for the tab


Member Data Documentation

int DzTabWidget::count

The number of tabs in the tab stack (read-only)

Number DzTabWidget::currentPage

The index position of the current tab page


Generated on Thu Sep 24 12:21:16 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.