Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 719

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:03:46 CEST 2007 -->
<TITLE>
QSizePolicy
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QSizePolicy class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QSizePolicy";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizeGrip.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QSizePolicy.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QSizePolicy.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.gui</FONT>
<BR>
Class QSizePolicy</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QSizePolicy</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QSizePolicy</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> class is a layout attribute describing horizontal and vertical resizing policy.</p>
<p>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</tt>. Widgets that reimplement QWidget::sizePolicy() return a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> that describes the horizontal and vertical resizing policy they prefer when being laid out.</p>
<p><a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> 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.</p>
<p>The horizontal and vertical policies can be set in the constructor, and altered using the <a href="QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setHorizontalPolicy</tt></a> and <a href="QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setVerticalPolicy</tt></a> functions. The stretch factors can be set using the <a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a> and <a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a> 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 <a href="QSizePolicy.html#setHeightForWidth(boolean)"><tt>setHeightForWidth</tt></a> function.</p>
<p>The current size policies and stretch factors be retrieved using the <a href="QSizePolicy.html#horizontalPolicy()"><tt>horizontalPolicy</tt></a>, <a href="QSizePolicy.html#verticalPolicy()"><tt>verticalPolicy</tt></a>, <a href="QSizePolicy.html#horizontalStretch()"><tt>horizontalStretch</tt></a> and <a href="QSizePolicy.html#verticalStretch()"><tt>verticalStretch</tt></a> functions. Alternatively, use the <a href="QSizePolicy.html#transpose()"><tt>transpose</tt></a> function to swap the horizontal and vertical policies and stretches. The <a href="QSizePolicy.html#hasHeightForWidth()"><tt>hasHeightForWidth</tt></a> function returns the current status of the flag indicating the size hint dependencies.</p>
<p>Use the <a href="QSizePolicy.html#expandingDirections()"><tt>expandingDirections</tt></a> 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.</p>
<p>Finally, the <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> class provides operators comparing this size policy to a given policy, as well as a <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> operator storing this <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> as a <a href="%2E%2E/porting4.html#qvariant"><tt>QVariant</tt></a> object.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/core/QSize.html"><tt>QSize</tt></a>, 
<tt>QWidget::sizeHint</tt>, 
<tt>QWidget::sizePolicy</tt>, 
<tt>QLayoutItem::sizeHint</tt></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum specifies the different types of widgets in terms of layout interaction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This QFlag class provides flags for the int enum.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the various per-dimension sizing types used when constructing a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.PolicyFlag.html" title="enum in com.trolltech.qt.gui">QSizePolicy.PolicyFlag</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;These flags are combined together to form the various <a href="QSizePolicy.html#Policy-enum">Policy</tt></a> values:</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#QSizePolicy()">QSizePolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> object with <a href="QSizePolicy.html#Policy-enum">Fixed</tt></a> as its horizontal and vertical policies.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)">QSizePolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;horizontal,
            <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;vertical)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> object with the given <tt>horizontal</tt> and <tt>vertical</tt> policies, and <a href="QSizePolicy.html#ControlType-enum"><tt>DefaultType</tt></a> as the control type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.ControlType)">QSizePolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;horizontal,
            <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;vertical,
            <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> object with the given <tt>horizontal</tt> and <tt>vertical</tt> policies, and the specified control <tt>type</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#controlType()">controlType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the control type associated with the widget for which this size policy applies.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/Qt.Orientations.html" title="class in com.trolltech.qt.core">Qt.Orientations</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#expandingDirections()">expandingDirections</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether a widget can make use of more space than the QWidget::sizeHint() function indicates.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QSizePolicy instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#hasHeightForWidth()">hasHeightForWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the widget's preferred height depends on its width; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#horizontalPolicy()">horizontalPolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal component of the size policy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#horizontalStretch()">horizontalStretch</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal stretch factor of the size policy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#nativePointerArray(com.trolltech.qt.gui.QSizePolicy[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QSizePolicy array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QSizePolicy from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#setControlType(com.trolltech.qt.gui.QSizePolicy.ControlType)">setControlType</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the control type associated with the widget for which this size policy applies to <tt>type</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#setHeightForWidth(boolean)">setHeightForWidth</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flag determining whether the widget's preferred height depends on its width, to <tt>b</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)">setHorizontalPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;d)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the horizontal component to the given <tt>d</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#setHorizontalStretch(byte)">setHorizontalStretch</A></B>(byte&nbsp;stretchFactor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the horizontal stretch factor of the size policy to the given <tt>stretchFactor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)">setVerticalPolicy</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;d)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the vertical component to the given <tt>d</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#setVerticalStretch(byte)">setVerticalStretch</A></B>(byte&nbsp;stretchFactor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the vertical stretch factor of the size policy to the given <tt>stretchFactor</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#transpose()">transpose</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Swaps the horizontal and vertical policies and stretches.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#verticalPolicy()">verticalPolicy</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical component of the size policy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#verticalStretch()">verticalStretch</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical stretch factor of the size policy.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQSizePolicy to arg__1.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.ControlType)"><!-- --></A><H3>
