Sophie

Sophie

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

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:01:36 CEST 2007 -->
<TITLE>
QLayout
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QLayout";
}
</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/QLabel.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QLayout.SizeConstraint.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/QLayout.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QLayout.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 QLayout</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 "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.gui.QLayout</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QBoxLayout.html" title="class in com.trolltech.qt.gui">QBoxLayout</A>, <A HREF="../../../../com/trolltech/qt/gui/QGridLayout.html" title="class in com.trolltech.qt.gui">QGridLayout</A>, <A HREF="../../../../com/trolltech/qt/gui/QStackedLayout.html" title="class in com.trolltech.qt.gui">QStackedLayout</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>QLayout</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A><DT>implements <A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></DL>
</PRE>

<P>
<p>The <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a> class is the base class of geometry managers.</p>
<p>This is an abstract base class inherited by the concrete classes <a href="QBoxLayout.html"><tt>QBoxLayout</tt></a>, <a href="QGridLayout.html"><tt>QGridLayout</tt></a>, and <a href="QStackedLayout.html"><tt>QStackedLayout</tt></a>.</p>
<p>For users of <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a> subclasses or of <a href="QMainWindow.html"><tt>QMainWindow</tt></a> there is seldom any need to use the basic functions provided by <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a>, such as <a href="QLayout.html#setSizeConstraint(com.trolltech.qt.gui.QLayout.SizeConstraint)"><tt>setSizeConstraint</tt></a> or <a href="QLayout.html#setMenuBar(com.trolltech.qt.gui.QWidget)"><tt>setMenuBar</tt></a>. See <a href="%2E%2E/layout.html">Layout Classes</tt></a> for more information.</p>
<p>To make your own layout manager, implement the functions <a href="QLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)"><tt>addItem</tt></a>, <a href="QLayout.html#sizeHint()"><tt>sizeHint</tt></a>, <a href="QLayout.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a>, <a href="QLayout.html#itemAt(int)"><tt>itemAt</tt></a> and <a href="QLayout.html#takeAt(int)"><tt>takeAt</tt></a>. You should also implement <a href="QLayout.html#minimumSize()"><tt>minimumSize</tt></a> to ensure your layout isn't resized to zero size if there is too little space. To support children whose heights depend on their widths, implement <a href="QLayout.html#hasHeightForWidth()"><tt>hasHeightForWidth</tt></a> and <a href="QLayout.html#heightForWidth(int)"><tt>heightForWidth</tt></a>. See the Border Layout</tt> and Flow Layout</tt> examples for more information about implementing custom layout managers.</p>
<p>Geometry management stops when the layout manager is deleted.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QLayoutItem.html"><tt>QLayoutItem</tt></a>, 
<a href="%2E%2E/layout.html">Layout Classes</tt></a>, 
<CODE>Layouts Example</tt></CODE>, 
<CODE>Layout Example</tt></CODE>, 
<CODE>Layout Example</tt></CODE></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/QLayout.SizeConstraint.html" title="enum in com.trolltech.qt.gui">QLayout.SizeConstraint</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The possible values are.</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/QLayout.html#QLayout()">QLayout</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new child <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#QLayout(com.trolltech.qt.gui.QWidget)">QLayout</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new top-level <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a>, with parent <tt>parent</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;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#activate()">activate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Redoes the layout for <a href="QLayout.html#parentWidget()"><tt>parentWidget</tt></a> if necessary.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#addChildLayout(com.trolltech.qt.gui.QLayout)">addChildLayout</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is called from <tt>addLayout()</tt> or <tt>insertLayout()</tt> functions in subclasses to add layout <tt>l</tt> as a sub-layout.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#addChildWidget(com.trolltech.qt.gui.QWidget)">addChildWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is called from <tt>addWidget()</tt> functions in subclasses to add <tt>w</tt> as a child widget.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)">addItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implemented in subclasses to add an <tt>arg__1</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/QLayout.html#addWidget(com.trolltech.qt.gui.QWidget)">addWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds widget <tt>w</tt> to this layout in a manner specific to the layout.</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.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#alignment()">alignment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alignment of this item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#alignmentRect(com.trolltech.qt.core.QRect)">alignmentRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the rectangle that should be covered when the geometry of this layout is set to <tt>arg__1</tt>, provided that this layout supports <a href="QLayout.html#setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.Alignment)"><tt>setAlignment</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QChildEvent.html" title="class in com.trolltech.qt.core">QChildEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#closestAcceptableSize(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QSize)">closestAcceptableSize</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w,
                      <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a size that satisfies all size constraints on <tt>w</tt>, including <a href="QLayout.html#heightForWidth(int)"><tt>heightForWidth</tt></a> and that is as close as possible to <tt>s</tt>.</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/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#contentsRect()">contentsRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the layout's <a href="QLayout.html#geometry()"><tt>geometry</tt></a> rectangle, but taking into account the contents margins.</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.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#controlTypes()">controlTypes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the control type(s) for the layout item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#count()">count</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Must be implemented in subclasses to return the number of items in the layout.</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/QLayout.html#expandingDirections()">expandingDirections</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this layout can make use of more space than <a href="QLayout.html#sizeHint()"><tt>sizeHint</tt></a>.</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/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.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 QLayout instance pointed to by nativePointer</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/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#geometry()">geometry</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#getContentsMargins()">getContentsMargins</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the contents margins of this QLayout.</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/QLayout.html#hasHeightForWidth()">hasHeightForWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this layout'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;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#heightForWidth(int)">heightForWidth</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the preferred height for this layout item, given the width <tt>arg__1</tt>.</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/QLayout.html#indexOf(com.trolltech.qt.gui.QWidget)">indexOf</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches for widget <tt>arg__1</tt> in this layout (not including child layouts).</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/QLayout.html#invalidate()">invalidate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QLayout.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QLayout.html#isEnabled()">isEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the layout is enabled; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#itemAt(int)">itemAt</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Must be implemented in subclasses to return the layout item at <tt>index</tt>.</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/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#layout()">layout</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#maximumSize()">maximumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum size of this layout.</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/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#menuBar()">menuBar</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the menu bar set for this layout, or 0 if no menu bar is set.</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/QLayout.html#minimumHeightForWidth(int)">minimumHeightForWidth</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum height this widget needs for the given width, <tt>arg__1</tt>.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#minimumSize()">minimumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum size of this layout.</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/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#parentWidget()">parentWidget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent widget of this layout, or 0 if this layout is not installed on any widget.</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/QLayout.html#removeItem(com.trolltech.qt.gui.QLayoutItemInterface)">removeItem</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the layout item <tt>arg__1</tt> from the layout.</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/QLayout.html#removeWidget(com.trolltech.qt.gui.QWidget)">removeWidget</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the widget <tt>w</tt> from the layout.</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/QLayout.html#setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.Alignment)">setAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;l,
             <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alignment for the layout <tt>l</tt> to <tt>alignment</tt> and returns true if <tt>l</tt> is found in this layout (not including child layouts); otherwise returns false.</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/QLayout.html#setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.AlignmentFlag...)">setAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;l,
             <A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>...&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alignment for the layout <tt>l</tt> to <tt>alignment</tt> and returns true if <tt>l</tt> is found in this layout (not including child layouts); otherwise returns false.</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/QLayout.html#setAlignment(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.Alignment)">setAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w,
             <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alignment for widget <tt>w</tt> to <tt>alignment</tt> and returns true if <tt>w</tt> is found in this layout (not including child layouts); otherwise returns false.</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/QLayout.html#setAlignment(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.AlignmentFlag...)">setAlignment</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w,
             <A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>...&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alignment for widget <tt>w</tt> to <tt>alignment</tt> and returns true if <tt>w</tt> is found in this layout (not including child layouts); otherwise returns false.</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/QLayout.html#setContentsMargins(int, int, int, int)">setContentsMargins</A></B>(int&nbsp;left,
                   int&nbsp;top,
                   int&nbsp;right,
                   int&nbsp;bottom)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <tt>left</tt>, <tt>top</tt>, <tt>right</tt>, and <tt>bottom</tt> margins to use around the layout.</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/QLayout.html#setContentsMargins(com.trolltech.qt.gui.QContentsMargins)">setContentsMargins</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A>&nbsp;margins)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the contents margins of this QLayout to <tt>margins</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/QLayout.html#setEnabled(boolean)">setEnabled</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables this layout if <tt>arg__1</tt> is true, otherwise disables it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#setGeometry(com.trolltech.qt.core.QRect)">setGeometry</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</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/QLayout.html#setMargin(int)">setMargin</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is obsolete.</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/QLayout.html#setMenuBar(com.trolltech.qt.gui.QWidget)">setMenuBar</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells the geometry manager to place the menu bar <tt>w</tt> at the top of <a href="QLayout.html#parentWidget()"><tt>parentWidget</tt></a>, outside QWidget::contentsMargins().</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/QLayout.html#setSizeConstraint(com.trolltech.qt.gui.QLayout.SizeConstraint)">setSizeConstraint</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.SizeConstraint.html" title="enum in com.trolltech.qt.gui">QLayout.SizeConstraint</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the resize mode of the layout to <tt>arg__1</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/QLayout.html#setWidgetSpacing(int)">setWidgetSpacing</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the spacing between widgets inside the layout to <tt>arg__1</tt>.</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/QLayout.SizeConstraint.html" title="enum in com.trolltech.qt.gui">QLayout.SizeConstraint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#sizeConstraint()">sizeConstraint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resize mode of the layout.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#sizeHint()">sizeHint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implemented in subclasses to return the preferred size of this item.</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/QSpacerItem.html" title="class in com.trolltech.qt.gui">QSpacerItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#spacerItem()">spacerItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this item is a <a href="QSpacerItem.html"><tt>QSpacerItem</tt></a>, it is returned as a <a href="QSpacerItem.html"><tt>QSpacerItem</tt></a>; otherwise 0 is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#takeAt(int)">takeAt</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Must be implemented in subclasses to remove the layout item at <tt>index</tt> from the layout, and return the item.</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/QLayout.html#totalHeightForWidth(int)">totalHeightForWidth</A></B>(int&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#totalMaximumSize()">totalMaximumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#totalMinimumSize()">totalMinimumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#totalSizeHint()">totalSizeHint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</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/QLayout.html#update()">update</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the layout for <a href="QLayout.html#parentWidget()"><tt>parentWidget</tt></a>.</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/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#widget()">widget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this item is a <a href="QWidget.html"><tt>QWidget</tt></a>, it is returned as a <a href="QWidget.html"><tt>QWidget</tt></a>; otherwise 0 is returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QLayout.html#widgetEvent(com.trolltech.qt.core.QEvent)">widgetEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used internally by Qt Jambi.</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/QLayout.html#widgetSpacing()">widgetSpacing</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the spacing between widgets inside the layout.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></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.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE></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#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</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, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.gui.QLayoutItemInterface"><!-- --></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.gui.<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#setAlignment(com.trolltech.qt.core.Qt.Alignment)">setAlignment</A></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="QLayout(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
