<class name="QStyleOptionFrame" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionFrame.html#QStyleOptionFrame(int)&quot;&gt;&lt;tt&gt;QStyleOptionFrame&lt;/tt&gt;&lt;/a&gt; class is used to describe the parameters for drawing a frame.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleOptionFrame.html#QStyleOptionFrame(int)&quot;&gt;&lt;tt&gt;QStyleOptionFrame&lt;/tt&gt;&lt;/a&gt; is used for drawing several built-in Qt widgets, including &lt;a href=&quot;QFrame.html&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGroupBox.html&quot;&gt;&lt;tt&gt;QGroupBox&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;. Note that to describe the parameters necessary for drawing a frame in Qt 4.1 or above, you must use the &lt;a href=&quot;QStyleOptionFrameV2.html&quot;&gt;&lt;tt&gt;QStyleOptionFrameV2&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;An instance of the &lt;a href=&quot;QStyleOptionFrame.html#QStyleOptionFrame(int)&quot;&gt;&lt;tt&gt;QStyleOptionFrame&lt;/tt&gt;&lt;/a&gt; class has &lt;a href=&quot;QStyleOption.html#type()&quot;&gt;type&lt;/tt&gt;&lt;/a&gt; &lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_Frame&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QStyleOption.html#version()&quot;&gt;version&lt;/tt&gt;&lt;/a&gt; 1.&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. 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;
&lt;p&gt;If you create your own &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; subclass, you should handle both &lt;a href=&quot;QStyleOptionFrame.html#QStyleOptionFrame(int)&quot;&gt;&lt;tt&gt;QStyleOptionFrame&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QStyleOptionFrameV2.html&quot;&gt;&lt;tt&gt;QStyleOptionFrameV2&lt;/tt&gt;&lt;/a&gt;.&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;QStyleOptionFrameV2.html&quot;&gt;&lt;tt&gt;QStyleOptionFrameV2&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionFrame(com.trolltech.qt.gui.QStyleOptionFrame other)" doc="/**
&lt;p&gt;Constructs a copy of the &lt;tt&gt;other&lt;/tt&gt; style option.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionFrame()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleOptionFrame.html#QStyleOptionFrame(int)&quot;&gt;&lt;tt&gt;QStyleOptionFrame&lt;/tt&gt;&lt;/a&gt;, initializing the members variables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionFrame(int version)" doc="/**
&lt;p&gt;&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;QStyleOptionFrame.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;QStyleOptionFrame.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_Frame&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int lineWidth()" doc="/**
&lt;p&gt;Returns the line width for drawing the frame.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionFrame.html#setLineWidth(int)&quot;&gt;&lt;tt&gt;setLineWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFrame::lineWidth&lt;/tt&gt; */"/>
    <method name="public final void setLineWidth(int lineWidth)" doc="/**
&lt;p&gt;Sets the line width for drawing the frame to &lt;tt&gt;lineWidth&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;tt&gt;QFrame::lineWidth&lt;/tt&gt; */"/>
    <method name="public final int midLineWidth()" doc="/**
&lt;p&gt;Returns the mid-line width for drawing the frame.&lt;/p&gt;
&lt;p&gt;This is usually used in drawing sunken or raised frames.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionFrame.html#setMidLineWidth(int)&quot;&gt;&lt;tt&gt;setMidLineWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFrame::midLineWidth&lt;/tt&gt; */"/>
    <method name="public final void setMidLineWidth(int midLineWidth)" doc="/**
&lt;p&gt;Sets the mid-line width for drawing the frame to &lt;tt&gt;midLineWidth&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This is usually used in drawing sunken or raised frames.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;tt&gt;QFrame::midLineWidth&lt;/tt&gt; */"/>
</class>