QSizePolicy</H3>
<PRE>
public <B>QSizePolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;horizontal,
                   <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;vertical,
                   <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Constructs a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> object with the given <tt>horizontal</tt> and <tt>vertical</tt> policies, and the specified control <tt>type</tt>.</p>
<p>Use <a href="QSizePolicy.html#setHeightForWidth(boolean)"><tt>setHeightForWidth</tt></a> if the preferred height of the widget is dependent on the width of the widget (for example, a <a href="QLabel.html"><tt>QLabel</tt></a> with line wrapping).</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a>, 
<a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a>, 
<a href="QSizePolicy.html#controlType()"><tt>controlType</tt></a></DL>
</DL>
<HR>

<A NAME="QSizePolicy()"><!-- --></A><H3>
QSizePolicy</H3>
<PRE>
public <B>QSizePolicy</B>()</PRE>
<DL>
<DD><p>Constructs a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> object with <a href="QSizePolicy.html#Policy-enum">Fixed</tt></a> as its horizontal and vertical policies.</p>
<p>The policies can be altered using the <a href="QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setHorizontalPolicy</tt></a> and <a href="QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setVerticalPolicy</tt></a> functions. Use the <a href="QSizePolicy.html#setHeightForWidth(boolean)"><tt>setHeightForWidth</tt></a> function if the preferred height of the widget is dependent on the width of the widget (for example, a <a href="QLabel.html"><tt>QLabel</tt></a> with line wrapping).</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a>, 
<a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a></DL>
</DL>
<HR>

<A NAME="QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><!-- --></A><H3>
QSizePolicy</H3>
<PRE>
public <B>QSizePolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;horizontal,
                   <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;vertical)</PRE>