QLayout</H3>
<PRE>
public <B>QLayout</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a new top-level <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a>, with parent <tt>parent</tt>. <tt>parent</tt> may not be 0.</p>
<p>There can be only one top-level layout for a widget. It is returned by QWidget::layout().</p>
<P>
</DL>
<HR>

<A NAME="QLayout()"><!-- --></A><H3>
QLayout</H3>
<PRE>
public <B>QLayout</B>()</PRE>
<DL>
<DD><p>Constructs a new child <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a>.</p>
<p>This layout has to be inserted into another layout before geometry management will work.</p>
<P>
</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="activate()"><!-- --></A><H3>
activate</H3>
<PRE>
public final boolean <B>activate</B>()</PRE>
<DL>
<DD><p>Redoes the layout for <a href="QLayout.html#parentWidget()"><tt>parentWidget</tt></a> if necessary.</p>
<p>You should generally not need to call this because it is automatically called at the most appropriate times. It returns true if the layout was redone.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#update()"><tt>update</tt></a>, 
<tt>QWidget::updateGeometry</tt></DL>
</DD>
</DL>
<HR>

<A NAME="addChildLayout(com.trolltech.qt.gui.QLayout)"><!-- --></A><H3>
addChildLayout</H3>
<PRE>
protected final void <B>addChildLayout</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;l)</PRE>
<DL>
<DD><p>This function is called from <tt>addLayout()</tt> or <tt>insertLayout()</tt> functions in subclasses to add layout <tt>l</tt> as a sub-layout.</p>
<p>The only scenario in which you need to call it directly is if you implement a custom layout that supports nested layouts.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QBoxLayout::addLayout</tt>, 
<tt>QBoxLayout::insertLayout</tt>, 
<tt>QGridLayout::addLayout</tt></DL>
</DD>
</DL>
<HR>

