Sophie

Sophie

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

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 16:57:42 CEST 2007 -->
<TITLE>
QRect
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.core.QRect class">

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QRect";
}
</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/core/QProcess.ProcessState.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QRect.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QRect.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_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">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.core</FONT>
<BR>
Class QRect</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QRect</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QRect</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> class defines a rectangle in the plane using integer precision.</p>
<p>A rectangle is normally expressed as an upper-left corner and a size. The size (width and height) of a <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> is always equivalent to the mathematical rectangle that forms the basis for its rendering.</p>
<p>A <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> can be constructed with a set of left, top, width and height integers, or from a <a href="QPoint.html"><tt>QPoint</tt></a> and a <a href="QSize.html"><tt>QSize</tt></a>. The following code creates two identical rectangles.</p>
<pre>    QRect r1(100, 200, 11, 16);
    QRect r2(QPoint(100, 200), QSize(11, 16));</pre>
<p>There is a third constructor that creates a <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> using the top-left and bottom-right coordinates, but we recommend that you avoid using it. The rationale is that for historical reasons the values returned by the <a href="QRect.html#bottom()"><tt>bottom</tt></a> and <a href="QRect.html#right()"><tt>right</tt></a> functions deviate from the true bottom-right corner of the rectangle.</p>
<p>The <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> class provides a collection of functions that return the various rectangle coordinates, and enable manipulation of these. <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> also provide functions to move the rectangle relative to the various coordinates. In addition there is a <a href="QRect.html#moveTo(com.trolltech.qt.core.QPoint)"><tt>moveTo</tt></a> function that moves the rectangle, leaving its top left corner at the given coordinates. Alternatively, the <a href="QRect.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a> function moves the rectangle the given offset relative to the current position, and the <a href="QRect.html#translated(com.trolltech.qt.core.QPoint)"><tt>translated</tt></a> function returns a translated copy of this rectangle.</p>
<p>The <a href="QRect.html#size()"><tt>size</tt></a> function returns the rectange's dimensions as a <a href="QSize.html"><tt>QSize</tt></a>. The dimensions can also be retrieved separately using the <a href="QRect.html#width()"><tt>width</tt></a> and <a href="QRect.html#height()"><tt>height</tt></a> functions. To manipulate the dimensions use the <a href="QRect.html#setSize(com.trolltech.qt.core.QSize)"><tt>setSize</tt></a>, <a href="QRect.html#setWidth(int)"><tt>setWidth</tt></a> or <a href="QRect.html#setHeight(int)"><tt>setHeight</tt></a> functions. Alternatively, the size can be changed by applying either of the functions setting the rectangle coordinates, for example, <a href="QRect.html#setBottom(int)"><tt>setBottom</tt></a> or <a href="QRect.html#setRight(int)"><tt>setRight</tt></a>.</p>
<p>The <a href="QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)"><tt>contains</tt></a> function tells whether a given point is inside the rectangle or not, and the <a href="QRect.html#intersects(com.trolltech.qt.core.QRect)"><tt>intersects</tt></a> function returns true if this rectangle intersects with a given rectangle. The <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> class also provides the <a href="QRect.html#intersected(com.trolltech.qt.core.QRect)"><tt>intersected</tt></a> function which returns the intersection rectangle, and the <a href="QRect.html#united(com.trolltech.qt.core.QRect)"><tt>united</tt></a> function which returns the rectangle that encloses the given rectangle and this:</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qrect-intersect.png" /></td><td><img src="%2E%2E/images/qrect-unite.png" /></td></tr>
<tr valign="top" class="even"><td><a href="QRect.html#intersected(com.trolltech.qt.core.QRect)"><tt>intersected</tt></a></td><td><a href="QRect.html#united(com.trolltech.qt.core.QRect)"><tt>united</tt></a></td></tr>
</table></p>
<p>The <a href="QRect.html#isEmpty()"><tt>isEmpty</tt></a> function returns true if <a href="QRect.html#left()"><tt>left</tt></a> &gt; <a href="QRect.html#right()"><tt>right</tt></a> or <a href="QRect.html#top()"><tt>top</tt></a> &gt; <a href="QRect.html#bottom()"><tt>bottom</tt></a>. Note that an empty rectangle is not valid: The <a href="QRect.html#isValid()"><tt>isValid</tt></a> function returns true if <a href="QRect.html#left()"><tt>left</tt></a> &lt;= <a href="QRect.html#right()"><tt>right</tt></a> <i>and</i> <a href="QRect.html#top()"><tt>top</tt></a> &lt;= <a href="QRect.html#bottom()"><tt>bottom</tt></a>. A null rectangle (<a href="QRect.html#isNull()"><tt>isNull</tt></a> == true) on the other hand, has both width and height set to 0.</p>
<p>Note that due to the way <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> and <a href="QRectF.html"><tt>QRectF</tt></a> are defined, an empty <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> is defined in essentially the same way as <a href="QRectF.html"><tt>QRectF</tt></a>.</p>
<p>Finally, <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> objects can be streamed as well as compared.</p>
<ul><li><a href="#rendering">Rendering</a></li>
<li><a href="#coordinates">Coordinates</a></li>
</ul>
<a name="rendering"></a>
<h3>Rendering</h3>
<p>When using an anti-aliased</tt> painter, the boundary line of a <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> will be rendered symmetrically on both sides of the mathematical rectangle's boundary line. But when using an aliased painter (the default) other rules apply.</p>
<p>Then, when rendering with a one pixel wide pen the <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a>'s boundary line will be rendered to the right and below the mathematical rectangle's boundary line.</p>
<p>When rendering with a two pixels wide pen the boundary line will be split in the middle by the mathematical rectangle. This will be the case whenever the pen is set to an even number of pixels, while rendering with a pen with an odd number of pixels, the spare pixel will be rendered to the right and below the mathematical rectangle as in the one pixel case.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qrect-diagram-zero.png" /></td><td><img src="%2E%2E/images/qrect-diagram-one.png" /></td></tr>
<tr valign="top" class="even"><td>Logical representation</td><td>One pixel wide pen</td></tr>
<tr valign="top" class="odd"><td><img src="%2E%2E/images/qrect-diagram-two.png" /></td><td><img src="%2E%2E/images/qrect-diagram-three.png" /></td></tr>
<tr valign="top" class="even"><td>Two pixel wide pen</td><td>Three pixel wide pen</td></tr>
</table></p>
<a name="coordinates"></a>
<h3>Coordinates</h3>
<p>The <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> class provides a collection of functions that return the various rectangle coordinates, and enable manipulation of these. <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> also provide functions to move the rectangle relative to the various coordinates.</p>
<p>For example the <a href="QRect.html#left()"><tt>left</tt></a>, <a href="QRect.html#setLeft(int)"><tt>setLeft</tt></a> and <a href="QRect.html#moveLeft(int)"><tt>moveLeft</tt></a> functions as an example: <a href="QRect.html#left()"><tt>left</tt></a> returns the x-coordinate of the rectangle's left edge, <a href="QRect.html#setLeft(int)"><tt>setLeft</tt></a> sets the left edge of the rectangle to the given x coordinate (it may change the width, but will never change the rectangle's right edge) and <a href="QRect.html#moveLeft(int)"><tt>moveLeft</tt></a> moves the entire rectangle horizontally, leaving the rectangle's left edge at the given x coordinate and its size unchanged.</p>
<p align="center"><img src="%2E%2E/images/qrect-coordinates.png" /></p><p>Note that for historical reasons the values returned by the <a href="QRect.html#bottom()"><tt>bottom</tt></a> and <a href="QRect.html#right()"><tt>right</tt></a> functions deviate from the true bottom-right corner of the rectangle: The <a href="QRect.html#right()"><tt>right</tt></a> function returns <i> <a href="QRect.html#left()"><tt>left</tt></a> + <a href="QRect.html#width()"><tt>width</tt></a> - 1</i> and the <a href="QRect.html#bottom()"><tt>bottom</tt></a> function returns <i><a href="QRect.html#top()"><tt>top</tt></a> + <a href="QRect.html#height()"><tt>height</tt></a> - 1</i>. The same is the case for the point returned by the <a href="QRect.html#bottomRight()"><tt>bottomRight</tt></a> convenience function. In addition, the x and y coordinate of the <a href="QRect.html#topRight()"><tt>topRight</tt></a> and <a href="QRect.html#bottomLeft()"><tt>bottomLeft</tt></a> functions, respectively, contain the same deviation from the true right and bottom edges.</p>
<p>We recommend that you use <a href="QRect.html#x()"><tt>x</tt></a> + <a href="QRect.html#width()"><tt>width</tt></a> and <a href="QRect.html#y()"><tt>y</tt></a> + <a href="QRect.html#height()"><tt>height</tt></a> to find the true bottom-right corner, and avoid <a href="QRect.html#right()"><tt>right</tt></a> and <a href="QRect.html#bottom()"><tt>bottom</tt></a>. Another solution is to use <a href="QRectF.html"><tt>QRectF</tt></a>: The <a href="QRectF.html"><tt>QRectF</tt></a> class defines a rectangle in the plane using floating point accuracy for coordinates, and the QRectF::right() and QRectF::bottom() functions <i>do</i> return the right and bottom coordinates.</p>
<p>It is also possible to add offsets to this rectangle's coordinates using the <a href="QRect.html#adjust(int, int, int, int)"><tt>adjust</tt></a> function, as well as retrieve a new rectangle based on adjustments of the original one using the <a href="QRect.html#adjusted(int, int, int, int)"><tt>adjusted</tt></a> function. If either of the width and height is negative, use the <a href="QRect.html#normalized()"><tt>normalized</tt></a> function to retrieve a rectangle where the corners are swapped.</p>
<p>In addition, <a href="QRect.html#QRect(int, int, int, int)"><tt>QRect</tt></a> provides the getCoords() function which extracts the position of the rectangle's top-left and bottom-right corner, and the getRect() function which extracts the rectangle's top-left corner, width and height. Use the <a href="QRect.html#setCoords(int, int, int, int)"><tt>setCoords</tt></a> and <a href="QRect.html#setRect(int, int, int, int)"><tt>setRect</tt></a> function to manipulate the rectangle's coordinates and dimensions in one go.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QRectF.html"><tt>QRectF</tt></a>, 
<a href="%2E%2E/gui/QRegion.html"><tt>QRegion</tt></a></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>
</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/core/QRect.html#QRect()">QRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a null rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#QRect(int, int, int, int)">QRect</A></B>(int&nbsp;left,
      int&nbsp;top,
      int&nbsp;width,
      int&nbsp;height)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a rectangle with (<tt>left</tt>, <tt>top</tt>) as its top-left corner and the given <tt>width</tt> and <tt>height</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#QRect(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QPoint)">QRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;topleft,
      <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;bottomright)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a rectangle with the given <tt>topleft</tt> and <tt>bottomright</tt> corners.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#QRect(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QSize)">QRect</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;topleft,
      <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a rectangle with the given <tt>topleft</tt> corner and the given <tt>size</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#adjust(int, int, int, int)">adjust</A></B>(int&nbsp;x1,
       int&nbsp;y1,
       int&nbsp;x2,
       int&nbsp;y2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds <tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt> and <tt>y2</tt> respectively to the existing coordinates of the rectangle.</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/core/QRect.html#adjusted(int, int, int, int)">adjusted</A></B>(int&nbsp;x1,
         int&nbsp;y1,
         int&nbsp;x2,
         int&nbsp;y2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new rectangle with <tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt> and <tt>y2</tt> added respectively to the existing coordinates of this rectangle.</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/core/QRect.html#bottom()">bottom</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y-coordinate of the rectangle's bottom edge.</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/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#bottomLeft()">bottomLeft</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the rectangle's bottom-left corner.</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/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#bottomRight()">bottomRight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the rectangle's bottom-right corner.</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/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#center()">center</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the center point of the rectangle.</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/core/QRect.html#contains(int, int)">contains</A></B>(int&nbsp;x,
         int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the point (<tt>x</tt>, <tt>y</tt>) is inside this rectangle, 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/core/QRect.html#contains(int, int, boolean)">contains</A></B>(int&nbsp;x,
         int&nbsp;y,
         boolean&nbsp;proper)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the point (<tt>x</tt>, <tt>y</tt>) is inside or on the edge of the rectangle, 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/core/QRect.html#contains(com.trolltech.qt.core.QPoint)">contains</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)">contains</tt></a>(<tt>p</tt>, 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/core/QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)">contains</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
         boolean&nbsp;proper)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the the given <tt>p</tt> is inside or on the edge of the rectangle, 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/core/QRect.html#contains(com.trolltech.qt.core.QRect)">contains</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)">contains</tt></a>(<tt>r</tt>, 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/core/QRect.html#contains(com.trolltech.qt.core.QRect, boolean)">contains</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
         boolean&nbsp;proper)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the given <tt>r</tt> is inside this rectangle.</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/core/QRect.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&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/core/QRect.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 QRect instance pointed to by nativePointer</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/core/QRect.html#height()">height</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the rectangle.</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/core/QRect.html#intersected(com.trolltech.qt.core.QRect)">intersected</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intersection of this rectangle and the given <tt>other</tt>.</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/core/QRect.html#intersects(com.trolltech.qt.core.QRect)">intersects</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this rectangle intersects with the given <tt>r</tt> (i.e&#x2e;, there is at least one pixel that is within both rectangles), 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/core/QRect.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the rectangle is empty, 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/core/QRect.html#isNull()">isNull</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the rectangle is a null rectangle, 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/core/QRect.html#isValid()">isValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the rectangle is valid, 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/core/QRect.html#left()">left</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x-coordinate of the rectangle's left edge.</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/core/QRect.html#moveBottom(int)">moveBottom</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle vertically, leaving the rectangle's bottom edge at the given <tt>pos</tt> coordinate.</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/core/QRect.html#moveBottomLeft(com.trolltech.qt.core.QPoint)">moveBottomLeft</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the bottom-left corner at the given <tt>p</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/core/QRect.html#moveBottomRight(com.trolltech.qt.core.QPoint)">moveBottomRight</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the bottom-right corner at the given <tt>p</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/core/QRect.html#moveCenter(com.trolltech.qt.core.QPoint)">moveCenter</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the center point at the given <tt>p</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/core/QRect.html#moveLeft(int)">moveLeft</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle horizontally, leaving the rectangle's left edge at the given <tt>pos</tt> coordinate.</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/core/QRect.html#moveRight(int)">moveRight</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle horizontally, leaving the rectangle's right edge at the given <tt>pos</tt> coordinate.</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/core/QRect.html#moveTo(int, int)">moveTo</A></B>(int&nbsp;x,
       int&nbsp;t)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the top-left corner at the given position (<tt>x</tt>, <tt>t</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/core/QRect.html#moveTo(com.trolltech.qt.core.QPoint)">moveTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the top-left corner at the given <tt>p</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/core/QRect.html#moveTop(int)">moveTop</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle vertically, leaving the rectangle's top edge at the given <tt>pos</tt> coordinate.</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/core/QRect.html#moveTopLeft(com.trolltech.qt.core.QPoint)">moveTopLeft</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the top-left corner at the given <tt>p</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/core/QRect.html#moveTopRight(com.trolltech.qt.core.QPoint)">moveTopRight</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle, leaving the top-right corner at the given <tt>p</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#nativePointerArray(com.trolltech.qt.core.QRect[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QRect array.</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/core/QRect.html#normalized()">normalized</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a normalized rectangle; i.e&#x2e;, a rectangle that has a non-negative width and height.</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/core/QRect.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QRect from arg__1.</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/core/QRect.html#right()">right</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x-coordinate of the rectangle's right edge.</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/core/QRect.html#setBottom(int)">setBottom</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the bottom edge of the rectangle to the given <tt>pos</tt> coordinate.</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/core/QRect.html#setBottomLeft(com.trolltech.qt.core.QPoint)">setBottomLeft</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the bottom-left corner of the rectangle to the given <tt>p</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/core/QRect.html#setBottomRight(com.trolltech.qt.core.QPoint)">setBottomRight</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the bottom-right corner of the rectangle to the given <tt>p</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/core/QRect.html#setCoords(int, int, int, int)">setCoords</A></B>(int&nbsp;x1,
          int&nbsp;y1,
          int&nbsp;x2,
          int&nbsp;y2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the coordinates of the rectangle's top-left corner to (<tt>x1</tt>, <tt>y1</tt>), and the coordinates of its bottom-right corner to (<tt>x2</tt>, <tt>y2</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/core/QRect.html#setHeight(int)">setHeight</A></B>(int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the height of the rectangle to the given <tt>h</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/core/QRect.html#setLeft(int)">setLeft</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the left edge of the rectangle to the given <tt>pos</tt> coordinate.</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/core/QRect.html#setRect(int, int, int, int)">setRect</A></B>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;w,
        int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the coordinates of the rectangle's top-left corner to (<tt>x</tt>, <tt>y</tt>), and its size to the given <tt>w</tt> and <tt>h</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/core/QRect.html#setRight(int)">setRight</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the right edge of the rectangle to the given <tt>pos</tt> coordinate.</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/core/QRect.html#setSize(com.trolltech.qt.core.QSize)">setSize</A></B>(<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;Sets the size of the rectangle to the given <tt>s</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/core/QRect.html#setTop(int)">setTop</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the top edge of the rectangle to the given <tt>pos</tt> coordinate.</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/core/QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)">setTopLeft</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the top-left corner of the rectangle to the given <tt>p</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/core/QRect.html#setTopRight(com.trolltech.qt.core.QPoint)">setTopRight</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the top-right corner of the rectangle to the given <tt>p</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/core/QRect.html#setWidth(int)">setWidth</A></B>(int&nbsp;w)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the width of the rectangle to the given <tt>w</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/core/QRect.html#setX(int)">setX</A></B>(int&nbsp;x)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the left edge of the rectangle to the given <tt>x</tt> coordinate.</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/core/QRect.html#setY(int)">setY</A></B>(int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the top edge of the rectangle to the given <tt>y</tt> coordinate.</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/core/QRect.html#size()">size</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the rectangle.</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/core/QRect.html#top()">top</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y-coordinate of the rectangle's top edge.</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/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#topLeft()">topLeft</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the rectangle's top-left corner.</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/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QRect.html#topRight()">topRight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the position of the rectangle's top-right corner.</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/core/QRect.html#translate(int, int)">translate</A></B>(int&nbsp;dx,
          int&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle <tt>dx</tt> along the x axis and <tt>dy</tt> along the y axis, relative to the current position.</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/core/QRect.html#translate(com.trolltech.qt.core.QPoint)">translate</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the rectangle <tt>p</tt>.x() along the x axis and <tt>p</tt>.y() along the y axis, relative to the current position.</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/core/QRect.html#translated(int, int)">translated</A></B>(int&nbsp;dx,
           int&nbsp;dy)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the rectangle that is translated <tt>dx</tt> along the x axis and <tt>dy</tt> along the y axis, relative to the current position.</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/core/QRect.html#translated(com.trolltech.qt.core.QPoint)">translated</A></B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the rectangle that is translated <tt>p</tt>.x() along the x axis and <tt>p</tt>.y() along the y axis, relative to the current position.</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/core/QRect.html#united(com.trolltech.qt.core.QRect)">united</A></B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding rectangle of this rectangle and the given <tt>other</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/core/QRect.html#width()">width</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the rectangle.</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/core/QRect.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQRect to arg__1.</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/core/QRect.html#x()">x</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x-coordinate of the rectangle's left edge.</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/core/QRect.html#y()">y</A></B>()</CODE>

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

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

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

