<class name="QStyleOptionComboBox" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionComboBox.html#QStyleOptionComboBox(int)&quot;&gt;&lt;tt&gt;QStyleOptionComboBox&lt;/tt&gt;&lt;/a&gt; class is used to describe the parameter for drawing a combobox.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleOptionButton.html&quot;&gt;&lt;tt&gt;QStyleOptionButton&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 &lt;a href=&quot;QComboBox.html&quot;&gt;&lt;tt&gt;QComboBox&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;a href=&quot;QStyleOptionComplex.html#QStyleOptionComplex(int, int)&quot;&gt;&lt;tt&gt;QStyleOptionComplex&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QComboBox.html&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionComboBox(com.trolltech.qt.gui.QStyleOptionComboBox 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 QStyleOptionComboBox()" doc="/**
&lt;p&gt;Creates a &lt;a href=&quot;QStyleOptionComboBox.html#QStyleOptionComboBox(int)&quot;&gt;&lt;tt&gt;QStyleOptionComboBox&lt;/tt&gt;&lt;/a&gt;, initializing the members variables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionComboBox(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;QStyleOptionComboBox.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;QStyleOptionComboBox.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_ComboBox&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final java.lang.String currentText()" doc="/**
&lt;p&gt;Returns the text for the current item of the combo box.&lt;/p&gt;
&lt;p&gt;The default value is an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#setCurrentText(java.lang.String)&quot;&gt;&lt;tt&gt;setCurrentText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentText(java.lang.String currentText)" doc="/**
&lt;p&gt;Sets the text for the current item of the combo box to &lt;tt&gt;currentText&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#currentText()&quot;&gt;&lt;tt&gt;currentText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize iconSize()" doc="/**
&lt;p&gt;Returns the icon size for the current item of the combo box.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;%2E%2E/core/QSize.html&quot;&gt;&lt;tt&gt;QSize&lt;/tt&gt;&lt;/a&gt;(-1, -1), i.e&amp;#x2e; an invalid size.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#setIconSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setIconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIconSize(com.trolltech.qt.core.QSize iconSize)" doc="/**
&lt;p&gt;Sets the icon size for the current item of the combo box to &lt;tt&gt;iconSize&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;%2E%2E/core/QSize.html&quot;&gt;&lt;tt&gt;QSize&lt;/tt&gt;&lt;/a&gt;(-1, -1), i.e&amp;#x2e; an invalid size.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#iconSize()&quot;&gt;&lt;tt&gt;iconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean editable()" doc="/**
&lt;p&gt;Returns whether or not the combobox is editable or not.&lt;/p&gt;
&lt;p&gt;the default value is false&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#setEditable(boolean)&quot;&gt;&lt;tt&gt;setEditable&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QComboBox::isEditable&lt;/tt&gt; */"/>
    <method name="public final void setEditable(boolean editable)" doc="/**
&lt;p&gt;Sets whether or not the combobox is editable or not to &lt;tt&gt;editable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;the default value is false&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#editable()&quot;&gt;&lt;tt&gt;editable&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QComboBox::isEditable&lt;/tt&gt; */"/>
    <method name="public final boolean frame()" doc="/**
&lt;p&gt;Returns whether the combo box has a frame.&lt;/p&gt;
&lt;p&gt;The default value is true.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#setFrame(boolean)&quot;&gt;&lt;tt&gt;setFrame&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFrame(boolean frame)" doc="/**
&lt;p&gt;Sets whether the combo box has a frame to &lt;tt&gt;frame&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is true.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#frame()&quot;&gt;&lt;tt&gt;frame&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect popupRect()" doc="/**
&lt;p&gt;Returns the popup rectangle for the combobox.&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;
&lt;p&gt;This variable is currently unused. You can safely ignore it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#setPopupRect(com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;setPopupRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SC_ComboBoxListBoxPopup&lt;/tt&gt; */"/>
    <method name="public final void setPopupRect(com.trolltech.qt.core.QRect popupRect)" doc="/**
&lt;p&gt;Sets the popup rectangle for the combobox to &lt;tt&gt;popupRect&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;
&lt;p&gt;This variable is currently unused. You can safely ignore it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#popupRect()&quot;&gt;&lt;tt&gt;popupRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::SC_ComboBoxListBoxPopup&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QIcon currentIcon()" doc="/**
&lt;p&gt;Returns the icon for the current item of the combo box.&lt;/p&gt;
&lt;p&gt;The default value is an empty icon, i.e&amp;#x2e; an icon with neither a pixmap nor a filename.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionComboBox.html#setCurrentIcon(com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setCurrentIcon&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCurrentIcon(com.trolltech.qt.gui.QIcon currentIcon)" doc="/**
&lt;p&gt;Sets the icon for the current item of the combo box to &lt;tt&gt;currentIcon&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default value is an empty icon, i.e&amp;#x2e; an icon with neither a pixmap nor a filename.&lt;/p&gt;

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