Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2252

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

<class name="QStyleOptionTabBarBase" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionTabBarBase.html#QStyleOptionTabBarBase(int)&quot;&gt;&lt;tt&gt;QStyleOptionTabBarBase&lt;/tt&gt;&lt;/a&gt; class is used to describe the base of a tab bar, i.e&amp;#x2e; the part that the tab bar usually overlaps with.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleOptionTabBarBase.html#QStyleOptionTabBarBase(int)&quot;&gt;&lt;tt&gt;QStyleOptionTabBarBase&lt;/tt&gt;&lt;/a&gt; contains all the information that &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; functions need to draw the tab bar base. Note that this is only drawn for a standalone &lt;a href=&quot;QTabBar.html&quot;&gt;&lt;tt&gt;QTabBar&lt;/tt&gt;&lt;/a&gt; (one that isn't part of a &lt;a href=&quot;QTabWidget.html&quot;&gt;&lt;tt&gt;QTabWidget&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;For performance reasons, the access to the member variables is direct (i.e&amp;#x2e;, using the &lt;tt&gt;.&lt;/tt&gt; or &lt;tt&gt;-&amp;gt;&lt;/tt&gt; operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.&lt;/p&gt;
&lt;p&gt;For an example demonstrating how style options can be used, see the Styles&lt;/tt&gt; example.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QTabBar::drawBase&lt;/tt&gt; */">
    <method name="public QStyleOptionTabBarBase(com.trolltech.qt.gui.QStyleOptionTabBarBase other)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;other&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionTabBarBase()" doc="/**
&lt;p&gt;Construct a &lt;a href=&quot;QStyleOptionTabBarBase.html#QStyleOptionTabBarBase(int)&quot;&gt;&lt;tt&gt;QStyleOptionTabBarBase&lt;/tt&gt;&lt;/a&gt;, initializing the members vaiables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionTabBarBase(int version)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <enum name="StyleOptionVersion" doc="/**
&lt;p&gt;This enum is used to hold information about the version of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The version is used by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#StyleOptionType-enum&quot;&gt;&lt;tt&gt;StyleOptionType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Version" doc="/**
&lt;p&gt;1&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionType" doc="/**
&lt;p&gt;This enum is used to hold information about the type of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;, 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 &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass and your own styles.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#StyleOptionVersion-enum&quot;&gt;&lt;tt&gt;StyleOptionVersion&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The type of style option provided (&lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_TabBarBase&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final com.trolltech.qt.core.QRect selectedTabRect()" doc="/**
&lt;p&gt;Returns the rectangle containing the selected tab.&lt;/p&gt;
&lt;p&gt;This rectangle is contained within the &lt;a href=&quot;QStyleOptionTabBarBase.html#tabBarRect()&quot;&gt;&lt;tt&gt;tabBarRect&lt;/tt&gt;&lt;/a&gt;. The default value is a null rectangle, i.e&amp;#x2e; a rectangle with both the width and the height set to 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#setSelectedTabRect(com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;setSelectedTabRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSelectedTabRect(com.trolltech.qt.core.QRect selectedTabRect)" doc="/**
&lt;p&gt;Sets the rectangle containing the selected tab to &lt;tt&gt;selectedTabRect&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This rectangle is contained within the &lt;a href=&quot;QStyleOptionTabBarBase.html#tabBarRect()&quot;&gt;&lt;tt&gt;tabBarRect&lt;/tt&gt;&lt;/a&gt;. The default value is a null rectangle, i.e&amp;#x2e; a rectangle with both the width and the height set to 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#selectedTabRect()&quot;&gt;&lt;tt&gt;selectedTabRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTabBar.Shape shape()" doc="/**
&lt;p&gt;Returns the shape of the tab bar.&lt;/p&gt;
&lt;p&gt;The default value is QTabBar::RoundedNorth.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#setShape(com.trolltech.qt.gui.QTabBar.Shape)&quot;&gt;&lt;tt&gt;setShape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setShape(com.trolltech.qt.gui.QTabBar.Shape shape)" doc="/**
&lt;p&gt;Sets the shape of the tab bar to &lt;tt&gt;shape&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is QTabBar::RoundedNorth.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect tabBarRect()" doc="/**
&lt;p&gt;Returns the rectangle containing all the tabs.&lt;/p&gt;
&lt;p&gt;The default value is a null rectangle, i.e&amp;#x2e; a rectangle with both the width and the height set to 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#setTabBarRect(com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;setTabBarRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTabBarRect(com.trolltech.qt.core.QRect tabBarRect)" doc="/**
&lt;p&gt;Sets the rectangle containing all the tabs to &lt;tt&gt;tabBarRect&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is a null rectangle, i.e&amp;#x2e; a rectangle with both the width and the height set to 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionTabBarBase.html#tabBarRect()&quot;&gt;&lt;tt&gt;tabBarRect&lt;/tt&gt;&lt;/a&gt; */"/>
</class>