<A NAME="QRect()"><!-- --></A><H3>
QRect</H3>
<PRE>
public <B>QRect</B>()</PRE>
<DL>
<DD><p>Constructs a null rectangle.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QRect.html#isNull()"><tt>isNull</tt></a></DL>
</DL>
<HR>

<A NAME="QRect(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QSize)"><!-- --></A><H3>
QRect</H3>
<PRE>
public <B>QRect</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;topleft,
             <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size)</PRE>
<DL>
<DD><p>Constructs a rectangle with the given <tt>topleft</tt> corner and the given <tt>size</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)"><tt>setTopLeft</tt></a>, 
<a href="QRect.html#setSize(com.trolltech.qt.core.QSize)"><tt>setSize</tt></a></DL>
</DL>
<HR>

<A NAME="QRect(com.trolltech.qt.core.QPoint, com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
QRect</H3>
<PRE>
public <B>QRect</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;topleft,
             <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;bottomright)</PRE>
<DL>
<DD><p>Constructs a rectangle with the given <tt>topleft</tt> and <tt>bottomright</tt> corners.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)"><tt>setTopLeft</tt></a>, 
<a href="QRect.html#setBottomRight(com.trolltech.qt.core.QPoint)"><tt>setBottomRight</tt></a></DL>
</DL>
<HR>

