<class name="QSizePolicy" doc="/**
&lt;p&gt;The &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; class is a layout attribute describing horizontal and vertical resizing policy.&lt;/p&gt;
&lt;p&gt;The size policy of a widget is an expression of its willingness to be resized in various ways, and affects how the widget is treated by the layout engine&lt;/tt&gt;. Widgets that reimplement QWidget::sizePolicy() return a &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; that describes the horizontal and vertical resizing policy they prefer when being laid out.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; contains two independent QSizePolicy::Policy values and two stretch factors; one describes the widgets's horizontal size policy, and the other describes its vertical size policy. It also contains a flag to indicate whether the height and width of its preferred size are related.&lt;/p&gt;
&lt;p&gt;The horizontal and vertical policies can be set in the constructor, and altered using the &lt;a href=&quot;QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setHorizontalPolicy&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setVerticalPolicy&lt;/tt&gt;&lt;/a&gt; functions. The stretch factors can be set using the &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt; functions. The flag indicating whether the widget's sizeHint() is width-dependent (such as a menu bar or a word-wrapping label) can be set using the &lt;a href=&quot;QSizePolicy.html#setHeightForWidth(boolean)&quot;&gt;&lt;tt&gt;setHeightForWidth&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The current size policies and stretch factors be retrieved using the &lt;a href=&quot;QSizePolicy.html#horizontalPolicy()&quot;&gt;&lt;tt&gt;horizontalPolicy&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QSizePolicy.html#verticalPolicy()&quot;&gt;&lt;tt&gt;verticalPolicy&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QSizePolicy.html#horizontalStretch()&quot;&gt;&lt;tt&gt;horizontalStretch&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QSizePolicy.html#verticalStretch()&quot;&gt;&lt;tt&gt;verticalStretch&lt;/tt&gt;&lt;/a&gt; functions. Alternatively, use the &lt;a href=&quot;QSizePolicy.html#transpose()&quot;&gt;&lt;tt&gt;transpose&lt;/tt&gt;&lt;/a&gt; function to swap the horizontal and vertical policies and stretches. The &lt;a href=&quot;QSizePolicy.html#hasHeightForWidth()&quot;&gt;&lt;tt&gt;hasHeightForWidth&lt;/tt&gt;&lt;/a&gt; function returns the current status of the flag indicating the size hint dependencies.&lt;/p&gt;
&lt;p&gt;Use the &lt;a href=&quot;QSizePolicy.html#expandingDirections()&quot;&gt;&lt;tt&gt;expandingDirections&lt;/tt&gt;&lt;/a&gt; function to determine whether the associated widget can make use of more space than its sizeHint() function indicates, as well as find out in which directions it can expand.&lt;/p&gt;
&lt;p&gt;Finally, the &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; class provides operators comparing this size policy to a given policy, as well as a &lt;a href=&quot;%2E%2E/porting4.html#qvariant&quot;&gt;&lt;tt&gt;QVariant&lt;/tt&gt;&lt;/a&gt; operator storing this &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; as a &lt;a href=&quot;%2E%2E/porting4.html#qvariant&quot;&gt;&lt;tt&gt;QVariant&lt;/tt&gt;&lt;/a&gt; object.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/core/QSize.html&quot;&gt;&lt;tt&gt;QSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QWidget::sizeHint&lt;/tt&gt;
@see &lt;tt&gt;QWidget::sizePolicy&lt;/tt&gt;
@see &lt;tt&gt;QLayoutItem::sizeHint&lt;/tt&gt; */">
    <method name="public QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy horizontal, com.trolltech.qt.gui.QSizePolicy.Policy vertical, com.trolltech.qt.gui.QSizePolicy.ControlType type)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; object with the given &lt;tt&gt;horizontal&lt;/tt&gt; and &lt;tt&gt;vertical&lt;/tt&gt; policies, and the specified control &lt;tt&gt;type&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Use &lt;a href=&quot;QSizePolicy.html#setHeightForWidth(boolean)&quot;&gt;&lt;tt&gt;setHeightForWidth&lt;/tt&gt;&lt;/a&gt; if the preferred height of the widget is dependent on the width of the widget (for example, a &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt; with line wrapping).&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#controlType()&quot;&gt;&lt;tt&gt;controlType&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QSizePolicy()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; object with &lt;a href=&quot;QSizePolicy.html#Policy-enum&quot;&gt;Fixed&lt;/tt&gt;&lt;/a&gt; as its horizontal and vertical policies.&lt;/p&gt;
