Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2286

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QTabBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; class provides a tab bar, e.g&amp;#x2e; for use in tabbed dialogs.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; is straightforward to use; it draws the tabs using one of the predefined shapes&lt;/tt&gt;, and emits a signal when a tab is selected. It can be subclassed to tailor the look and feel. Qt also provides a ready-made &lt;a href=&quot;QTabWidget.html&quot;&gt;&lt;tt&gt;QTabWidget&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Each tab has a &lt;a href=&quot;QTabBar.html#tabText(int)&quot;&gt;&lt;tt&gt;tabText&lt;/tt&gt;&lt;/a&gt;, an optional &lt;a href=&quot;QTabBar.html#tabIcon(int)&quot;&gt;&lt;tt&gt;tabIcon&lt;/tt&gt;&lt;/a&gt;, an optional &lt;a href=&quot;QTabBar.html#tabToolTip(int)&quot;&gt;&lt;tt&gt;tabToolTip&lt;/tt&gt;&lt;/a&gt;, optional &lt;a href=&quot;QTabBar.html#tabWhatsThis(int)&quot;&gt;&lt;tt&gt;tabWhatsThis&lt;/tt&gt;&lt;/a&gt; and optional &lt;a href=&quot;QTabBar.html#tabData(int)&quot;&gt;&lt;tt&gt;tabData&lt;/tt&gt;&lt;/a&gt;. The tabs's attributes can be changed with &lt;a href=&quot;QTabBar.html#setTabText(int, java.lang.String)&quot;&gt;&lt;tt&gt;setTabText&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTabBar.html#setTabIcon(int, com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setTabIcon&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTabBar.html#setTabToolTip(int, java.lang.String)&quot;&gt;&lt;tt&gt;setTabToolTip&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTabBar.html#setTabWhatsThis(int, java.lang.String)&quot;&gt;&lt;tt&gt;setTabWhatsThis&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTabBar.html#setTabData(int, java.lang.Object)&quot;&gt;&lt;tt&gt;setTabData&lt;/tt&gt;&lt;/a&gt;. Each tabs can be enabled or disabled individually with &lt;a href=&quot;QTabBar.html#setTabEnabled(int, boolean)&quot;&gt;&lt;tt&gt;setTabEnabled&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Each tab can display text in a distinct color. The current text color for a tab can be found with the &lt;a href=&quot;QTabBar.html#tabTextColor(int)&quot;&gt;&lt;tt&gt;tabTextColor&lt;/tt&gt;&lt;/a&gt; function. Set the text color for a particular tab with &lt;a href=&quot;QTabBar.html#setTabTextColor(int, com.trolltech.qt.gui.QColor)&quot;&gt;&lt;tt&gt;setTabTextColor&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Tabs are added using &lt;a href=&quot;QTabBar.html#addTab(java.lang.String)&quot;&gt;&lt;tt&gt;addTab&lt;/tt&gt;&lt;/a&gt;, or inserted at particular positions using &lt;a href=&quot;QTabBar.html#insertTab(int, java.lang.String)&quot;&gt;&lt;tt&gt;insertTab&lt;/tt&gt;&lt;/a&gt;. The total number of tabs is given by &lt;a href=&quot;QTabBar.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt;. Tabs can be removed from the tab bar with &lt;a href=&quot;QTabBar.html#removeTab(int)&quot;&gt;&lt;tt&gt;removeTab&lt;/tt&gt;&lt;/a&gt;. Combining &lt;a href=&quot;QTabBar.html#removeTab(int)&quot;&gt;&lt;tt&gt;removeTab&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTabBar.html#insertTab(int, java.lang.String)&quot;&gt;&lt;tt&gt;insertTab&lt;/tt&gt;&lt;/a&gt; allows you to move tabs to different positions.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QTabBar.html#shape()&quot;&gt;shape&lt;/tt&gt;&lt;/a&gt; property defines the tabs' appearance. The choice of shape is a matter of taste, although tab dialogs (for preferences and similar) invariably use &lt;a href=&quot;QTabBar.html#Shape-enum&quot;&gt;&lt;tt&gt;RoundedNorth&lt;/tt&gt;&lt;/a&gt;. Tab controls in windows other than dialogs almost always use either &lt;a href=&quot;QTabBar.html#Shape-enum&quot;&gt;&lt;tt&gt;RoundedSouth&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QTabBar.html#Shape-enum&quot;&gt;&lt;tt&gt;TriangularSouth&lt;/tt&gt;&lt;/a&gt;. Many spreadsheets and other tab controls in which all the pages are essentially similar use &lt;a href=&quot;QTabBar.html#Shape-enum&quot;&gt;&lt;tt&gt;TriangularSouth&lt;/tt&gt;&lt;/a&gt;, whereas &lt;a href=&quot;QTabBar.html#Shape-enum&quot;&gt;&lt;tt&gt;RoundedSouth&lt;/tt&gt;&lt;/a&gt; is used mostly when the pages are different (e.g&amp;#x2e; a multi-page tool palette). The default in &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; is &lt;a href=&quot;QTabBar.html#Shape-enum&quot;&gt;&lt;tt&gt;RoundedNorth&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The most important part of &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt;'s API is the &lt;a href=&quot;QTabBar.html#currentChanged(int)&quot;&gt;&lt;tt&gt;currentChanged&lt;/tt&gt;&lt;/a&gt; signal. This is emitted whenever the current tab changes (even at startup, when the current tab changes from 'none'). There is also a slot, &lt;a href=&quot;QTabBar.html#setCurrentIndex(int)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt;, which can be used to select a tab programmatically. The function &lt;a href=&quot;QTabBar.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; returns the index of the current tab, &lt;a href=&quot;QTabBar.html#count()&quot;&gt;count&lt;/tt&gt;&lt;/a&gt; holds the number of tabs.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; creates automatic mnemonic keys in the manner of &lt;a href=&quot;QAbstractButton.html&quot;&gt;&lt;tt&gt;QAbstractButton&lt;/tt&gt;&lt;/a&gt;; e.g&amp;#x2e; if a tab's label is &amp;quot;&amp;amp;Graphics&amp;quot;, Alt+G becomes a shortcut key for switching to that tab.&lt;/p&gt;
&lt;p&gt;The following virtual functions may need to be reimplemented in order to tailor the look and feel or store extra data with each tab:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;QTabBar.html#tabSizeHint(int)&quot;&gt;&lt;tt&gt;tabSizeHint&lt;/tt&gt;&lt;/a&gt; calcuates the size of a tab.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QTabBar.html#tabInserted(int)&quot;&gt;&lt;tt&gt;tabInserted&lt;/tt&gt;&lt;/a&gt; notifies that a new tab was added.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QTabBar.html#tabRemoved(int)&quot;&gt;&lt;tt&gt;tabRemoved&lt;/tt&gt;&lt;/a&gt; notifies that a tab was removed.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QTabBar.html#tabLayoutChange()&quot;&gt;&lt;tt&gt;tabLayoutChange&lt;/tt&gt;&lt;/a&gt; notifies that the tabs have been re-laid out.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;QTabBar.html#paintEvent(com.trolltech.qt.gui.QPaintEvent)&quot;&gt;&lt;tt&gt;paintEvent&lt;/tt&gt;&lt;/a&gt; paints all tabs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For subclasses, you might also need the &lt;a href=&quot;QTabBar.html#tabRect(int)&quot;&gt;&lt;tt&gt;tabRect&lt;/tt&gt;&lt;/a&gt; functions which returns the visual geometry of a single tab.&lt;/p&gt;
&lt;p&gt;&lt;table width=&quot;100%&quot; align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-tabbar.png&quot; alt=&quot;Screenshot of a Plastique style tab bar&quot; /&gt;&lt;/td&gt;&lt;td&gt;A tab bar shown in the Plastique widget style.&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/plastique-tabbar-truncated.png&quot; alt=&quot;Screenshot of a truncated Plastique tab bar&quot; /&gt;&lt;/td&gt;&lt;td&gt;A truncated tab bar shown in the Plastique widget style.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTabWidget.html&quot;&gt;&lt;tt&gt;QTabWidget&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void currentChanged(int index)" doc="/**
&lt;p&gt;This signal is emitted when the tab bar's current tab changes. The new current has the given &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(int index)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QTabBar(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Creates a new tab bar with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QTabBar()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final int addTab(com.trolltech.qt.gui.QIcon icon, java.lang.String text)" doc="/**
&lt;p&gt;Adds a new tab with icon &lt;tt&gt;icon&lt;/tt&gt; and text &lt;tt&gt;text&lt;/tt&gt;. Returns the new tab's index.&lt;/p&gt;
 */"/>
    <method name="public final int addTab(java.lang.String text)" doc="/**