<A NAME="QRect(int, int, int, int)"><!-- --></A><H3>
QRect</H3>
<PRE>
public <B>QRect</B>(int&nbsp;left,
             int&nbsp;top,
             int&nbsp;width,
             int&nbsp;height)</PRE>
<DL>
<DD><p>Constructs a rectangle with (<tt>left</tt>, <tt>top</tt>) as its top-left corner and the given <tt>width</tt> and <tt>height</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setRect(int, int, int, int)"><tt>setRect</tt></a></DL>
</DL>

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

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

<A NAME="adjust(int, int, int, int)"><!-- --></A><H3>
adjust</H3>
<PRE>
public final void <B>adjust</B>(int&nbsp;x1,
                         int&nbsp;y1,
                         int&nbsp;x2,
                         int&nbsp;y2)</PRE>
<DL>
<DD><p>Adds <tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt> and <tt>y2</tt> respectively to the existing coordinates of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#adjusted(int, int, int, int)"><tt>adjusted</tt></a>, 
<a href="QRect.html#setRect(int, int, int, int)"><tt>setRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="adjusted(int, int, int, int)"><!-- --></A><H3>
adjusted</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>adjusted</B>(int&nbsp;x1,
                            int&nbsp;y1,
                            int&nbsp;x2,
                            int&nbsp;y2)</PRE>