&lt;p&gt;The policies can be altered using the &lt;a href=&quot;QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setHorizontalPolicy&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setVerticalPolicy&lt;/tt&gt;&lt;/a&gt; functions. Use the &lt;a href=&quot;QSizePolicy.html#setHeightForWidth(boolean)&quot;&gt;&lt;tt&gt;setHeightForWidth&lt;/tt&gt;&lt;/a&gt; function if the preferred height of the widget is dependent on the width of the widget (for example, a &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt; with line wrapping).&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy horizontal, com.trolltech.qt.gui.QSizePolicy.Policy vertical)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt; object with the given &lt;tt&gt;horizontal&lt;/tt&gt; and &lt;tt&gt;vertical&lt;/tt&gt; policies, and &lt;a href=&quot;QSizePolicy.html#ControlType-enum&quot;&gt;&lt;tt&gt;DefaultType&lt;/tt&gt;&lt;/a&gt; as the control type.&lt;/p&gt;
&lt;p&gt;Use &lt;a href=&quot;QSizePolicy.html#setHeightForWidth(boolean)&quot;&gt;&lt;tt&gt;setHeightForWidth&lt;/tt&gt;&lt;/a&gt; if the preferred height of the widget is dependent on the width of the widget (for example, a &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt; with line wrapping).&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QSizePolicy.ControlType controlType()" doc="/**
&lt;p&gt;Returns the control type associated with the widget for which this size policy applies.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setControlType(com.trolltech.qt.gui.QSizePolicy.ControlType)&quot;&gt;&lt;tt&gt;setControlType&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Orientations expandingDirections()" doc="/**
&lt;p&gt;Returns whether a widget can make use of more space than the QWidget::sizeHint() function indicates.&lt;/p&gt;
&lt;p&gt;A value of Qt::Horizontal or Qt::Vertical means that the widget can grow horizontally or vertically (i.e&amp;#x2e;, the horizontal or vertical policy is &lt;a href=&quot;QSizePolicy.html#Policy-enum&quot;&gt;Expanding&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QSizePolicy.html#Policy-enum&quot;&gt;&lt;tt&gt;MinimumExpanding&lt;/tt&gt;&lt;/a&gt;), whereas Qt::Horizontal | Qt::Vertical means that it can grow in both dimensions.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#horizontalPolicy()&quot;&gt;&lt;tt&gt;horizontalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#verticalPolicy()&quot;&gt;&lt;tt&gt;verticalPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean hasHeightForWidth()" doc="/**
&lt;p&gt;Returns true if the widget's preferred height depends on its width; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setHeightForWidth(boolean)&quot;&gt;&lt;tt&gt;setHeightForWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QSizePolicy.Policy horizontalPolicy()" doc="/**
&lt;p&gt;Returns the horizontal component of the size policy.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setHorizontalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#verticalPolicy()&quot;&gt;&lt;tt&gt;verticalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#horizontalStretch()&quot;&gt;&lt;tt&gt;horizontalStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int horizontalStretch()" doc="/**
&lt;p&gt;Returns the horizontal stretch factor of the size policy.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#verticalStretch()&quot;&gt;&lt;tt&gt;verticalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#horizontalPolicy()&quot;&gt;&lt;tt&gt;horizontalPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeTo(com.trolltech.qt.core.QDataStream arg__1)"/>
    <method name="public final void readFrom(com.trolltech.qt.core.QDataStream arg__1)"/>
    <method name="public final void setControlType(com.trolltech.qt.gui.QSizePolicy.ControlType type)" doc="/**
&lt;p&gt;Sets the control type associated with the widget for which this size policy applies to &lt;tt&gt;type&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The control type specifies the type of the widget for which this size policy applies. It is used by some styles, notably QMacStyle, to insert proper spacing between widgets. For example, the Mac OS X Aqua guidelines specify that push buttons should be separated by 12 pixels, whereas vertically stacked radio buttons only require 6 pixels.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#controlType()&quot;&gt;&lt;tt&gt;controlType&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::layoutSpacing&lt;/tt&gt; */"/>
    <method name="public final void setHeightForWidth(boolean b)" doc="/**