&lt;p&gt;Adds a new tab with text &lt;tt&gt;text&lt;/tt&gt;. Returns the new tab's index.&lt;/p&gt;
 */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;Returns the number of tabs in the tab bar.&lt;/p&gt;
 */"/>
    <method name="public final int currentIndex()" doc="/**
&lt;p&gt;Returns the index of the tab bar's visible tab.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setCurrentIndex(int)&quot;&gt;&lt;tt&gt;setCurrentIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean drawBase()" doc="/**
&lt;p&gt;Returns defines whether or not tab bar should draw its base..&lt;/p&gt;
&lt;p&gt;If true then &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; draws a base in relation to the styles overlab. Otherwise only the tabs are drawn.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setDrawBase(boolean)&quot;&gt;&lt;tt&gt;setDrawBase&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::pixelMetric&lt;/tt&gt;
@see &lt;tt&gt;QStyle::PM_TabBarBaseOverlap&lt;/tt&gt;
@see &lt;a href=&quot;QStyleOptionTabBarBase.html&quot;&gt;&lt;tt&gt;QStyleOptionTabBarBase&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.TextElideMode elideMode()" doc="/**
&lt;p&gt;Returns how to elide text in the tab bar.&lt;/p&gt;
&lt;p&gt;This property controls how items are elided when there is not enough space to show them for a given tab bar size.&lt;/p&gt;
&lt;p&gt;By default the value is style dependent.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setElideMode(com.trolltech.qt.core.Qt.TextElideMode)&quot;&gt;&lt;tt&gt;setElideMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTabWidget::elideMode&lt;/tt&gt;
@see &lt;a href=&quot;QTabBar.html#usesScrollButtons()&quot;&gt;&lt;tt&gt;usesScrollButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SH_TabBar_ElideMode&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize iconSize()" doc="/**
&lt;p&gt;Returns The size for icons in the tab bar.&lt;/p&gt;
&lt;p&gt;The default value is style-dependent. &lt;tt&gt;iconSize&lt;/tt&gt; is a maximum size; icons that are smaller are not scaled up.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setIconSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setIconSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTabWidget::iconSize&lt;/tt&gt; */"/>
    <method name="public final int insertTab(int index, com.trolltech.qt.gui.QIcon icon, java.lang.String text)" doc="/**
