$addTab(<widget:object>,<text_label:string>,[<icon_id>]) |
Adds another page to the tab view with the text label and optional icon. |
$insertTab(<widget:object>,<tex_label:string>,<index:uinteger>) |
Inserts another tab and page to the tab view with name and label-text specified. If index is not specified, the tab is simply appended. Otherwise the new tab is inserted at the specified position. |
$setTabToolTip(<tab_widget:object>,<tooltip:string>) |
Sets the tab tool tip for the tabwidget to <tooltip>. |
$removeTabToolTip(<tab_widget:object>) |
Removes the tab tool tip for the tab. If the page does not have a tip, nothing happens. |
$setTabLabel(<tab_widget>, <label:string>) |
Sets the tab label for <tab_widget> to label. |
$changeTab(<tab_widget:object>,<label:text>,[<icon_id>]) |
Defines a new label, and optional icon, for the tab . |
$setCurrentPage(<index:uinteger>) |
Sets the index position of the current tab page to <index>. |
<integer> $currentPageIndex() |
Returns the current page index. |
<string> $tabLabel(<index:uinteger>) |
Returns the tab label of the <index>. |
<hobject> $widgetAt(<index:integer>) |
Returns the tab widget of the <index> or 0 if index is out of the tabs count. |
<string> $currentTabLabel() |
Returns the label of the current tab. |
$removePage(<tab_widget:object>) |
Remove the page <tab_widget>. |
$setTabPosition(<tab_position:string>) |
Sets TabPosition. Valid parameters are : Top, Bottom. |
<integer> $count() |
Returns the number of tabs in the tab bar. |
$setTabsClosable(<enable:bool>) |
Sets whether close buttons are automatically added to each tab |
$currentChangedEvent() |
This function is invoched when the current tab was changed. The default implementation emits the $currentChange() signal. |
$tabCloseRequestEvent() |
This function is invoched when when the close button on a tab is clicked. The index is the index of the tab that should be removed. The default implementation emits the $tabCloseRequest() signal. See also $setTabsClosable(). |