<A NAME="addChildWidget(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
addChildWidget</H3>
<PRE>
protected final void <B>addChildWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><p>This function is called from <tt>addWidget()</tt> functions in subclasses to add <tt>w</tt> as a child widget.</p>
<p>If <tt>w</tt> is already in a layout, this function will give a warning and remove <tt>w</tt> from the layout. This function must therefore be called before adding <tt>w</tt> to the layout's data structure.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addWidget(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
addWidget</H3>
<PRE>
public final void <B>addWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><p>Adds widget <tt>w</tt> to this layout in a manner specific to the layout. This function uses <a href="QLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)"><tt>addItem</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="alignment()"><!-- --></A><H3>
alignment</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A> <B>alignment</B>()</PRE>
<DL>
<DD><p>Returns the alignment of this item.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#alignment()">alignment</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.Alignment)"><tt>setAlignment</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="alignmentRect(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
alignmentRect</H3>
<PRE>
protected final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>alignmentRect</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the rectangle that should be covered when the geometry of this layout is set to <tt>arg__1</tt>, provided that this layout supports <a href="QLayout.html#setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.Alignment)"><tt>setAlignment</tt></a>.</p>
<p>The result is derived from <a href="QLayout.html#sizeHint()"><tt>sizeHint</tt></a> and expanding(). It is never larger than <tt>arg__1</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contentsRect()"><!-- --></A><H3>
contentsRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>contentsRect</B>()</PRE>
<DL>
<DD><p>Returns the layout's <a href="QLayout.html#geometry()"><tt>geometry</tt></a> rectangle, but taking into account the contents margins.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setContentsMargins(int, int, int, int)"><tt>setContentsMargins</tt></a>, 
<tt>getContentsMargins</tt></DL>
</DD>
</DL>
<HR>

