MLABTabViewControl Class Reference
[GUI ControlsCommon GUI Controls]

TabView control. More...

Inherits MLABWidgetControl.

List of all members.

Public Slots

MLABWidgetControlcontrolForTab (int idx)
int countTabs ()
int currentTab ()
bool isTabEnabled (int idx)
void selectTab (MLABWidgetControl *control)
void selectTabAtIndex (int index)
void setTabEnabled (int idx, bool flag)
void setTabText (int idx, const QString &text)
void setTabToolTip (int idx, const QString &text)
QString tabText (int idx)
QString tabToolTip (int idx)


Detailed Description

TabView control.

The selected TabViewItem can be controlled from Scripting.

MDL reference: TabView


Member Function Documentation

MLABWidgetControl* MLABTabViewControl::controlForTab ( int  idx  )  [slot]

get control for tab at index

int MLABTabViewControl::countTabs (  )  [slot]

return number of tabs

int MLABTabViewControl::currentTab (  )  [slot]

get index of current visible tab

bool MLABTabViewControl::isTabEnabled ( int  idx  )  [slot]

check if tab is enabled

void MLABTabViewControl::selectTab ( MLABWidgetControl control  )  [slot]

select tab with given control

void MLABTabViewControl::selectTabAtIndex ( int  index  )  [slot]

select tab at given index

void MLABTabViewControl::setTabEnabled ( int  idx,
bool  flag 
) [slot]

enable/disable a tab

void MLABTabViewControl::setTabText ( int  idx,
const QString &  text 
) [slot]

set text of given tab

void MLABTabViewControl::setTabToolTip ( int  idx,
const QString &  text 
) [slot]

set tooltip of given tab

QString MLABTabViewControl::tabText ( int  idx  )  [slot]

get text of a tab

QString MLABTabViewControl::tabToolTip ( int  idx  )  [slot]

get tooltip of a tab


Generated on Sat Sep 3 18:38:03 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8