<DL>
<DD><p>Returns a new rectangle with <tt>x1</tt>, <tt>y1</tt>, <tt>x2</tt> and <tt>y2</tt> added respectively to the existing coordinates of this rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#adjust(int, int, int, int)"><tt>adjust</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bottom()"><!-- --></A><H3>
bottom</H3>
<PRE>
public final int <B>bottom</B>()</PRE>
<DL>
<DD><p>Returns the y-coordinate of the rectangle's bottom edge.</p>
<p>Note that for historical reasons this function returns <a href="QRect.html#top()"><tt>top</tt></a> + <a href="QRect.html#height()"><tt>height</tt></a> - 1; use <a href="QRect.html#y()"><tt>y</tt></a> + <a href="QRect.html#height()"><tt>height</tt></a> to retrieve the true y-coordinate.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setBottom(int)"><tt>setBottom</tt></a>, 
<a href="QRect.html#bottomLeft()"><tt>bottomLeft</tt></a>, 
<a href="QRect.html#bottomRight()"><tt>bottomRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bottomLeft()"><!-- --></A><H3>
bottomLeft</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>bottomLeft</B>()</PRE>
<DL>
<DD><p>Returns the position of the rectangle's bottom-left corner. Note that for historical reasons this function returns <a href="QPoint.html"><tt>QPoint</tt></a>(<a href="QRect.html#left()"><tt>left</tt></a>, <a href="QRect.html#top()"><tt>top</tt></a> + <a href="QRect.html#height()"><tt>height</tt></a> - 1).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setBottomLeft(com.trolltech.qt.core.QPoint)"><tt>setBottomLeft</tt></a>, 
<a href="QRect.html#bottom()"><tt>bottom</tt></a>, 
<a href="QRect.html#left()"><tt>left</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="bottomRight()"><!-- --></A><H3>
bottomRight</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>bottomRight</B>()</PRE>
<DL>
<DD><p>Returns the position of the rectangle's bottom-right corner.</p>
<p>Note that for historical reasons this function returns <a href="QPoint.html"><tt>QPoint</tt></a>(<a href="QRect.html#left()"><tt>left</tt></a> + <a href="QRect.html#width()"><tt>width</tt></a> -1, <a href="QRect.html#top()"><tt>top</tt></a> + <a href="QRect.html#height()"><tt>height</tt></a> - 1).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setBottomRight(com.trolltech.qt.core.QPoint)"><tt>setBottomRight</tt></a>, 
<a href="QRect.html#bottom()"><tt>bottom</tt></a>, 
<a href="QRect.html#right()"><tt>right</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="center()"><!-- --></A><H3>
center</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>center</B>()</PRE>
<DL>
<DD><p>Returns the center point of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#moveCenter(com.trolltech.qt.core.QPoint)"><tt>moveCenter</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contains(int, int)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(int&nbsp;x,
                              int&nbsp;y)</PRE>