&lt;p&gt;Inserts a new tab with icon &lt;tt&gt;icon&lt;/tt&gt; and text &lt;tt&gt;text&lt;/tt&gt; at position &lt;tt&gt;index&lt;/tt&gt;. If &lt;tt&gt;index&lt;/tt&gt; is out of range, the new tab is appended. Returns the new tab's index.&lt;/p&gt;
&lt;p&gt;If the &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; was empty before this function is called, the inserted tab becomes the current tab.&lt;/p&gt;
&lt;p&gt;Inserting a new tab at an index less than or equal to the current index will increment the current index, but keep the current tab.&lt;/p&gt;
 */"/>
    <method name="public final int insertTab(int index, java.lang.String text)" doc="/**
&lt;p&gt;Inserts a new tab with text &lt;tt&gt;text&lt;/tt&gt; at position &lt;tt&gt;index&lt;/tt&gt;. If &lt;tt&gt;index&lt;/tt&gt; is out of range, the new tab is appened. Returns the new tab's index.&lt;/p&gt;
 */"/>
    <method name="public final boolean isTabEnabled(int index)" doc="/**
&lt;p&gt;Returns true if the tab at position &lt;tt&gt;index&lt;/tt&gt; is enabled; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final void removeTab(int index)" doc="/**
&lt;p&gt;Removes the tab at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void setCurrentIndex(int index)" doc="/**
&lt;p&gt;Sets the index of the tab bar's visible tab to &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#currentIndex()&quot;&gt;&lt;tt&gt;currentIndex&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDrawBase(boolean drawTheBase)" doc="/**
&lt;p&gt;Sets defines whether or not tab bar should draw its base. to &lt;tt&gt;drawTheBase&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If true then &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; draws a base in relation to the styles overlab. Otherwise only the tabs are drawn.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#drawBase()&quot;&gt;&lt;tt&gt;drawBase&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::pixelMetric&lt;/tt&gt;
@see &lt;tt&gt;QStyle::PM_TabBarBaseOverlap&lt;/tt&gt;
@see &lt;a href=&quot;QStyleOptionTabBarBase.html&quot;&gt;&lt;tt&gt;QStyleOptionTabBarBase&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setElideMode(com.trolltech.qt.core.Qt.TextElideMode arg__1)" doc="/**
&lt;p&gt;Sets how to elide text in the tab bar to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property controls how items are elided when there is not enough space to show them for a given tab bar size.&lt;/p&gt;
&lt;p&gt;By default the value is style dependent.&lt;/p&gt;

@see &lt;tt&gt;QTabWidget::elideMode&lt;/tt&gt;
@see &lt;a href=&quot;QTabBar.html#usesScrollButtons()&quot;&gt;&lt;tt&gt;usesScrollButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SH_TabBar_ElideMode&lt;/tt&gt; */"/>
    <method name="public final void setIconSize(com.trolltech.qt.core.QSize size)" doc="/**
