<class name="QStyleOptionTabBarBase" doc="/** <p>The <a href="QStyleOptionTabBarBase.html#QStyleOptionTabBarBase(int)"><tt>QStyleOptionTabBarBase</tt></a> class is used to describe the base of a tab bar, i.e&#x2e; the part that the tab bar usually overlaps with.</p> <p><a href="QStyleOptionTabBarBase.html#QStyleOptionTabBarBase(int)"><tt>QStyleOptionTabBarBase</tt></a> contains all the information that <a href="QStyle.html"><tt>QStyle</tt></a> functions need to draw the tab bar base. Note that this is only drawn for a standalone <a href="QTabBar.html"><tt>QTabBar</tt></a> (one that isn't part of a <a href="QTabWidget.html"><tt>QTabWidget</tt></a>).</p> <p>For performance reasons, the access to the member variables is direct (i.e&#x2e;, using the <tt>.</tt> or <tt>-&gt;</tt> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.</p> <p>For an example demonstrating how style options can be used, see the Styles</tt> example.</p> @see <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> @see <tt>QTabBar::drawBase</tt> */"> <method name="public QStyleOptionTabBarBase(com.trolltech.qt.gui.QStyleOptionTabBarBase other)" doc="/** <p>Constructs a copy of <tt>other</tt>.</p> */"/> <method name="public QStyleOptionTabBarBase()" doc="/** <p>Construct a <a href="QStyleOptionTabBarBase.html#QStyleOptionTabBarBase(int)"><tt>QStyleOptionTabBarBase</tt></a>, initializing the members vaiables to their default values.</p> */"/> <method name="protected QStyleOptionTabBarBase(int version)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> */"/> <enum name="StyleOptionVersion" doc="/** <p>This enum is used to hold information about the version of the style option, and is defined for each <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass.</p> <p>The version is used by <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.</p> @see <a href="QStyleOptionTabBarBase.html#StyleOptionType-enum"><tt>StyleOptionType</tt></a> */"> <enum-value name="Version" doc="/** <p>1</p> */"/> </enum> <enum name="StyleOptionType" doc="/** <p>This enum is used to hold information about the type of the style option, and is defined for each <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass.</p> <p>The type is used internally by <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a>, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own <a href="QStyleOption.html#QStyleOption(int, int)"><tt>QStyleOption</tt></a> subclass and your own styles.</p> @see <a href="QStyleOptionTabBarBase.html#StyleOptionVersion-enum"><tt>StyleOptionVersion</tt></a> */"> <enum-value name="Type" doc="/** <p>The type of style option provided (<a href="QStyleOption.html#OptionType-enum"><tt>SO_TabBarBase</tt></a> for this class).</p> */"/> </enum> <method name="public final com.trolltech.qt.core.QRect selectedTabRect()" doc="/** <p>Returns the rectangle containing the selected tab.</p> <p>This rectangle is contained within the <a href="QStyleOptionTabBarBase.html#tabBarRect()"><tt>tabBarRect</tt></a>. The default value is a null rectangle, i.e&#x2e; a rectangle with both the width and the height set to 0.</p> @see <a href="QStyleOptionTabBarBase.html#setSelectedTabRect(com.trolltech.qt.core.QRect)"><tt>setSelectedTabRect</tt></a> */"/> <method name="public final void setSelectedTabRect(com.trolltech.qt.core.QRect selectedTabRect)" doc="/** <p>Sets the rectangle containing the selected tab to <tt>selectedTabRect</tt>.</p> <p>This rectangle is contained within the <a href="QStyleOptionTabBarBase.html#tabBarRect()"><tt>tabBarRect</tt></a>. The default value is a null rectangle, i.e&#x2e; a rectangle with both the width and the height set to 0.</p> @see <a href="QStyleOptionTabBarBase.html#selectedTabRect()"><tt>selectedTabRect</tt></a> */"/> <method name="public final com.trolltech.qt.gui.QTabBar.Shape shape()" doc="/** <p>Returns the shape of the tab bar.</p> <p>The default value is QTabBar::RoundedNorth.</p> @see <a href="QStyleOptionTabBarBase.html#setShape(com.trolltech.qt.gui.QTabBar.Shape)"><tt>setShape</tt></a> */"/> <method name="public final void setShape(com.trolltech.qt.gui.QTabBar.Shape shape)" doc="/** <p>Sets the shape of the tab bar to <tt>shape</tt>.</p> <p>The default value is QTabBar::RoundedNorth.</p> @see <a href="QStyleOptionTabBarBase.html#shape()"><tt>shape</tt></a> */"/> <method name="public final com.trolltech.qt.core.QRect tabBarRect()" doc="/** <p>Returns the rectangle containing all the tabs.</p> <p>The default value is a null rectangle, i.e&#x2e; a rectangle with both the width and the height set to 0.</p> @see <a href="QStyleOptionTabBarBase.html#setTabBarRect(com.trolltech.qt.core.QRect)"><tt>setTabBarRect</tt></a> */"/> <method name="public final void setTabBarRect(com.trolltech.qt.core.QRect tabBarRect)" doc="/** <p>Sets the rectangle containing all the tabs to <tt>tabBarRect</tt>.</p> <p>The default value is a null rectangle, i.e&#x2e; a rectangle with both the width and the height set to 0.</p> @see <a href="QStyleOptionTabBarBase.html#tabBarRect()"><tt>tabBarRect</tt></a> */"/> </class>