<DL>
<DD><p>Returns true if the point (<tt>x</tt>, <tt>y</tt>) is inside this rectangle, otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</PRE>
<DL>
<DD><p>Equivalent to <a href="QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)">contains</tt></a>(<tt>r</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QRect, boolean)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r,
                              boolean&nbsp;proper)</PRE>
<DL>
<DD><p>Returns true if the given <tt>r</tt> is inside this rectangle. otherwise returns false. If <tt>proper</tt> is true, this function only returns true if the <tt>r</tt> is entirely inside this rectangle (not on the edge).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(int, int, boolean)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(int&nbsp;x,
                              int&nbsp;y,
                              boolean&nbsp;proper)</PRE>
<DL>
<DD><p>Returns true if the point (<tt>x</tt>, <tt>y</tt>) is inside or on the edge of the rectangle, otherwise returns false. If <tt>proper</tt> is true, this function only returns true if the point is entirely inside the rectangle(not on the edge).</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Equivalent to <a href="QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)">contains</tt></a>(<tt>p</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QPoint, boolean)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p,
                              boolean&nbsp;proper)</PRE>
<DL>
<DD><p>Returns true if the the given <tt>p</tt> is inside or on the edge of the rectangle, otherwise returns false. If <tt>proper</tt> is true, this function only returns true if the given <tt>p</tt> is <i>inside</i> the rectangle (i.e&#x2e;, not on the edge).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#intersects(com.trolltech.qt.core.QRect)"><tt>intersects</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public final int <B>height</B>()</PRE>
<DL>
<DD><p>Returns the height of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setHeight(int)"><tt>setHeight</tt></a>, 
<a href="QRect.html#width()"><tt>width</tt></a>, 
<a href="QRect.html#size()"><tt>size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="intersected(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
intersected</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>intersected</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;other)</PRE>
<DL>
<DD><p>Returns the intersection of this rectangle and the given <tt>other</tt>. Note that <tt>r.intersected(s)</tt> is equivalent to <tt>r &amp; s</tt>.</p>
<p align="center"><img src="%2E%2E/images/qrect-intersect.png" /></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#intersects(com.trolltech.qt.core.QRect)"><tt>intersects</tt></a>, 
<a href="QRect.html#united(com.trolltech.qt.core.QRect)"><tt>united</tt></a>, 
<tt>operator&amp;=</tt></DL>
</DD>
</DL>
<HR>