<A NAME="controlTypes()"><!-- --></A><H3>
controlTypes</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A> <B>controlTypes</B>()</PRE>
<DL>
<DD><p>Returns the control type(s) for the layout item. For a <a href="QWidgetItem.html"><tt>QWidgetItem</tt></a>, the control type comes from the widget's size policy; for a <a href="QLayoutItem.html"><tt>QLayoutItem</tt></a>, the control types is derived from the layout's contents.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#controlTypes()">controlTypes</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QSizePolicy::controlType</tt></DL>
</DD>
</DL>
<HR>

<A NAME="isEnabled()"><!-- --></A><H3>
isEnabled</H3>
<PRE>
public final boolean <B>isEnabled</B>()</PRE>
<DL>
<DD><p>Returns true if the layout is enabled; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setEnabled(boolean)"><tt>setEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="menuBar()"><!-- --></A><H3>
menuBar</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>menuBar</B>()</PRE>
<DL>
<DD><p>Returns the menu bar set for this layout, or 0 if no menu bar is set.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setMenuBar(com.trolltech.qt.gui.QWidget)"><tt>setMenuBar</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="parentWidget()"><!-- --></A><H3>
parentWidget</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>parentWidget</B>()</PRE>
<DL>
<DD><p>Returns the parent widget of this layout, or 0 if this layout is not installed on any widget.</p>
<p>If the layout is a sub-layout, this function returns the parent widget of the parent layout.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/core/%2E%2E/core/QObject.html#parent()"><tt>parent</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeItem(com.trolltech.qt.gui.QLayoutItemInterface)"><!-- --></A><H3>
removeItem</H3>
<PRE>
public final void <B>removeItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Removes the layout item <tt>arg__1</tt> from the layout. It is the caller's responsibility to delete the item.</p>
<p>Notice that <tt>arg__1</tt> can be a layout (since <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a> inherits <a href="QLayoutItem.html"><tt>QLayoutItem</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#removeWidget(com.trolltech.qt.gui.QWidget)"><tt>removeWidget</tt></a>, 
<a href="QLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)"><tt>addItem</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="removeWidget(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
removeWidget</H3>
<PRE>
public final void <B>removeWidget</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><p>Removes the widget <tt>w</tt> from the layout. After this call, it is the caller's responsibility to give the widget a reasonable geometry or to put the widget back into a layout.</p>
<p><b>Note:</b> The ownership of <tt>w</tt> remains the same as when it was added.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#removeItem(com.trolltech.qt.gui.QLayoutItemInterface)"><tt>removeItem</tt></a>, 
<tt>QWidget::setGeometry</tt>, 
<a href="QLayout.html#addWidget(com.trolltech.qt.gui.QWidget)"><tt>addWidget</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAlignment(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.AlignmentFlag...)"><!-- --></A><H3>
setAlignment</H3>
<PRE>
public final boolean <B>setAlignment</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>...&nbsp;alignment)</PRE>
<DL>
<DD><p>Sets the alignment for widget <tt>w</tt> to <tt>alignment</tt> and returns true if <tt>w</tt> is found in this layout (not including child layouts); otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setAlignment(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.Qt.Alignment)"><!-- --></A><H3>
setAlignment</H3>
<PRE>
public final boolean <B>setAlignment</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment)</PRE>
<DL>
<DD><p>Sets the alignment for widget <tt>w</tt> to <tt>alignment</tt> and returns true if <tt>w</tt> is found in this layout (not including child layouts); otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.AlignmentFlag...)"><!-- --></A><H3>
setAlignment</H3>
<PRE>
public final boolean <B>setAlignment</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;l,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.AlignmentFlag.html" title="enum in com.trolltech.qt.core">Qt.AlignmentFlag</A>...&nbsp;alignment)</PRE>
<DL>
<DD><p>Sets the alignment for the layout <tt>l</tt> to <tt>alignment</tt> and returns true if <tt>l</tt> is found in this layout (not including child layouts); otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#alignment()"><tt>alignment</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAlignment(com.trolltech.qt.gui.QLayout, com.trolltech.qt.core.Qt.Alignment)"><!-- --></A><H3>
setAlignment</H3>
<PRE>
public final boolean <B>setAlignment</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A>&nbsp;l,
                                  <A HREF="../../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>&nbsp;alignment)</PRE>