&lt;p&gt;Sets the flag determining whether the widget's preferred height depends on its width, to &lt;tt&gt;b&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#hasHeightForWidth()&quot;&gt;&lt;tt&gt;hasHeightForWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy d)" doc="/**
&lt;p&gt;Sets the horizontal component to the given &lt;tt&gt;d&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#horizontalPolicy()&quot;&gt;&lt;tt&gt;horizontalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setVerticalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHorizontalStretch(byte stretchFactor)" doc="/**
&lt;p&gt;Sets the horizontal stretch factor of the size policy to the given &lt;tt&gt;stretchFactor&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#horizontalStretch()&quot;&gt;&lt;tt&gt;horizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setHorizontalPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy d)" doc="/**
&lt;p&gt;Sets the vertical component to the given &lt;tt&gt;d&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#verticalPolicy()&quot;&gt;&lt;tt&gt;verticalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setHorizontalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalStretch(byte stretchFactor)" doc="/**
&lt;p&gt;Sets the vertical stretch factor of the size policy to the given &lt;tt&gt;stretchFactor&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#verticalStretch()&quot;&gt;&lt;tt&gt;verticalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setHorizontalStretch(byte)&quot;&gt;&lt;tt&gt;setHorizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setVerticalPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void transpose()" doc="/**
&lt;p&gt;Swaps the horizontal and vertical policies and stretches.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QSizePolicy.Policy verticalPolicy()" doc="/**
&lt;p&gt;Returns the vertical component of the size policy.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setVerticalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#horizontalPolicy()&quot;&gt;&lt;tt&gt;horizontalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#verticalStretch()&quot;&gt;&lt;tt&gt;verticalStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int verticalStretch()" doc="/**
&lt;p&gt;Returns the vertical stretch factor of the size policy.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setVerticalStretch(byte)&quot;&gt;&lt;tt&gt;setVerticalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#horizontalStretch()&quot;&gt;&lt;tt&gt;horizontalStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#verticalPolicy()&quot;&gt;&lt;tt&gt;verticalPolicy&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="ControlType" doc="/**
&lt;p&gt;This enum specifies the different types of widgets in terms of layout interaction:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;DefaultType&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The default type, when none is specified.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ButtonBox&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QDialogButtonBox.html&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;CheckBox&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;4&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QCheckBox.html&quot;&gt;&lt;tt&gt;QCheckBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ComboBox&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;8&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QComboBox.html&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Frame&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;16&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QFrame.html&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;GroupBox&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;32&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QGroupBox.html&quot;&gt;&lt;tt&gt;QGroupBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Label&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;64&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Line&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;128&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QFrame.html&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt; instance with QFrame::HLine or QFrame::VLine.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;LineEdit&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;256&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;PushButton&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;512&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QPushButton.html&quot;&gt;&lt;tt&gt;QPushButton&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;RadioButton&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1024&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QRadioButton.html&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;Slider&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2048&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QAbstractSlider.html&quot;&gt;&lt;tt&gt;QAbstractSlider&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;SpinBox&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;4096&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QAbstractSpinBox.html&quot;&gt;&lt;tt&gt;QAbstractSpinBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;TabWidget&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;8192&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QTabWidget.html&quot;&gt;&lt;tt&gt;QTabWidget&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ToolButton&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;16384&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt; instance.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#setControlType(com.trolltech.qt.gui.QSizePolicy.ControlType)&quot;&gt;&lt;tt&gt;setControlType&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#controlType()&quot;&gt;&lt;tt&gt;controlType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="DefaultType" doc="/**
&lt;p&gt;The default type, when none is specified.&lt;/p&gt;
 */"/>
        <enum-value name="ButtonBox" doc="/**
&lt;p&gt;A &lt;a href=&quot;QDialogButtonBox.html&quot;&gt;&lt;tt&gt;QDialogButtonBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="CheckBox" doc="/**
&lt;p&gt;A &lt;a href=&quot;QCheckBox.html&quot;&gt;&lt;tt&gt;QCheckBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="ComboBox" doc="/**
&lt;p&gt;A &lt;a href=&quot;QComboBox.html&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="Frame" doc="/**
&lt;p&gt;A &lt;a href=&quot;QFrame.html&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="GroupBox" doc="/**
&lt;p&gt;A &lt;a href=&quot;QGroupBox.html&quot;&gt;&lt;tt&gt;QGroupBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="Label" doc="/**
&lt;p&gt;A &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="Line" doc="/**
&lt;p&gt;A &lt;a href=&quot;QFrame.html&quot;&gt;&lt;tt&gt;QFrame&lt;/tt&gt;&lt;/a&gt; instance with QFrame::HLine or QFrame::VLine.&lt;/p&gt;
 */"/>
        <enum-value name="LineEdit" doc="/**