<A NAME="intersects(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
intersects</H3>
<PRE>
public final boolean <B>intersects</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;r)</PRE>
<DL>
<DD><p>Returns true if this rectangle intersects with the given <tt>r</tt> (i.e&#x2e;, there is at least one pixel that is within both rectangles), otherwise returns false.</p>
<p>The intersection rectangle can be retrieved using the <a href="QRect.html#intersected(com.trolltech.qt.core.QRect)"><tt>intersected</tt></a> function.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#contains(com.trolltech.qt.core.QPoint, boolean)"><tt>contains</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public final boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><p>Returns true if the rectangle is empty, otherwise returns false.</p>
<p>An empty rectangle has a <a href="QRect.html#left()"><tt>left</tt></a> &gt; <a href="QRect.html#right()"><tt>right</tt></a> or <a href="QRect.html#top()"><tt>top</tt></a> &gt; <a href="QRect.html#bottom()"><tt>bottom</tt></a>. An empty rectangle is not valid (i.e&#x2e;, <a href="QRect.html#isEmpty()"><tt>isEmpty</tt></a> == !<a href="QRect.html#isValid()"><tt>isValid</tt></a>).</p>
<p>Use the <a href="QRect.html#normalized()"><tt>normalized</tt></a> function to retrieve a rectangle where the corners are swapped.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#isNull()"><tt>isNull</tt></a>, 
<a href="QRect.html#isValid()"><tt>isValid</tt></a>, 
<a href="QRect.html#normalized()"><tt>normalized</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isNull()"><!-- --></A><H3>
isNull</H3>
<PRE>
public final boolean <B>isNull</B>()</PRE>
<DL>
<DD><p>Returns true if the rectangle is a null rectangle, otherwise returns false.</p>
<p>A null rectangle has both the width and the height set to 0 (i.e&#x2e;, <a href="QRect.html#right()"><tt>right</tt></a> == <a href="QRect.html#left()"><tt>left</tt></a> - 1 and <a href="QRect.html#bottom()"><tt>bottom</tt></a> == <a href="QRect.html#top()"><tt>top</tt></a> - 1). A null rectangle is also empty, and hence is not valid.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#isEmpty()"><tt>isEmpty</tt></a>, 
<a href="QRect.html#isValid()"><tt>isValid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isValid()"><!-- --></A><H3>
isValid</H3>
<PRE>
public final boolean <B>isValid</B>()</PRE>
<DL>
<DD><p>Returns true if the rectangle is valid, otherwise returns false.</p>
<p>A valid rectangle has a <a href="QRect.html#left()"><tt>left</tt></a> &lt; <a href="QRect.html#right()"><tt>right</tt></a> and <a href="QRect.html#top()"><tt>top</tt></a> &lt; <a href="QRect.html#bottom()"><tt>bottom</tt></a>. Note that non-trivial operations like intersections are not defined for invalid rectangles. A valid rectangle is not empty (i.e&#x2e;, <a href="QRect.html#isValid()"><tt>isValid</tt></a> == !<a href="QRect.html#isEmpty()"><tt>isEmpty</tt></a>).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#isNull()"><tt>isNull</tt></a>, 
<a href="QRect.html#isEmpty()"><tt>isEmpty</tt></a>, 
<a href="QRect.html#normalized()"><tt>normalized</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="left()"><!-- --></A><H3>
left</H3>
<PRE>
public final int <B>left</B>()</PRE>
<DL>
<DD><p>Returns the x-coordinate of the rectangle's left edge. Equivalent to <a href="QRect.html#x()"><tt>x</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setLeft(int)"><tt>setLeft</tt></a>, 
<a href="QRect.html#topLeft()"><tt>topLeft</tt></a>, 
<a href="QRect.html#bottomLeft()"><tt>bottomLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveBottom(int)"><!-- --></A><H3>
moveBottom</H3>
<PRE>
public final void <B>moveBottom</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Moves the rectangle vertically, leaving the rectangle's bottom edge at the given <tt>pos</tt> coordinate. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#bottom()"><tt>bottom</tt></a>, 
<a href="QRect.html#setBottom(int)"><tt>setBottom</tt></a>, 
<a href="QRect.html#moveTop(int)"><tt>moveTop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveBottomLeft(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
moveBottomLeft</H3>
<PRE>
public final void <B>moveBottomLeft</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the bottom-left corner at the given <tt>p</tt>. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setBottomLeft(com.trolltech.qt.core.QPoint)"><tt>setBottomLeft</tt></a>, 
<a href="QRect.html#moveBottom(int)"><tt>moveBottom</tt></a>, 
<a href="QRect.html#moveLeft(int)"><tt>moveLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveBottomRight(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
moveBottomRight</H3>
<PRE>
public final void <B>moveBottomRight</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the bottom-right corner at the given <tt>p</tt>. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setBottomRight(com.trolltech.qt.core.QPoint)"><tt>setBottomRight</tt></a>, 
<a href="QRect.html#moveRight(int)"><tt>moveRight</tt></a>, 
<a href="QRect.html#moveBottom(int)"><tt>moveBottom</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveCenter(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
moveCenter</H3>
<PRE>
public final void <B>moveCenter</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the center point at the given <tt>p</tt>. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#center()"><tt>center</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveLeft(int)"><!-- --></A><H3>
moveLeft</H3>
<PRE>
public final void <B>moveLeft</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Moves the rectangle horizontally, leaving the rectangle's left edge at the given <tt>pos</tt> coordinate. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#left()"><tt>left</tt></a>, 
<a href="QRect.html#setLeft(int)"><tt>setLeft</tt></a>, 
<a href="QRect.html#moveRight(int)"><tt>moveRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveRight(int)"><!-- --></A><H3>
moveRight</H3>
<PRE>
public final void <B>moveRight</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Moves the rectangle horizontally, leaving the rectangle's right edge at the given <tt>pos</tt> coordinate. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#right()"><tt>right</tt></a>, 
<a href="QRect.html#setRight(int)"><tt>setRight</tt></a>, 
<a href="QRect.html#moveLeft(int)"><tt>moveLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveTo(int, int)"><!-- --></A><H3>
moveTo</H3>
<PRE>
public final void <B>moveTo</B>(int&nbsp;x,
                         int&nbsp;t)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the top-left corner at the given position (<tt>x</tt>, <tt>t</tt>). The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a>, 
<a href="QRect.html#moveTopLeft(com.trolltech.qt.core.QPoint)"><tt>moveTopLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveTo(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
moveTo</H3>
<PRE>
public final void <B>moveTo</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the top-left corner at the given <tt>p</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="moveTop(int)"><!-- --></A><H3>
moveTop</H3>
<PRE>
public final void <B>moveTop</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Moves the rectangle vertically, leaving the rectangle's top edge at the given <tt>pos</tt> coordinate. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#top()"><tt>top</tt></a>, 
<a href="QRect.html#setTop(int)"><tt>setTop</tt></a>, 
<a href="QRect.html#moveBottom(int)"><tt>moveBottom</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveTopLeft(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
moveTopLeft</H3>
<PRE>
public final void <B>moveTopLeft</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the top-left corner at the given <tt>p</tt>. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)"><tt>setTopLeft</tt></a>, 
<a href="QRect.html#moveTop(int)"><tt>moveTop</tt></a>, 
<a href="QRect.html#moveLeft(int)"><tt>moveLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="moveTopRight(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
moveTopRight</H3>
<PRE>
public final void <B>moveTopRight</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle, leaving the top-right corner at the given <tt>p</tt>. The rectangle's size is unchanged.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTopRight(com.trolltech.qt.core.QPoint)"><tt>setTopRight</tt></a>, 
<a href="QRect.html#moveTop(int)"><tt>moveTop</tt></a>, 
<a href="QRect.html#moveRight(int)"><tt>moveRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="normalized()"><!-- --></A><H3>
normalized</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>normalized</B>()</PRE>
<DL>
<DD><p>Returns a normalized rectangle; i.e&#x2e;, a rectangle that has a non-negative width and height.</p>
<p>If <a href="QRect.html#width()"><tt>width</tt></a> &lt; 0 the function swaps the left and right corners, and it swaps the top and bottom corners if <a href="QRect.html#height()"><tt>height</tt></a> &lt; 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#isValid()"><tt>isValid</tt></a>, 
<a href="QRect.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DD>
</DL>
<HR>

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

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

<A NAME="right()"><!-- --></A><H3>
right</H3>
<PRE>
public final int <B>right</B>()</PRE>
<DL>
<DD><p>Returns the x-coordinate of the rectangle's right edge.</p>
<p>Note that for historical reasons this function returns <a href="QRect.html#left()"><tt>left</tt></a> + <a href="QRect.html#width()"><tt>width</tt></a> - 1; use <a href="QRect.html#x()"><tt>x</tt></a> + <a href="QRect.html#width()"><tt>width</tt></a> to retrieve the true x-coordinate.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setRight(int)"><tt>setRight</tt></a>, 
<a href="QRect.html#topRight()"><tt>topRight</tt></a>, 
<a href="QRect.html#bottomRight()"><tt>bottomRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBottom(int)"><!-- --></A><H3>
setBottom</H3>
<PRE>
public final void <B>setBottom</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Sets the bottom edge of the rectangle to the given <tt>pos</tt> coordinate. May change the height, but will never change the top edge of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#bottom()"><tt>bottom</tt></a>, 
<a href="QRect.html#moveBottom(int)"><tt>moveBottom</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBottomLeft(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setBottomLeft</H3>
<PRE>
public final void <B>setBottomLeft</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Set the bottom-left corner of the rectangle to the given <tt>p</tt>. May change the size, but will the never change the top-right corner of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#bottomLeft()"><tt>bottomLeft</tt></a>, 
<a href="QRect.html#moveBottomLeft(com.trolltech.qt.core.QPoint)"><tt>moveBottomLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setBottomRight(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setBottomRight</H3>
<PRE>
public final void <B>setBottomRight</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Set the bottom-right corner of the rectangle to the given <tt>p</tt>. May change the size, but will the never change the top-left corner of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#bottomRight()"><tt>bottomRight</tt></a>, 
<a href="QRect.html#moveBottomRight(com.trolltech.qt.core.QPoint)"><tt>moveBottomRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCoords(int, int, int, int)"><!-- --></A><H3>
setCoords</H3>
<PRE>
public final void <B>setCoords</B>(int&nbsp;x1,
                            int&nbsp;y1,
                            int&nbsp;x2,
                            int&nbsp;y2)</PRE>
<DL>
<DD><p>Sets the coordinates of the rectangle's top-left corner to (<tt>x1</tt>, <tt>y1</tt>), and the coordinates of its bottom-right corner to (<tt>x2</tt>, <tt>y2</tt>).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getCoords</tt>, 
<a href="QRect.html#setRect(int, int, int, int)"><tt>setRect</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setHeight(int)"><!-- --></A><H3>
setHeight</H3>
<PRE>
public final void <B>setHeight</B>(int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the height of the rectangle to the given <tt>h</tt>. The bottom edge is changed, but not the top one.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#height()"><tt>height</tt></a>, 
<a href="QRect.html#setSize(com.trolltech.qt.core.QSize)"><tt>setSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setLeft(int)"><!-- --></A><H3>
setLeft</H3>
<PRE>
public final void <B>setLeft</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Sets the left edge of the rectangle to the given <tt>pos</tt> coordinate. May change the width, but will never change the right edge of the rectangle.</p>
<p>Equivalent to <a href="QRect.html#setX(int)"><tt>setX</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#left()"><tt>left</tt></a>, 
<a href="QRect.html#moveLeft(int)"><tt>moveLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRect(int, int, int, int)"><!-- --></A><H3>
setRect</H3>
<PRE>
public final void <B>setRect</B>(int&nbsp;x,
                          int&nbsp;y,
                          int&nbsp;w,
                          int&nbsp;h)</PRE>
<DL>
<DD><p>Sets the coordinates of the rectangle's top-left corner to (<tt>x</tt>, <tt>y</tt>), and its size to the given <tt>w</tt> and <tt>h</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>getRect</tt>, 
<a href="QRect.html#setCoords(int, int, int, int)"><tt>setCoords</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setRight(int)"><!-- --></A><H3>
setRight</H3>
<PRE>
public final void <B>setRight</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Sets the right edge of the rectangle to the given <tt>pos</tt> coordinate. May change the width, but will never change the left edge of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#right()"><tt>right</tt></a>, 
<a href="QRect.html#moveRight(int)"><tt>moveRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setSize</H3>
<PRE>
public final void <B>setSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;s)</PRE>
<DL>
<DD><p>Sets the size of the rectangle to the given <tt>s</tt>. The top-left corner is not moved.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#size()"><tt>size</tt></a>, 
<a href="QRect.html#setWidth(int)"><tt>setWidth</tt></a>, 
<a href="QRect.html#setHeight(int)"><tt>setHeight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setTop(int)"><!-- --></A><H3>
setTop</H3>
<PRE>
public final void <B>setTop</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Sets the top edge of the rectangle to the given <tt>pos</tt> coordinate. May change the height, but will never change the bottom edge of the rectangle.</p>
<p>Equivalent to <a href="QRect.html#setY(int)"><tt>setY</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#top()"><tt>top</tt></a>, 
<a href="QRect.html#moveTop(int)"><tt>moveTop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setTopLeft(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setTopLeft</H3>
<PRE>
public final void <B>setTopLeft</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Set the top-left corner of the rectangle to the given <tt>p</tt>. May change the size, but will the never change the bottom-right corner of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#topLeft()"><tt>topLeft</tt></a>, 
<a href="QRect.html#moveTopLeft(com.trolltech.qt.core.QPoint)"><tt>moveTopLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setTopRight(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
setTopRight</H3>
<PRE>
public final void <B>setTopRight</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Set the top-right corner of the rectangle to the given <tt>p</tt>. May change the size, but will the never change the bottom-left corner of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#topRight()"><tt>topRight</tt></a>, 
<a href="QRect.html#moveTopRight(com.trolltech.qt.core.QPoint)"><tt>moveTopRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setWidth(int)"><!-- --></A><H3>
setWidth</H3>
<PRE>
public final void <B>setWidth</B>(int&nbsp;w)</PRE>
<DL>
<DD><p>Sets the width of the rectangle to the given <tt>w</tt>. The right edge is changed, but not the left one.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#width()"><tt>width</tt></a>, 
<a href="QRect.html#setSize(com.trolltech.qt.core.QSize)"><tt>setSize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setX(int)"><!-- --></A><H3>
setX</H3>
<PRE>
public final void <B>setX</B>(int&nbsp;x)</PRE>
<DL>
<DD><p>Sets the left edge of the rectangle to the given <tt>x</tt> coordinate. May change the width, but will never change the right edge of the rectangle.</p>
<p>Equivalent to <a href="QRect.html#setLeft(int)"><tt>setLeft</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#x()"><tt>x</tt></a>, 
<a href="QRect.html#setY(int)"><tt>setY</tt></a>, 
<a href="QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)"><tt>setTopLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setY(int)"><!-- --></A><H3>
setY</H3>
<PRE>
public final void <B>setY</B>(int&nbsp;y)</PRE>
<DL>
<DD><p>Sets the top edge of the rectangle to the given <tt>y</tt> coordinate. May change the height, but will never change the bottom edge of the rectangle.</p>
<p>Equivalent to <a href="QRect.html#setTop(int)"><tt>setTop</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#y()"><tt>y</tt></a>, 
<a href="QRect.html#setX(int)"><tt>setX</tt></a>, 
<a href="QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)"><tt>setTopLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>size</B>()</PRE>
<DL>
<DD><p>Returns the size of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setSize(com.trolltech.qt.core.QSize)"><tt>setSize</tt></a>, 
<a href="QRect.html#width()"><tt>width</tt></a>, 
<a href="QRect.html#height()"><tt>height</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="top()"><!-- --></A><H3>
top</H3>
<PRE>
public final int <B>top</B>()</PRE>
<DL>
<DD><p>Returns the y-coordinate of the rectangle's top edge. Equivalent to <a href="QRect.html#y()"><tt>y</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTop(int)"><tt>setTop</tt></a>, 
<a href="QRect.html#topLeft()"><tt>topLeft</tt></a>, 
<a href="QRect.html#topRight()"><tt>topRight</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="topLeft()"><!-- --></A><H3>
topLeft</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>topLeft</B>()</PRE>
<DL>
<DD><p>Returns the position of the rectangle's top-left corner.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTopLeft(com.trolltech.qt.core.QPoint)"><tt>setTopLeft</tt></a>, 
<a href="QRect.html#top()"><tt>top</tt></a>, 
<a href="QRect.html#left()"><tt>left</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="topRight()"><!-- --></A><H3>
topRight</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A> <B>topRight</B>()</PRE>
<DL>
<DD><p>Returns the position of the rectangle's top-right corner.</p>
<p>Note that for historical reasons this function returns <a href="QPoint.html"><tt>QPoint</tt></a>(<a href="QRect.html#left()"><tt>left</tt></a> + <a href="QRect.html#width()"><tt>width</tt></a> -1, <a href="QRect.html#top()"><tt>top</tt></a>).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setTopRight(com.trolltech.qt.core.QPoint)"><tt>setTopRight</tt></a>, 
<a href="QRect.html#top()"><tt>top</tt></a>, 
<a href="QRect.html#right()"><tt>right</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="translate(int, int)"><!-- --></A><H3>
translate</H3>
<PRE>
public final void <B>translate</B>(int&nbsp;dx,
                            int&nbsp;dy)</PRE>
<DL>
<DD><p>Moves the rectangle <tt>dx</tt> along the x axis and <tt>dy</tt> along the y axis, relative to the current position. Positive values move the rectangle to the right and down.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#moveTopLeft(com.trolltech.qt.core.QPoint)"><tt>moveTopLeft</tt></a>, 
<a href="QRect.html#moveTo(com.trolltech.qt.core.QPoint)"><tt>moveTo</tt></a>, 
<a href="QRect.html#translated(com.trolltech.qt.core.QPoint)"><tt>translated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="translate(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
translate</H3>
<PRE>
public final void <B>translate</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Moves the rectangle <tt>p</tt>.x() along the x axis and <tt>p</tt>.y() along the y axis, relative to the current position.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="translated(int, int)"><!-- --></A><H3>
translated</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>translated</B>(int&nbsp;dx,
                              int&nbsp;dy)</PRE>
<DL>
<DD><p>Returns a copy of the rectangle that is translated <tt>dx</tt> along the x axis and <tt>dy</tt> along the y axis, relative to the current position. Positive values move the rectangle to the right and down.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#translate(com.trolltech.qt.core.QPoint)"><tt>translate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="translated(com.trolltech.qt.core.QPoint)"><!-- --></A><H3>
translated</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>translated</B>(<A HREF="../../../../com/trolltech/qt/core/QPoint.html" title="class in com.trolltech.qt.core">QPoint</A>&nbsp;p)</PRE>
<DL>
<DD><p>Returns a copy of the rectangle that is translated <tt>p</tt>.x() along the x axis and <tt>p</tt>.y() along the y axis, relative to the current position.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="united(com.trolltech.qt.core.QRect)"><!-- --></A><H3>
united</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>united</B>(<A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&nbsp;other)</PRE>
<DL>
<DD><p>Returns the bounding rectangle of this rectangle and the given <tt>other</tt>.</p>
<p align="center"><img src="%2E%2E/images/qrect-unite.png" /></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#intersected(com.trolltech.qt.core.QRect)"><tt>intersected</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public final int <B>width</B>()</PRE>
<DL>
<DD><p>Returns the width of the rectangle.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setWidth(int)"><tt>setWidth</tt></a>, 
<a href="QRect.html#height()"><tt>height</tt></a>, 
<a href="QRect.html#size()"><tt>size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="x()"><!-- --></A><H3>
x</H3>
<PRE>
public final int <B>x</B>()</PRE>
<DL>
<DD><p>Returns the x-coordinate of the rectangle's left edge. Equivalent to <a href="QRect.html#left()"><tt>left</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setX(int)"><tt>setX</tt></a>, 
<a href="QRect.html#y()"><tt>y</tt></a>, 
<a href="QRect.html#topLeft()"><tt>topLeft</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="y()"><!-- --></A><H3>
y</H3>
<PRE>
public final int <B>y</B>()</PRE>
<DL>
<DD><p>Returns the y-coordinate of the rectangle's top edge. Equivalent to <a href="QRect.html#top()"><tt>top</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QRect.html#setY(int)"><tt>setY</tt></a>, 
<a href="QRect.html#x()"><tt>x</tt></a>, 
<a href="QRect.html#topLeft()"><tt>topLeft</tt></a></DL>
</DD>
</DL>
<HR>

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

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

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


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

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QProcess.ProcessState.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QRectF.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QRect.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QRect.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_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">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>