<class name="QStyleOptionTabWidgetFrame" doc="/** <p>The <a href="QStyleOptionTabWidgetFrame.html#QStyleOptionTabWidgetFrame(int)"><tt>QStyleOptionTabWidgetFrame</tt></a> class is used to describe the parameters for drawing the frame around a tab widget.</p> <p><a href="QStyleOptionTabWidgetFrame.html#QStyleOptionTabWidgetFrame(int)"><tt>QStyleOptionTabWidgetFrame</tt></a> contains all the information that <a href="QStyle.html"><tt>QStyle</tt></a> functions need to draw the frame around <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 <a href="QTabWidget.html"><tt>QTabWidget</tt></a> */"> <method name="public QStyleOptionTabWidgetFrame(com.trolltech.qt.gui.QStyleOptionTabWidgetFrame other)" doc="/** <p>Constructs a copy of <tt>other</tt>.</p> */"/> <method name="public QStyleOptionTabWidgetFrame()" doc="/** <p>Constructs a <a href="QStyleOptionTabWidgetFrame.html#QStyleOptionTabWidgetFrame(int)"><tt>QStyleOptionTabWidgetFrame</tt></a>, initializing the members variables to their default values.</p> */"/> <method name="protected QStyleOptionTabWidgetFrame(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="QStyleOptionTabWidgetFrame.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="QStyleOptionTabWidgetFrame.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_TabWidgetFrame</tt></a> for this class).</p> */"/> </enum> <method name="public final int lineWidth()" doc="/** <p>Returns the line width for drawing the panel.</p> <p>The default value is 0.</p> @see <a href="QStyleOptionTabWidgetFrame.html#setLineWidth(int)"><tt>setLineWidth</tt></a> */"/> <method name="public final void setLineWidth(int lineWidth)" doc="/** <p>Sets the line width for drawing the panel to <tt>lineWidth</tt>.</p> <p>The default value is 0.</p> @see <a href="QStyleOptionTabWidgetFrame.html#lineWidth()"><tt>lineWidth</tt></a> */"/> <method name="public final com.trolltech.qt.core.QSize rightCornerWidgetSize()" doc="/** <p>Returns the size of the right-corner widget.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e&#x2e; an invalid size.</p> @see <a href="QStyleOptionTabWidgetFrame.html#setRightCornerWidgetSize(com.trolltech.qt.core.QSize)"><tt>setRightCornerWidgetSize</tt></a> */"/> <method name="public final void setRightCornerWidgetSize(com.trolltech.qt.core.QSize rightCornerWidgetSize)" doc="/** <p>Sets the size of the right-corner widget to <tt>rightCornerWidgetSize</tt>.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e&#x2e; an invalid size.</p> @see <a href="QStyleOptionTabWidgetFrame.html#rightCornerWidgetSize()"><tt>rightCornerWidgetSize</tt></a> */"/> <method name="public final com.trolltech.qt.core.QSize tabBarSize()" doc="/** <p>Returns the size of the tab bar.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e&#x2e; an invalid size.</p> @see <a href="QStyleOptionTabWidgetFrame.html#setTabBarSize(com.trolltech.qt.core.QSize)"><tt>setTabBarSize</tt></a> */"/> <method name="public final void setTabBarSize(com.trolltech.qt.core.QSize tabBarSize)" doc="/** <p>Sets the size of the tab bar to <tt>tabBarSize</tt>.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e&#x2e; an invalid size.</p> @see <a href="QStyleOptionTabWidgetFrame.html#tabBarSize()"><tt>tabBarSize</tt></a> */"/> <method name="public final com.trolltech.qt.gui.QTabBar.Shape shape()" doc="/** <p>Returns the tab shape used to draw the tabs.</p> <p>The default value is QTabBar::RoundedNorth.</p> @see <a href="QStyleOptionTabWidgetFrame.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 tab shape used to draw the tabs to <tt>shape</tt>.</p> <p>The default value is QTabBar::RoundedNorth.</p> @see <a href="QStyleOptionTabWidgetFrame.html#shape()"><tt>shape</tt></a> */"/> <method name="public final int midLineWidth()" doc="/** <p>Returns the mid-line width for drawing the panel.</p> <p>The mid line width is usually used in drawing sunken or raised frames. The default value is 0.</p> @see <a href="QStyleOptionTabWidgetFrame.html#setMidLineWidth(int)"><tt>setMidLineWidth</tt></a> */"/> <method name="public final void setMidLineWidth(int midLineWidth)" doc="/** <p>Sets the mid-line width for drawing the panel to <tt>midLineWidth</tt>.</p> <p>The mid line width is usually used in drawing sunken or raised frames. The default value is 0.</p> @see <a href="QStyleOptionTabWidgetFrame.html#midLineWidth()"><tt>midLineWidth</tt></a> */"/> <method name="public final com.trolltech.qt.core.QSize leftCornerWidgetSize()" doc="/** <p>Returns the size of the left-corner widget.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e&#x2e; an invalid size.</p> @see <a href="QStyleOptionTabWidgetFrame.html#setLeftCornerWidgetSize(com.trolltech.qt.core.QSize)"><tt>setLeftCornerWidgetSize</tt></a> */"/> <method name="public final void setLeftCornerWidgetSize(com.trolltech.qt.core.QSize leftCornerWidgetSize)" doc="/** <p>Sets the size of the left-corner widget to <tt>leftCornerWidgetSize</tt>.</p> <p>The default value is <a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>(-1, -1), i.e&#x2e; an invalid size.</p> @see <a href="QStyleOptionTabWidgetFrame.html#leftCornerWidgetSize()"><tt>leftCornerWidgetSize</tt></a> */"/> </class>