<DL>
<DD><p>Sets the alignment for the layout <tt>l</tt> to <tt>alignment</tt> and returns true if <tt>l</tt> is found in this layout (not including child layouts); otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#alignment()"><tt>alignment</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setContentsMargins(int, int, int, int)"><!-- --></A><H3>
setContentsMargins</H3>
<PRE>
public final void <B>setContentsMargins</B>(int&nbsp;left,
                                     int&nbsp;top,
                                     int&nbsp;right,
                                     int&nbsp;bottom)</PRE>
<DL>
<DD><p>Sets the <tt>left</tt>, <tt>top</tt>, <tt>right</tt>, and <tt>bottom</tt> margins to use around the layout.</p>
<p>By default, <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a> uses the values provided by the style. On most platforms, the margin is 11 pixels in all directions.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getContentsMargins</tt>, 
<tt>QStyle::pixelMetric</tt>, 
<tt>PM_LayoutLeftMargin</tt>, 
<tt>PM_LayoutTopMargin</tt>, 
<tt>PM_LayoutRightMargin</tt>, 
<tt>PM_LayoutBottomMargin</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setEnabled(boolean)"><!-- --></A><H3>
setEnabled</H3>
<PRE>
public final void <B>setEnabled</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>Enables this layout if <tt>arg__1</tt> is true, otherwise disables it.</p>
<p>An enabled layout adjusts dynamically to changes; a disabled layout acts as if it did not exist.</p>
<p>By default all layouts are enabled.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#isEnabled()"><tt>isEnabled</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setMargin(int)"><!-- --></A><H3>
setMargin</H3>
<PRE>
public final void <B>setMargin</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p>
<p>Sets the width of the outside border of the layout to <tt>arg__1</tt>.</p>
<p>Use <a href="QLayout.html#setContentsMargins(int, int, int, int)"><tt>setContentsMargins</tt></a> and getContentsMargins() instead.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#contentsRect()"><tt>contentsRect</tt></a>, 
<CODE>spacing</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setMenuBar(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
setMenuBar</H3>
<PRE>
public final void <B>setMenuBar</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w)</PRE>
<DL>
<DD><p>Tells the geometry manager to place the menu bar <tt>w</tt> at the top of <a href="QLayout.html#parentWidget()"><tt>parentWidget</tt></a>, outside QWidget::contentsMargins(). All child widgets are placed below the bottom edge of the menu bar.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#menuBar()"><tt>menuBar</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSizeConstraint(com.trolltech.qt.gui.QLayout.SizeConstraint)"><!-- --></A><H3>
setSizeConstraint</H3>
<PRE>
public final void <B>setSizeConstraint</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayout.SizeConstraint.html" title="enum in com.trolltech.qt.gui">QLayout.SizeConstraint</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the resize mode of the layout to <tt>arg__1</tt>.</p>
<p>The default mode is <a href="QLayout.html#SizeConstraint-enum"><tt>SetDefaultConstraint</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#sizeConstraint()"><tt>sizeConstraint</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWidgetSpacing(int)"><!-- --></A><H3>
setWidgetSpacing</H3>
<PRE>
public final void <B>setWidgetSpacing</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Sets the spacing between widgets inside the layout to <tt>arg__1</tt>.</p>
<p>If no value is explicitly set, the layout's spacing is inherited from the parent layout, or from the style settings for the parent widget.</p>
<p>For <a href="QGridLayout.html"><tt>QGridLayout</tt></a>, it is possible to set different horizontal and vertical spacings using setHorizontalSpacing() and setVerticalSpacing(). In that case, spacing() returns -1.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#widgetSpacing()"><tt>widgetSpacing</tt></a>, 
<a href="QLayout.html#contentsRect()"><tt>contentsRect</tt></a>, 
<tt>getContentsMargins</tt>, 
<tt>QStyle::layoutSpacing</tt>, 
<tt>QStyle::pixelMetric</tt></DL>
</DD>
</DL>
<HR>

