Inherits MLABWidgetControl.
Public Slots | |
| MLABWidgetControl * | controlForTab (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) |
The selected TabViewItem can be controlled from Scripting.
MDL reference: TabView
| 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
1.5.8