&lt;p&gt;Sets The size for icons in the tab bar to &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is style-dependent. &lt;tt&gt;iconSize&lt;/tt&gt; is a maximum size; icons that are smaller are not scaled up.&lt;/p&gt;

@see &lt;tt&gt;QTabWidget::iconSize&lt;/tt&gt; */"/>
    <method name="public final void setShape(com.trolltech.qt.gui.QTabBar.Shape shape)" doc="/**
&lt;p&gt;Sets the shape of the tabs in the tab bar to &lt;tt&gt;shape&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Possible values for this property are described by the Shape enum.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabData(int index, java.lang.Object data)" doc="/**
&lt;p&gt;Sets the data of the tab at position &lt;tt&gt;index&lt;/tt&gt; to &lt;tt&gt;data&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabData(int)&quot;&gt;&lt;tt&gt;tabData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabEnabled(int index, boolean arg__2)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__2&lt;/tt&gt; is true then the tab at position &lt;tt&gt;index&lt;/tt&gt; is enabled; otherwise the item at position &lt;tt&gt;index&lt;/tt&gt; is disabled.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#isTabEnabled(int)&quot;&gt;&lt;tt&gt;isTabEnabled&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabIcon(int index, com.trolltech.qt.gui.QIcon icon)" doc="/**
&lt;p&gt;Sets the icon of the tab at position &lt;tt&gt;index&lt;/tt&gt; to &lt;tt&gt;icon&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabIcon(int)&quot;&gt;&lt;tt&gt;tabIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabText(int index, java.lang.String text)" doc="/**
&lt;p&gt;Sets the text of the tab at position &lt;tt&gt;index&lt;/tt&gt; to &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabText(int)&quot;&gt;&lt;tt&gt;tabText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabTextColor(int index, com.trolltech.qt.gui.QColor color)" doc="/**
&lt;p&gt;Sets the color of the text in the tab with the given &lt;tt&gt;index&lt;/tt&gt; to the specified &lt;tt&gt;color&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If an invalid color is specified, the tab will use the &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; foreground role instead.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabTextColor(int)&quot;&gt;&lt;tt&gt;tabTextColor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabToolTip(int index, java.lang.String tip)" doc="/**
&lt;p&gt;Sets the tool tip of the tab at position &lt;tt&gt;index&lt;/tt&gt; to &lt;tt&gt;tip&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabToolTip(int)&quot;&gt;&lt;tt&gt;tabToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabWhatsThis(int index, java.lang.String text)" doc="/**
&lt;p&gt;Sets the What's This help text of the tab at position &lt;tt&gt;index&lt;/tt&gt; to &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabWhatsThis(int)&quot;&gt;&lt;tt&gt;tabWhatsThis&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setUsesScrollButtons(boolean useButtons)" doc="/**
&lt;p&gt;Sets Whether or not a tab bar should use buttons to scroll tabs when it has many tabs. to &lt;tt&gt;useButtons&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;When there are too many tabs in a tab bar for its size, the tab bar can either choose to expand it's size or to add buttons that allow you to scroll through the tabs.&lt;/p&gt;
&lt;p&gt;By default the value is style dependant.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#elideMode()&quot;&gt;&lt;tt&gt;elideMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTabWidget::usesScrollButtons&lt;/tt&gt;
@see &lt;tt&gt;QStyle::SH_TabBar_PreferNoArrows&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTabBar.Shape shape()" doc="/**
&lt;p&gt;Returns the shape of the tabs in the tab bar.&lt;/p&gt;
&lt;p&gt;Possible values for this property are described by the Shape enum.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setShape(com.trolltech.qt.gui.QTabBar.Shape)&quot;&gt;&lt;tt&gt;setShape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int tabAt(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;Returns the index of the tab that covers &lt;tt&gt;pos&lt;/tt&gt; or -1 if no tab covers &lt;tt&gt;pos&lt;/tt&gt;;&lt;/p&gt;
 */"/>
    <method name="public final java.lang.Object tabData(int index)" doc="/**