<A NAME="sizeConstraint()"><!-- --></A><H3>
sizeConstraint</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QLayout.SizeConstraint.html" title="enum in com.trolltech.qt.gui">QLayout.SizeConstraint</A> <B>sizeConstraint</B>()</PRE>
<DL>
<DD><p>Returns the resize mode of the layout.</p>
<p>The default mode is <a href="QLayout.html#SizeConstraint-enum"><tt>SetDefaultConstraint</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setSizeConstraint(com.trolltech.qt.gui.QLayout.SizeConstraint)"><tt>setSizeConstraint</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widgetSpacing()"><!-- --></A><H3>
widgetSpacing</H3>
<PRE>
public final int <B>widgetSpacing</B>()</PRE>
<DL>
<DD><p>Returns the spacing between widgets inside the layout.</p>
<p>If no value is explicitly set, the layout's spacing is inherited from the parent layout, or from the style settings for the parent widget.</p>
<p>For <a href="QGridLayout.html"><tt>QGridLayout</tt></a>, it is possible to set different horizontal and vertical spacings using setHorizontalSpacing() and setVerticalSpacing(). In that case, spacing() returns -1.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setWidgetSpacing(int)"><tt>setWidgetSpacing</tt></a>, 
<a href="QLayout.html#contentsRect()"><tt>contentsRect</tt></a>, 
<tt>getContentsMargins</tt>, 
<tt>QStyle::layoutSpacing</tt>, 
<tt>QStyle::pixelMetric</tt></DL>
</DD>
</DL>
<HR>