<DL>
<DD><p>Constructs a <a href="QSizePolicy.html#QSizePolicy(com.trolltech.qt.gui.QSizePolicy.Policy, com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>QSizePolicy</tt></a> object with the given <tt>horizontal</tt> and <tt>vertical</tt> policies, and <a href="QSizePolicy.html#ControlType-enum"><tt>DefaultType</tt></a> as the control type.</p>
<p>Use <a href="QSizePolicy.html#setHeightForWidth(boolean)"><tt>setHeightForWidth</tt></a> if the preferred height of the widget is dependent on the width of the widget (for example, a <a href="QLabel.html"><tt>QLabel</tt></a> with line wrapping).</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a>, 
<a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="controlType()"><!-- --></A><H3>
controlType</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A> <B>controlType</B>()</PRE>
<DL>
<DD><p>Returns the control type associated with the widget for which this size policy applies.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setControlType(com.trolltech.qt.gui.QSizePolicy.ControlType)"><tt>setControlType</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="expandingDirections()"><!-- --></A><H3>
expandingDirections</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.Orientations.html" title="class in com.trolltech.qt.core">Qt.Orientations</A> <B>expandingDirections</B>()</PRE>
<DL>
<DD><p>Returns whether a widget can make use of more space than the QWidget::sizeHint() function indicates.</p>
<p>A value of Qt::Horizontal or Qt::Vertical means that the widget can grow horizontally or vertically (i.e&#x2e;, the horizontal or vertical policy is <a href="QSizePolicy.html#Policy-enum">Expanding</tt></a> or <a href="QSizePolicy.html#Policy-enum"><tt>MinimumExpanding</tt></a>), whereas Qt::Horizontal | Qt::Vertical means that it can grow in both dimensions.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#horizontalPolicy()"><tt>horizontalPolicy</tt></a>, 
<a href="QSizePolicy.html#verticalPolicy()"><tt>verticalPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasHeightForWidth()"><!-- --></A><H3>
hasHeightForWidth</H3>
<PRE>
public final boolean <B>hasHeightForWidth</B>()</PRE>
<DL>
<DD><p>Returns true if the widget's preferred height depends on its width; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setHeightForWidth(boolean)"><tt>setHeightForWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="horizontalPolicy()"><!-- --></A><H3>
horizontalPolicy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A> <B>horizontalPolicy</B>()</PRE>
<DL>
<DD><p>Returns the horizontal component of the size policy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setHorizontalPolicy</tt></a>, 
<a href="QSizePolicy.html#verticalPolicy()"><tt>verticalPolicy</tt></a>, 
<a href="QSizePolicy.html#horizontalStretch()"><tt>horizontalStretch</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="horizontalStretch()"><!-- --></A><H3>
horizontalStretch</H3>
<PRE>
public final int <B>horizontalStretch</B>()</PRE>
<DL>
<DD><p>Returns the horizontal stretch factor of the size policy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a>, 
<a href="QSizePolicy.html#verticalStretch()"><tt>verticalStretch</tt></a>, 
<a href="QSizePolicy.html#horizontalPolicy()"><tt>horizontalPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQSizePolicy to arg__1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QSizePolicy from arg__1.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setControlType(com.trolltech.qt.gui.QSizePolicy.ControlType)"><!-- --></A><H3>
setControlType</H3>
<PRE>
public final void <B>setControlType</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui">QSizePolicy.ControlType</A>&nbsp;type)</PRE>
<DL>
<DD><p>Sets the control type associated with the widget for which this size policy applies to <tt>type</tt>.</p>
<p>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.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#controlType()"><tt>controlType</tt></a>, 
<tt>QStyle::layoutSpacing</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setHeightForWidth(boolean)"><!-- --></A><H3>
setHeightForWidth</H3>
<PRE>
public final void <B>setHeightForWidth</B>(boolean&nbsp;b)</PRE>
<DL>
<DD><p>Sets the flag determining whether the widget's preferred height depends on its width, to <tt>b</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#hasHeightForWidth()"><tt>hasHeightForWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><!-- --></A><H3>
setHorizontalPolicy</H3>
<PRE>
public final void <B>setHorizontalPolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;d)</PRE>
<DL>
<DD><p>Sets the horizontal component to the given <tt>d</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#horizontalPolicy()"><tt>horizontalPolicy</tt></a>, 
<a href="QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setVerticalPolicy</tt></a>, 
<a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setHorizontalStretch(byte)"><!-- --></A><H3>
setHorizontalStretch</H3>
<PRE>
public final void <B>setHorizontalStretch</B>(byte&nbsp;stretchFactor)</PRE>
<DL>
<DD><p>Sets the horizontal stretch factor of the size policy to the given <tt>stretchFactor</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#horizontalStretch()"><tt>horizontalStretch</tt></a>, 
<a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a>, 
<a href="QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setHorizontalPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><!-- --></A><H3>
setVerticalPolicy</H3>
<PRE>
public final void <B>setVerticalPolicy</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A>&nbsp;d)</PRE>
<DL>
<DD><p>Sets the vertical component to the given <tt>d</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#verticalPolicy()"><tt>verticalPolicy</tt></a>, 
<a href="QSizePolicy.html#setHorizontalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setHorizontalPolicy</tt></a>, 
<a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setVerticalStretch(byte)"><!-- --></A><H3>
setVerticalStretch</H3>
<PRE>
public final void <B>setVerticalStretch</B>(byte&nbsp;stretchFactor)</PRE>
<DL>
<DD><p>Sets the vertical stretch factor of the size policy to the given <tt>stretchFactor</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#verticalStretch()"><tt>verticalStretch</tt></a>, 
<a href="QSizePolicy.html#setHorizontalStretch(byte)"><tt>setHorizontalStretch</tt></a>, 
<a href="QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setVerticalPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="transpose()"><!-- --></A><H3>
transpose</H3>
<PRE>
public final void <B>transpose</B>()</PRE>
<DL>
<DD><p>Swaps the horizontal and vertical policies and stretches.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="verticalPolicy()"><!-- --></A><H3>
verticalPolicy</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.Policy.html" title="enum in com.trolltech.qt.gui">QSizePolicy.Policy</A> <B>verticalPolicy</B>()</PRE>
<DL>
<DD><p>Returns the vertical component of the size policy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setVerticalPolicy(com.trolltech.qt.gui.QSizePolicy.Policy)"><tt>setVerticalPolicy</tt></a>, 
<a href="QSizePolicy.html#horizontalPolicy()"><tt>horizontalPolicy</tt></a>, 
<a href="QSizePolicy.html#verticalStretch()"><tt>verticalStretch</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="verticalStretch()"><!-- --></A><H3>
verticalStretch</H3>
<PRE>
public final int <B>verticalStretch</B>()</PRE>
<DL>
<DD><p>Returns the vertical stretch factor of the size policy.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QSizePolicy.html#setVerticalStretch(byte)"><tt>setVerticalStretch</tt></a>, 
<a href="QSizePolicy.html#horizontalStretch()"><tt>horizontalStretch</tt></a>, 
<a href="QSizePolicy.html#verticalPolicy()"><tt>verticalPolicy</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QSizePolicy instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.gui.QSizePolicy[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.html" title="class in com.trolltech.qt.gui">QSizePolicy</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QSizePolicy array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizeGrip.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlType.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QSizePolicy.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QSizePolicy.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>