&lt;p&gt;Returns the datad of the tab at position &lt;tt&gt;index&lt;/tt&gt;, or a null variant if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setTabData(int, java.lang.Object)&quot;&gt;&lt;tt&gt;setTabData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QIcon tabIcon(int index)" doc="/**
&lt;p&gt;Returns the icon of the tab at position &lt;tt&gt;index&lt;/tt&gt;, or a null icon if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setTabIcon(int, com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setTabIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect tabRect(int index)" doc="/**
&lt;p&gt;Returns the visual rectangle of the of the tab at position &lt;tt&gt;index&lt;/tt&gt;, or a null rectangle if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String tabText(int index)" doc="/**
&lt;p&gt;Returns the text of the tab at position &lt;tt&gt;index&lt;/tt&gt;, or an empty string if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setTabText(int, java.lang.String)&quot;&gt;&lt;tt&gt;setTabText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QColor tabTextColor(int index)" doc="/**
&lt;p&gt;Returns the text color of the tab with the given &lt;tt&gt;index&lt;/tt&gt;, or a invalid color if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setTabTextColor(int, com.trolltech.qt.gui.QColor)&quot;&gt;&lt;tt&gt;setTabTextColor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String tabToolTip(int index)" doc="/**
&lt;p&gt;Returns the tool tip of the tab at position &lt;tt&gt;index&lt;/tt&gt;, or an empty string if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setTabToolTip(int, java.lang.String)&quot;&gt;&lt;tt&gt;setTabToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String tabWhatsThis(int index)" doc="/**
&lt;p&gt;Returns the What's This help text of the tab at position &lt;tt&gt;index&lt;/tt&gt;, or an empty string if &lt;tt&gt;index&lt;/tt&gt; is out of range.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setTabWhatsThis(int, java.lang.String)&quot;&gt;&lt;tt&gt;setTabWhatsThis&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean usesScrollButtons()" doc="/**
&lt;p&gt;Returns Whether or not a tab bar should use buttons to scroll tabs when it has many tabs..&lt;/p&gt;
&lt;p&gt;When there are too many tabs in a tab bar for its size, the tab bar can either choose to expand it's size or to add buttons that allow you to scroll through the tabs.&lt;/p&gt;
&lt;p&gt;By default the value is style dependant.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#setUsesScrollButtons(boolean)&quot;&gt;&lt;tt&gt;setUsesScrollButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTabBar.html#elideMode()&quot;&gt;&lt;tt&gt;elideMode&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTabWidget::usesScrollButtons&lt;/tt&gt;
@see &lt;tt&gt;QStyle::SH_TabBar_PreferNoArrows&lt;/tt&gt; */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void keyPressEvent(com.trolltech.qt.gui.QKeyEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseMoveEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mousePressEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void mouseReleaseEvent(com.trolltech.qt.gui.QMouseEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void showEvent(com.trolltech.qt.gui.QShowEvent arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void tabInserted(int index)" doc="/**
&lt;p&gt;This virtual handler is called after a new tab was added or inserted at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabRemoved(int)&quot;&gt;&lt;tt&gt;tabRemoved&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void tabLayoutChange()" doc="/**
&lt;p&gt;This virtual handler is called whenever the tab layout changes.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabRect(int)&quot;&gt;&lt;tt&gt;tabRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void tabRemoved(int index)" doc="/**
&lt;p&gt;This virtual handler is called after a tab was removed from position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTabBar.html#tabInserted(int)&quot;&gt;&lt;tt&gt;tabInserted&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected com.trolltech.qt.core.QSize tabSizeHint(int index)" doc="/**
&lt;p&gt;Returns the size hint for the tab at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <enum name="Shape" doc="/**
&lt;p&gt;This enum type lists the built-in shapes supported by &lt;a href=&quot;QTabBar.html#QTabBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt;. Treat these as hints as some styles may not render some of the shapes. However, position should be honored.&lt;/p&gt;
 */">
        <enum-value name="RoundedNorth" doc="/**
&lt;p&gt;The normal rounded look above the pages&lt;/p&gt;
 */"/>
        <enum-value name="RoundedSouth" doc="/**
&lt;p&gt;The normal rounded look below the pages&lt;/p&gt;
 */"/>
        <enum-value name="RoundedWest" doc="/**
&lt;p&gt;The normal rounded look on the left side of the pages&lt;/p&gt;
 */"/>
        <enum-value name="RoundedEast" doc="/**
&lt;p&gt;The normal rounded look on the right side the pages&lt;/p&gt;
 */"/>
        <enum-value name="TriangularNorth" doc="/**
&lt;p&gt;Triangular tabs above the pages.&lt;/p&gt;
 */"/>
        <enum-value name="TriangularSouth" doc="/**
&lt;p&gt;Triangular tabs similar to those used in the Excel spreadsheet, for example&lt;/p&gt;
 */"/>
        <enum-value name="TriangularWest" doc="/**
&lt;p&gt;Triangular tabs on the left of the pages.&lt;/p&gt;
 */"/>
        <enum-value name="TriangularEast" doc="/**
&lt;p&gt;Triangular tabs on the right of the pages.&lt;/p&gt;
 */"/>
</enum>
</class>