&lt;p&gt;A &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="PushButton" doc="/**
&lt;p&gt;A &lt;a href=&quot;QPushButton.html&quot;&gt;&lt;tt&gt;QPushButton&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="RadioButton" doc="/**
&lt;p&gt;A &lt;a href=&quot;QRadioButton.html&quot;&gt;&lt;tt&gt;QRadioButton&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="Slider" doc="/**
&lt;p&gt;A &lt;a href=&quot;QAbstractSlider.html&quot;&gt;&lt;tt&gt;QAbstractSlider&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="SpinBox" doc="/**
&lt;p&gt;A &lt;a href=&quot;QAbstractSpinBox.html&quot;&gt;&lt;tt&gt;QAbstractSpinBox&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="TabWidget" doc="/**
&lt;p&gt;A &lt;a href=&quot;QTabWidget.html&quot;&gt;&lt;tt&gt;QTabWidget&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
        <enum-value name="ToolButton" doc="/**
&lt;p&gt;A &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt; instance.&lt;/p&gt;
 */"/>
</enum>
    <enum name="PolicyFlag" doc="/**
&lt;p&gt;These flags are combined together to form the various &lt;a href=&quot;QSizePolicy.html#Policy-enum&quot;&gt;Policy&lt;/tt&gt;&lt;/a&gt; values:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;GrowFlag&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The widget can grow beyond its size hint if necessary.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ExpandFlag&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The widget should get as much space as possible.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ShrinkFlag&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;4&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The widget can shrink below its size hint if necessary.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;IgnoreFlag&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;8&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The widget's size hint is ignored. The widget will get as much space as possible.&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#Policy-enum&quot;&gt;Policy&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="GrowFlag" doc="/**
&lt;p&gt;The widget can grow beyond its size hint if necessary.&lt;/p&gt;
 */"/>
        <enum-value name="ExpandFlag" doc="/**
&lt;p&gt;The widget should get as much space as possible.&lt;/p&gt;
 */"/>
        <enum-value name="ShrinkFlag" doc="/**
&lt;p&gt;The widget can shrink below its size hint if necessary.&lt;/p&gt;
 */"/>
        <enum-value name="IgnoreFlag" doc="/**
&lt;p&gt;The widget's size hint is ignored. The widget will get as much space as possible.&lt;/p&gt;
 */"/>
</enum>
    <enum name="Policy" doc="/**
&lt;p&gt;This enum describes the various per-dimension sizing types used when constructing a &lt;a href=&quot;QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;QSizePolicy&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QSizePolicy.html#PolicyFlag-enum&quot;&gt;&lt;tt&gt;PolicyFlag&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setHorizontalPolicy&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)&quot;&gt;&lt;tt&gt;setVerticalPolicy&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Fixed" doc="/**
&lt;p&gt;The QWidget::sizeHint() is the only acceptable alternative, so the widget can never grow or shrink (e.g&amp;#x2e; the vertical direction of a push button).&lt;/p&gt;
 */"/>
        <enum-value name="Minimum" doc="/**
&lt;p&gt;The sizeHint() is minimal, and sufficient. The widget can be expanded, but there is no advantage to it being larger (e.g&amp;#x2e; the horizontal direction of a push button). It cannot be smaller than the size provided by sizeHint().&lt;/p&gt;
 */"/>
        <enum-value name="Maximum" doc="/**
&lt;p&gt;The sizeHint() is a maximum. The widget can be shrunk any amount without detriment if other widgets need the space (e.g&amp;#x2e; a separator line). It cannot be larger than the size provided by sizeHint().&lt;/p&gt;
 */"/>
        <enum-value name="Preferred" doc="/**
&lt;p&gt;The sizeHint() is best, but the widget can be shrunk and still be useful. The widget can be expanded, but there is no advantage to it being larger than sizeHint() (the default &lt;a href=&quot;QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt; policy).&lt;/p&gt;
 */"/>
        <enum-value name="MinimumExpanding" doc="/**
&lt;p&gt;The sizeHint() is minimal, and sufficient. The widget can make use of extra space, so it should get as much space as possible (e.g&amp;#x2e; the horizontal direction of a horizontal slider).&lt;/p&gt;
 */"/>
        <enum-value name="Expanding" doc="/**
&lt;p&gt;The sizeHint() is a sensible size, but the widget can be shrunk and still be useful. The widget can make use of extra space, so it should get as much space as possible (e.g&amp;#x2e; the horizontal direction of a horizontal slider).&lt;/p&gt;
 */"/>
        <enum-value name="Ignored" doc="/**
&lt;p&gt;The sizeHint() is ignored. The widget will get as much space as possible.&lt;/p&gt;
 */"/>
</enum>
</class>