<A NAME="totalHeightForWidth(int)"><!-- --></A><H3>
totalHeightForWidth</H3>
<PRE>
public final int <B>totalHeightForWidth</B>(int&nbsp;w)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="totalMaximumSize()"><!-- --></A><H3>
totalMaximumSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>totalMaximumSize</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="totalMinimumSize()"><!-- --></A><H3>
totalMinimumSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>totalMinimumSize</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="totalSizeHint()"><!-- --></A><H3>
totalSizeHint</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>totalSizeHint</B>()</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="update()"><!-- --></A><H3>
update</H3>
<PRE>
public final void <B>update</B>()</PRE>
<DL>
<DD><p>Updates the layout for <a href="QLayout.html#parentWidget()"><tt>parentWidget</tt></a>.</p>
<p>You should generally not need to call this because it is automatically called at the most appropriate times.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#activate()"><tt>activate</tt></a>, 
<a href="QLayout.html#invalidate()"><tt>invalidate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widgetEvent(com.trolltech.qt.core.QEvent)"><!-- --></A><H3>
widgetEvent</H3>
<PRE>
protected final void <B>widgetEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QEvent.html" title="class in com.trolltech.qt.core">QEvent</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This method is used internally by Qt Jambi.
Do not use it in your applications.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addItem(com.trolltech.qt.gui.QLayoutItemInterface)"><!-- --></A><H3>
addItem</H3>
<PRE>
public abstract void <B>addItem</B>(<A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Implemented in subclasses to add an <tt>arg__1</tt>. How it is added is specific to each subclass.</p>
<p>This function is not usually called in application code. To add a widget to a layout, use the <a href="QLayout.html#addWidget(com.trolltech.qt.gui.QWidget)"><tt>addWidget</tt></a> function; to add a child layout, use the addLayout() function provided by the relevant <a href="QLayout.html#QLayout()"><tt>QLayout</tt></a> subclass.</p>
<p><b>Note:</b> The ownership of <tt>arg__1</tt> is transferred to the layout, and it's the layout's responsibility to delete it.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#addWidget(com.trolltech.qt.gui.QWidget)"><tt>addWidget</tt></a>, 
<tt>QBoxLayout::addLayout</tt>, 
<tt>QGridLayout::addLayout</tt></DL>
</DD>
</DL>
<HR>

<A NAME="childEvent(com.trolltech.qt.core.QChildEvent)"><!-- --></A><H3>
childEvent</H3>
<PRE>
protected void <B>childEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QChildEvent.html" title="class in com.trolltech.qt.core">QChildEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="count()"><!-- --></A><H3>
count</H3>
<PRE>
public abstract int <B>count</B>()</PRE>
<DL>
<DD><p>Must be implemented in subclasses to return the number of items in the layout.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#itemAt(int)"><tt>itemAt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="expandingDirections()"><!-- --></A><H3>
expandingDirections</H3>
<PRE>
public <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 this layout can make use of more space than <a href="QLayout.html#sizeHint()"><tt>sizeHint</tt></a>. A value of Qt::Vertical or Qt::Horizontal means that it wants to grow in only one dimension, whereas Qt::Vertical | Qt::Horizontal means that it wants to grow in both dimensions.</p>
<p>The default implementation returns Qt::Horizontal | Qt::Vertical. Subclasses reimplement it to return a meaningful value based on their child widgets's <a href="QSizePolicy.html">size policies</tt></a>.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#expandingDirections()">expandingDirections</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#sizeHint()"><tt>sizeHint</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="geometry()"><!-- --></A><H3>
geometry</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>geometry</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#geometry()">geometry</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#setGeometry(com.trolltech.qt.core.QRect)"><tt>setGeometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasHeightForWidth()"><!-- --></A><H3>
hasHeightForWidth</H3>
<PRE>
public boolean <B>hasHeightForWidth</B>()</PRE>
<DL>
<DD><p>Returns true if this layout's preferred height depends on its width; otherwise returns false. The default implementation returns false.</p>
<p>Reimplement this function in layout managers that support height for width.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#hasHeightForWidth()">hasHeightForWidth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#heightForWidth(int)"><tt>heightForWidth</tt></a>, 
<tt>QWidget::heightForWidth</tt></DL>
</DD>
</DL>
<HR>

<A NAME="heightForWidth(int)"><!-- --></A><H3>
heightForWidth</H3>
<PRE>
public int <B>heightForWidth</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the preferred height for this layout item, given the width <tt>arg__1</tt>.</p>
<p>The default implementation returns -1, indicating that the preferred height is independent of the width of the item. Using the function <a href="QLayout.html#hasHeightForWidth()"><tt>hasHeightForWidth</tt></a> will typically be much faster than calling this function and testing for -1.</p>
<p>Reimplement this function in layout managers that support height for width. A typical implementation will look like this:</p>
<pre>    int MyLayout::heightForWidth(int w) const
    {
        if (cache_dirty || cached_width != w) {
            <span class="comment">// not all C++ compilers support &quot;mutable&quot;</span>
            MyLayout *that = (MyLayout*)this;
            int h = calculateHeightForWidth(w);
            that-&gt;cached_hfw = h;
            return h;
        }
        return cached_hfw;
    }</pre>
<p>Caching is strongly recommended; without it layout will take exponential time.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#heightForWidth(int)">heightForWidth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#hasHeightForWidth()"><tt>hasHeightForWidth</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(com.trolltech.qt.gui.QWidget)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public int <B>indexOf</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Searches for widget <tt>arg__1</tt> in this layout (not including child layouts).</p>
<p>Returns the index of <tt>arg__1</tt>, or -1 if <tt>arg__1</tt> is not found.</p>
<p>The default implementation iterates over all items using <a href="QLayout.html#itemAt(int)"><tt>itemAt</tt></a></p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="invalidate()"><!-- --></A><H3>
invalidate</H3>
<PRE>
public void <B>invalidate</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#invalidate()">invalidate</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#isEmpty()">isEmpty</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="itemAt(int)"><!-- --></A><H3>
itemAt</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A> <B>itemAt</B>(int&nbsp;index)</PRE>
<DL>
<DD><p>Must be implemented in subclasses to return the layout item at <tt>index</tt>. If there is no such item, the function must return 0. Items are numbered consecutively from 0. If an item is deleted, other items will be renumbered.</p>
<p>This function can be used to iterate over a layout. The following code will draw a rectangle for each layout item in the layout structure of the widget.</p>
<pre>    static void paintLayout(QPainter *painter, QLayoutItem *item)
    {
        QLayout *layout = item-&gt;layout();
        if (layout) {
            for (int i = 0; i &lt; layout-&gt;count(); ++i)
                paintLayout(painter, layout-&gt;itemAt(i));
        }
        painter-&gt;drawRect(layout-&gt;geometry());
    }

    void MyWidget::paintEvent(QPaintEvent *)
    {
        QPainter painter(this);
        if (layout())
            paintLayout(&amp;painter, layout());
    }</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#count()"><tt>count</tt></a>, 
<a href="QLayout.html#takeAt(int)"><tt>takeAt</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="layout()"><!-- --></A><H3>
layout</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</A> <B>layout</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#layout()">layout</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="maximumSize()"><!-- --></A><H3>
maximumSize</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>maximumSize</B>()</PRE>
<DL>
<DD><p>Returns the maximum size of this layout. This is the largest size that the layout can have while still respecting the specifications.</p>
<p>The returned value doesn't include the space required by QWidget::setContentsMargins() or <a href="QLayout.html#menuBar()"><tt>menuBar</tt></a>.</p>
<p>The default implementation allows unlimited resizing.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#maximumSize()">maximumSize</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="minimumHeightForWidth(int)"><!-- --></A><H3>
minimumHeightForWidth</H3>
<PRE>
public int <B>minimumHeightForWidth</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Returns the minimum height this widget needs for the given width, <tt>arg__1</tt>. The default implementation simply returns <a href="QLayout.html#heightForWidth(int)"><tt>heightForWidth</tt></a>(<tt>arg__1</tt>).</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#minimumHeightForWidth(int)">minimumHeightForWidth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="minimumSize()"><!-- --></A><H3>
minimumSize</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>minimumSize</B>()</PRE>
<DL>
<DD><p>Returns the minimum size of this layout. This is the smallest size that the layout can have while still respecting the specifications.</p>
<p>The returned value doesn't include the space required by QWidget::setContentsMargins() or <a href="QLayout.html#menuBar()"><tt>menuBar</tt></a>.</p>
<p>The default implementation allows unlimited resizing.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#minimumSize()">minimumSize</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setGeometry(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
setGeometry</H3>
<PRE>
public abstract void <B>setGeometry</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#setGeometry(com.trolltech.qt.core.QRect)">setGeometry</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#geometry()"><tt>geometry</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="sizeHint()"><!-- --></A><H3>
sizeHint</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>sizeHint</B>()</PRE>
<DL>
<DD><p>Implemented in subclasses to return the preferred size of this item.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#sizeHint()">sizeHint</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="spacerItem()"><!-- --></A><H3>
spacerItem</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QSpacerItem.html" title="class in com.trolltech.qt.gui">QSpacerItem</A> <B>spacerItem</B>()</PRE>
<DL>
<DD><p>If this item is a <a href="QSpacerItem.html"><tt>QSpacerItem</tt></a>, it is returned as a <a href="QSpacerItem.html"><tt>QSpacerItem</tt></a>; otherwise 0 is returned. This function provides type-safe casting.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#spacerItem()">spacerItem</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="takeAt(int)"><!-- --></A><H3>
takeAt</H3>
<PRE>
public abstract <A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A> <B>takeAt</B>(int&nbsp;index)</PRE>
<DL>
<DD><p>Must be implemented in subclasses to remove the layout item at <tt>index</tt> from the layout, and return the item. If there is no such item, the function must do nothing and return 0. Items are numbered consecutively from 0. If an item is deleted, other items will be renumbered.</p>
<p>The following code fragment shows a safe way to remove all items from a layout:</p>
<pre>    QLayoutItem *child;
    while ((child = layout-&gt;takeAt(0)) != 0) {
        ...
        delete child;
    }</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QLayout.html#itemAt(int)"><tt>itemAt</tt></a>, 
<a href="QLayout.html#count()"><tt>count</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widget()"><!-- --></A><H3>
widget</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A> <B>widget</B>()</PRE>
<DL>
<DD><p>If this item is a <a href="QWidget.html"><tt>QWidget</tt></a>, it is returned as a <a href="QWidget.html"><tt>QWidget</tt></a>; otherwise 0 is returned. This function provides type-safe casting.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html#widget()">widget</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QLayoutItemInterface.html" title="interface in com.trolltech.qt.gui">QLayoutItemInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="closestAcceptableSize(com.trolltech.qt.gui.QWidget, com.trolltech.qt.core.QSize)"><!-- --></A><H3>
closestAcceptableSize</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>closestAcceptableSize</B>(<A HREF="../../../../com/trolltech/qt/gui/QWidget.html" title="class in com.trolltech.qt.gui">QWidget</A>&nbsp;w,
                                          <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s)</PRE>
<DL>
<DD><p>Returns a size that satisfies all size constraints on <tt>w</tt>, including <a href="QLayout.html#heightForWidth(int)"><tt>heightForWidth</tt></a> and that is as close as possible to <tt>s</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QLayout.html" title="class in com.trolltech.qt.gui">QLayout</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 QLayout instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="getContentsMargins()"><!-- --></A><H3>
getContentsMargins</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A> <B>getContentsMargins</B>()</PRE>
<DL>
<DD>Returns the contents margins of this QLayout.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setContentsMargins(com.trolltech.qt.gui.QContentsMargins)"><!-- --></A><H3>
setContentsMargins</H3>
<PRE>
public final void <B>setContentsMargins</B>(<A HREF="../../../../com/trolltech/qt/gui/QContentsMargins.html" title="class in com.trolltech.qt.gui">QContentsMargins</A>&nbsp;margins)</PRE>
<DL>
<DD>Sets the contents margins of this QLayout to <tt>margins</tt>.
<P>
<DD><DL>
</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/QLabel.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QLayout.SizeConstraint.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/QLayout.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QLayout.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>