Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2176

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

<class name="QRectF" doc="/**
&lt;p&gt;The &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; class defines a rectangle in the plane using floating point precision.&lt;/p&gt;
&lt;p&gt;A rectangle is normally expressed as an upper-left corner and a size. The size (width and height) of a &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; is always equivalent to the mathematical rectangle that forms the basis for its rendering.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; can be constructed with a set of left, top, width and height integers, or from a &lt;a href=&quot;QPoint.html&quot;&gt;&lt;tt&gt;QPoint&lt;/tt&gt;&lt;/a&gt; and a &lt;a href=&quot;QSize.html&quot;&gt;&lt;tt&gt;QSize&lt;/tt&gt;&lt;/a&gt;. The following code creates two identical rectangles.&lt;/p&gt;
&lt;pre&gt;    QRectF r1(100, 200, 11, 16);
    QRectF r2(QPoint(100, 200), QSize(11, 16));&lt;/pre&gt;
&lt;p&gt;There is also a third constructor creating a &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; from a &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt;, and a corresponding &lt;a href=&quot;QRectF.html#toRect()&quot;&gt;&lt;tt&gt;toRect&lt;/tt&gt;&lt;/a&gt; function that returns a &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; object based on the values of this rectangle (note that the coordinates in the returned rectangle are rounded to the nearest integer).&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; class provides a collection of functions that return the various rectangle coordinates, and enable manipulation of these. &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; also provide functions to move the rectangle relative to the various coordinates. In addition there is a &lt;a href=&quot;QRectF.html#moveTo(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveTo&lt;/tt&gt;&lt;/a&gt; function that moves the rectangle, leaving its top left corner at the given coordinates. Alternatively, the &lt;a href=&quot;QRectF.html#translate(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt; function moves the rectangle the given offset relative to the current position, and the &lt;a href=&quot;QRectF.html#translated(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;translated&lt;/tt&gt;&lt;/a&gt; function returns a translated copy of this rectangle.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QRectF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; function returns the rectange's dimensions as a &lt;a href=&quot;QSize.html&quot;&gt;&lt;tt&gt;QSize&lt;/tt&gt;&lt;/a&gt;. The dimensions can also be retrieved separately using the &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt; functions. To manipulate the dimensions use the &lt;a href=&quot;QRectF.html#setSize(com.trolltech.qt.core.QSizeF)&quot;&gt;&lt;tt&gt;setSize&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRectF.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QRectF.html#setHeight(double)&quot;&gt;&lt;tt&gt;setHeight&lt;/tt&gt;&lt;/a&gt; functions. Alternatively, the size can be changed by applying either of the functions setting the rectangle coordinates, for example, &lt;a href=&quot;QRectF.html#setBottom(double)&quot;&gt;&lt;tt&gt;setBottom&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QRectF.html#setRight(double)&quot;&gt;&lt;tt&gt;setRight&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QRectF.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; function tells whether a given point is inside the rectangle or not, and the &lt;a href=&quot;QRectF.html#intersects(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersects&lt;/tt&gt;&lt;/a&gt; function returns true if this rectangle intersects with a given rectangle (otherwise false). The &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; class also provides the &lt;a href=&quot;QRectF.html#intersected(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersected&lt;/tt&gt;&lt;/a&gt; function which returns the intersection rectangle, and the &lt;a href=&quot;QRectF.html#united(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;united&lt;/tt&gt;&lt;/a&gt; function which returns the rectangle that encloses the given rectangle and this:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qrect-intersect.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qrect-unite.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QRectF.html#intersected(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersected&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;QRectF.html#united(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;united&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QRectF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt; function returns true if the rectangle's width or height is less than, or equal to, 0. Note that an empty rectangle is not valid: The &lt;a href=&quot;QRectF.html#isValid()&quot;&gt;&lt;tt&gt;isValid&lt;/tt&gt;&lt;/a&gt; function returns true if both width and height is larger than 0. A null rectangle (&lt;a href=&quot;QRectF.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt; == true) on the other hand, has both width and height set to 0.&lt;/p&gt;
&lt;p&gt;Note that due to the way &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; are defined, an empty &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; is defined in essentially the same way as &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Finally, &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; objects can be streamed as well as compared.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#rendering&quot;&gt;Rendering&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#coordinates&quot;&gt;Coordinates&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;a name=&quot;rendering&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Rendering&lt;/h3&gt;
&lt;p&gt;When using an anti-aliased&lt;/tt&gt; painter, the boundary line of a &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; 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.&lt;/p&gt;
&lt;p&gt;Then, when rendering with a one pixel wide pen the &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;'s boundary line will be rendered to the right and below the mathematical rectangle's boundary line.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qrect-diagram-zero.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qrectf-diagram-one.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Logical representation&lt;/td&gt;&lt;td&gt;One pixel wide pen&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qrectf-diagram-two.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/qrectf-diagram-three.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;Two pixel wide pen&lt;/td&gt;&lt;td&gt;Three pixel wide pen&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;a name=&quot;coordinates&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Coordinates&lt;/h3&gt;
&lt;p&gt;The &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; class provides a collection of functions that return the various rectangle coordinates, and enable manipulation of these. &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; also provide functions to move the rectangle relative to the various coordinates.&lt;/p&gt;
&lt;p&gt;For example: the &lt;a href=&quot;QRectF.html#bottom()&quot;&gt;&lt;tt&gt;bottom&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QRectF.html#setBottom(double)&quot;&gt;&lt;tt&gt;setBottom&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QRectF.html#moveBottom(double)&quot;&gt;&lt;tt&gt;moveBottom&lt;/tt&gt;&lt;/a&gt; functions: &lt;a href=&quot;QRectF.html#bottom()&quot;&gt;&lt;tt&gt;bottom&lt;/tt&gt;&lt;/a&gt; returns the y-coordinate of the rectangle's bottom edge, &lt;a href=&quot;QRectF.html#setBottom(double)&quot;&gt;&lt;tt&gt;setBottom&lt;/tt&gt;&lt;/a&gt; sets the bottom edge of the rectangle to the given y coordinate (it may change the height, but will never change the rectangle's top edge) and &lt;a href=&quot;QRectF.html#moveBottom(double)&quot;&gt;&lt;tt&gt;moveBottom&lt;/tt&gt;&lt;/a&gt; moves the entire rectangle vertically, leaving the rectangle's bottom edge at the given y coordinate and its size unchanged.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qrectf-coordinates.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;It is also possible to add offsets to this rectangle's coordinates using the &lt;a href=&quot;QRectF.html#adjust(double, double, double, double)&quot;&gt;&lt;tt&gt;adjust&lt;/tt&gt;&lt;/a&gt; function, as well as retrieve a new rectangle based on adjustments of the original one using the &lt;a href=&quot;QRectF.html#adjusted(double, double, double, double)&quot;&gt;&lt;tt&gt;adjusted&lt;/tt&gt;&lt;/a&gt; function. If either of the width and height is negative, use the &lt;a href=&quot;QRectF.html#normalized()&quot;&gt;&lt;tt&gt;normalized&lt;/tt&gt;&lt;/a&gt; function to retrieve a rectangle where the corners are swapped.&lt;/p&gt;
&lt;p&gt;In addition, &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; 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 &lt;a href=&quot;QRectF.html#setCoords(double, double, double, double)&quot;&gt;&lt;tt&gt;setCoords&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QRectF.html#setRect(double, double, double, double)&quot;&gt;&lt;tt&gt;setRect&lt;/tt&gt;&lt;/a&gt; function to manipulate the rectangle's coordinates and dimensions in one go.&lt;/p&gt;

@see &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/gui/QRegion.html&quot;&gt;&lt;tt&gt;QRegion&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QRectF(com.trolltech.qt.core.QRect rect)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; rectangle from the given &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; &lt;tt&gt;rect&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#toRect()&quot;&gt;&lt;tt&gt;toRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QRectF()" doc="/**
&lt;p&gt;Constructs a null rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QRectF(com.trolltech.qt.core.QPointF topleft, com.trolltech.qt.core.QPointF bottomRight)" doc="/**
&lt;p&gt;Constructs a rectangle with the given &lt;tt&gt;topleft&lt;/tt&gt; and &lt;tt&gt;bottomRight&lt;/tt&gt; corners.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setBottomRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setBottomRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QRectF(com.trolltech.qt.core.QPointF topleft, com.trolltech.qt.core.QSizeF size)" doc="/**
&lt;p&gt;Constructs a rectangle with the given &lt;tt&gt;topleft&lt;/tt&gt; corner and the given &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setSize(com.trolltech.qt.core.QSizeF)&quot;&gt;&lt;tt&gt;setSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QRectF(double left, double top, double width, double height)" doc="/**
&lt;p&gt;Constructs a rectangle with (&lt;tt&gt;left&lt;/tt&gt;, &lt;tt&gt;top&lt;/tt&gt;) as its top-left corner and the given &lt;tt&gt;width&lt;/tt&gt; and &lt;tt&gt;height&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setRect(double, double, double, double)&quot;&gt;&lt;tt&gt;setRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void adjust(double x1, double y1, double x2, double y2)" doc="/**
&lt;p&gt;Adds &lt;tt&gt;x1&lt;/tt&gt;, &lt;tt&gt;y1&lt;/tt&gt;, &lt;tt&gt;x2&lt;/tt&gt; and &lt;tt&gt;y2&lt;/tt&gt; respectively to the existing coordinates of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#adjusted(double, double, double, double)&quot;&gt;&lt;tt&gt;adjusted&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setRect(double, double, double, double)&quot;&gt;&lt;tt&gt;setRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRectF adjusted(double x1, double y1, double x2, double y2)" doc="/**
&lt;p&gt;Returns a new rectangle with &lt;tt&gt;x1&lt;/tt&gt;, &lt;tt&gt;y1&lt;/tt&gt;, &lt;tt&gt;x2&lt;/tt&gt; and &lt;tt&gt;y2&lt;/tt&gt; added respectively to the existing coordinates of this rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#adjust(double, double, double, double)&quot;&gt;&lt;tt&gt;adjust&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double bottom()" doc="/**
&lt;p&gt;Returns the y-coordinate of the rectangle's bottom edge.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setBottom(double)&quot;&gt;&lt;tt&gt;setBottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#bottomLeft()&quot;&gt;&lt;tt&gt;bottomLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#bottomRight()&quot;&gt;&lt;tt&gt;bottomRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF bottomLeft()" doc="/**
&lt;p&gt;Returns the position of the rectangle's bottom-left corner.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setBottomLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setBottomLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#bottom()&quot;&gt;&lt;tt&gt;bottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#left()&quot;&gt;&lt;tt&gt;left&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF bottomRight()" doc="/**
&lt;p&gt;Returns the position of the rectangle's bottom-right corner.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setBottomRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setBottomRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#bottom()&quot;&gt;&lt;tt&gt;bottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#right()&quot;&gt;&lt;tt&gt;right&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF center()" doc="/**
&lt;p&gt;Returns the center point of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#moveCenter(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveCenter&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean contains(com.trolltech.qt.core.QRectF r)" doc="/**
&lt;p&gt;Returns true if the given &lt;tt&gt;r&lt;/tt&gt; is inside this rectangle; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean contains(double x, double y)" doc="/**
&lt;p&gt;Returns true if the point (&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;) is inside or on the edge of the rectangle; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean contains(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Returns true if the given &lt;tt&gt;p&lt;/tt&gt; is inside or on the edge of the rectangle; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#intersects(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersects&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double height()" doc="/**
&lt;p&gt;Returns the height of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setHeight(double)&quot;&gt;&lt;tt&gt;setHeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRectF intersected(com.trolltech.qt.core.QRectF other)" doc="/**
&lt;p&gt;Returns the intersection of this rectangle and the given &lt;tt&gt;other&lt;/tt&gt;. Note that &lt;tt&gt;r.intersected(s)&lt;/tt&gt; is equivalent to &lt;tt&gt;r &amp;amp; s&lt;/tt&gt;.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qrect-intersect.png&quot; /&gt;&lt;/p&gt;
@see &lt;a href=&quot;QRectF.html#intersects(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersects&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#united(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;united&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;operator&amp;amp;=&lt;/tt&gt; */"/>
    <method name="public final boolean intersects(com.trolltech.qt.core.QRectF r)" doc="/**
&lt;p&gt;Returns true if this rectangle intersects with the given &lt;tt&gt;r&lt;/tt&gt; (i.e&amp;#x2e; there is a non-empty area of overlap between them), otherwise returns false.&lt;/p&gt;
&lt;p&gt;The intersection rectangle can be retrieved using the &lt;a href=&quot;QRectF.html#intersected(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersected&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isEmpty()" doc="/**
&lt;p&gt;Returns true if the rectangle is empty, otherwise returns false.&lt;/p&gt;
&lt;p&gt;An empty rectangle has &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt; &amp;lt;= 0 or &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt; &amp;lt;= 0. An empty rectangle is not valid (i.e&amp;#x2e;, &lt;a href=&quot;QRectF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt; == !&lt;a href=&quot;QRectF.html#isValid()&quot;&gt;&lt;tt&gt;isValid&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Use the &lt;a href=&quot;QRectF.html#normalized()&quot;&gt;&lt;tt&gt;normalized&lt;/tt&gt;&lt;/a&gt; function to retrieve a rectangle where the corners are swapped.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#isValid()&quot;&gt;&lt;tt&gt;isValid&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#normalized()&quot;&gt;&lt;tt&gt;normalized&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isNull()" doc="/**
&lt;p&gt;Returns true if the rectangle is a null rectangle, otherwise returns false.&lt;/p&gt;
&lt;p&gt;A null rectangle has both the width and the height set to 0. A null rectangle is also empty, and hence not valid.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#isValid()&quot;&gt;&lt;tt&gt;isValid&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isValid()" doc="/**
&lt;p&gt;Returns true if the rectangle is valid, otherwise returns false.&lt;/p&gt;
&lt;p&gt;A valid rectangle has a &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt; &amp;gt; 0 and &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt; &amp;gt; 0. Note that non-trivial operations like intersections are not defined for invalid rectangles. A valid rectangle is not empty (i.e&amp;#x2e;, &lt;a href=&quot;QRectF.html#isValid()&quot;&gt;&lt;tt&gt;isValid&lt;/tt&gt;&lt;/a&gt; == !&lt;a href=&quot;QRectF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#normalized()&quot;&gt;&lt;tt&gt;normalized&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double left()" doc="/**
&lt;p&gt;Returns the x-coordinate of the rectangle's left edge. Equivalent to &lt;a href=&quot;QRectF.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setLeft(double)&quot;&gt;&lt;tt&gt;setLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#topLeft()&quot;&gt;&lt;tt&gt;topLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#bottomLeft()&quot;&gt;&lt;tt&gt;bottomLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveBottom(double pos)" doc="/**
&lt;p&gt;Moves the rectangle vertically, leaving the rectangle's bottom edge at the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#bottom()&quot;&gt;&lt;tt&gt;bottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setBottom(double)&quot;&gt;&lt;tt&gt;setBottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTop(double)&quot;&gt;&lt;tt&gt;moveTop&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveBottomLeft(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the bottom-left corner at the given &lt;tt&gt;p&lt;/tt&gt;. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setBottomLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setBottomLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveBottom(double)&quot;&gt;&lt;tt&gt;moveBottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveLeft(double)&quot;&gt;&lt;tt&gt;moveLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveBottomRight(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the bottom-right corner at the given &lt;tt&gt;p&lt;/tt&gt;. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setBottomRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setBottomRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveBottom(double)&quot;&gt;&lt;tt&gt;moveBottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveRight(double)&quot;&gt;&lt;tt&gt;moveRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveCenter(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the center point at the given &lt;tt&gt;p&lt;/tt&gt;. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#center()&quot;&gt;&lt;tt&gt;center&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveLeft(double pos)" doc="/**
&lt;p&gt;Moves the rectangle horizontally, leaving the rectangle's left edge at the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#left()&quot;&gt;&lt;tt&gt;left&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setLeft(double)&quot;&gt;&lt;tt&gt;setLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveRight(double)&quot;&gt;&lt;tt&gt;moveRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveRight(double pos)" doc="/**
&lt;p&gt;Moves the rectangle horizontally, leaving the rectangle's right edge at the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#right()&quot;&gt;&lt;tt&gt;right&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setRight(double)&quot;&gt;&lt;tt&gt;setRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveLeft(double)&quot;&gt;&lt;tt&gt;moveLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveTo(double x, double t)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the top-left corner at the given position (&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;t&lt;/tt&gt;). The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#translate(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveTopLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveTo(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the top-left corner at the given &lt;tt&gt;p&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void moveTop(double pos)" doc="/**
&lt;p&gt;Moves the rectangle vertically, leaving the rectangle's top line at the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#top()&quot;&gt;&lt;tt&gt;top&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setTop(double)&quot;&gt;&lt;tt&gt;setTop&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveBottom(double)&quot;&gt;&lt;tt&gt;moveBottom&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveTopLeft(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the top-left corner at the given &lt;tt&gt;p&lt;/tt&gt;. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTop(double)&quot;&gt;&lt;tt&gt;moveTop&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveLeft(double)&quot;&gt;&lt;tt&gt;moveLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void moveTopRight(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle, leaving the top-right corner at the given &lt;tt&gt;p&lt;/tt&gt;. The rectangle's size is unchanged.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTopRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTop(double)&quot;&gt;&lt;tt&gt;moveTop&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveRight(double)&quot;&gt;&lt;tt&gt;moveRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRectF normalized()" doc="/**
&lt;p&gt;Returns a normalized rectangle; i.e&amp;#x2e;, a rectangle that has a non-negative width and height.&lt;/p&gt;
&lt;p&gt;If &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt; &amp;lt; 0 the function swaps the left and right corners, and it swaps the top and bottom corners if &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt; &amp;lt; 0.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#isValid()&quot;&gt;&lt;tt&gt;isValid&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#isEmpty()&quot;&gt;&lt;tt&gt;isEmpty&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeTo(com.trolltech.qt.core.QDataStream arg__1)"/>
    <method name="public final void readFrom(com.trolltech.qt.core.QDataStream arg__1)"/>
    <method name="public final double right()" doc="/**
&lt;p&gt;Returns the x-coordinate of the rectangle's right edge.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setRight(double)&quot;&gt;&lt;tt&gt;setRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#topRight()&quot;&gt;&lt;tt&gt;topRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#bottomRight()&quot;&gt;&lt;tt&gt;bottomRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setBottom(double pos)" doc="/**
&lt;p&gt;Sets the bottom edge of the rectangle to the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. May change the height, but will never change the top edge of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#bottom()&quot;&gt;&lt;tt&gt;bottom&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveBottom(double)&quot;&gt;&lt;tt&gt;moveBottom&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setBottomLeft(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Set the bottom-left corner of the rectangle to the given &lt;tt&gt;p&lt;/tt&gt;. May change the size, but will the never change the top-right corner of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#bottomLeft()&quot;&gt;&lt;tt&gt;bottomLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveBottomLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveBottomLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setBottomRight(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Set the top-right corner of the rectangle to the given &lt;tt&gt;p&lt;/tt&gt;. May change the size, but will the never change the top-left corner of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#bottomRight()&quot;&gt;&lt;tt&gt;bottomRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveBottomRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveBottomRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCoords(double x1, double y1, double x2, double y2)" doc="/**
&lt;p&gt;Sets the coordinates of the rectangle's top-left corner to (&lt;tt&gt;x1&lt;/tt&gt;, &lt;tt&gt;y1&lt;/tt&gt;), and the coordinates of its bottom-right corner to (&lt;tt&gt;x2&lt;/tt&gt;, &lt;tt&gt;y2&lt;/tt&gt;).&lt;/p&gt;

@see &lt;tt&gt;getCoords&lt;/tt&gt;
@see &lt;a href=&quot;QRectF.html#setRect(double, double, double, double)&quot;&gt;&lt;tt&gt;setRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHeight(double h)" doc="/**
&lt;p&gt;Sets the height of the rectangle to the given &lt;tt&gt;h&lt;/tt&gt;. The bottom edge is changed, but not the top one.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setSize(com.trolltech.qt.core.QSizeF)&quot;&gt;&lt;tt&gt;setSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLeft(double pos)" doc="/**
&lt;p&gt;Sets the left edge of the rectangle to the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. May change the width, but will never change the right edge of the rectangle.&lt;/p&gt;
&lt;p&gt;Equivalent to &lt;a href=&quot;QRectF.html#setX(double)&quot;&gt;&lt;tt&gt;setX&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#left()&quot;&gt;&lt;tt&gt;left&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveLeft(double)&quot;&gt;&lt;tt&gt;moveLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRect(double x, double y, double w, double h)" doc="/**
&lt;p&gt;Sets the coordinates of the rectangle's top-left corner to (&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;), and its size to the given &lt;tt&gt;w&lt;/tt&gt; and &lt;tt&gt;h&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;getRect&lt;/tt&gt;
@see &lt;a href=&quot;QRectF.html#setCoords(double, double, double, double)&quot;&gt;&lt;tt&gt;setCoords&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRight(double pos)" doc="/**
&lt;p&gt;Sets the right edge of the rectangle to the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. May change the width, but will never change the left edge of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#right()&quot;&gt;&lt;tt&gt;right&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveRight(double)&quot;&gt;&lt;tt&gt;moveRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSize(com.trolltech.qt.core.QSizeF s)" doc="/**
&lt;p&gt;Sets the size of the rectangle to the given &lt;tt&gt;s&lt;/tt&gt;. The top-left corner is not moved.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setHeight(double)&quot;&gt;&lt;tt&gt;setHeight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTop(double pos)" doc="/**
&lt;p&gt;Sets the top edge of the rectangle to the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. May change the height, but will never change the bottom edge of the rectangle.&lt;/p&gt;
&lt;p&gt;Equivalent to &lt;a href=&quot;QRectF.html#setY(double)&quot;&gt;&lt;tt&gt;setY&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#top()&quot;&gt;&lt;tt&gt;top&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTop(double)&quot;&gt;&lt;tt&gt;moveTop&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTopLeft(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Set the top-left corner of the rectangle to the given &lt;tt&gt;p&lt;/tt&gt;. May change the size, but will the never change the bottom-right corner of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#topLeft()&quot;&gt;&lt;tt&gt;topLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveTopLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTopRight(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Set the top-right corner of the rectangle to the given &lt;tt&gt;p&lt;/tt&gt;. May change the size, but will the never change the bottom-left corner of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#topRight()&quot;&gt;&lt;tt&gt;topRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTopRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveTopRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWidth(double w)" doc="/**
&lt;p&gt;Sets the width of the rectangle to the given &lt;tt&gt;w&lt;/tt&gt;. The right edge is changed, but not the left one.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setSize(com.trolltech.qt.core.QSizeF)&quot;&gt;&lt;tt&gt;setSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setX(double pos)" doc="/**
&lt;p&gt;Sets the left edge of the rectangle to the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. May change the width, but will never change the right edge of the rectangle.&lt;/p&gt;
&lt;p&gt;Equivalent to &lt;a href=&quot;QRectF.html#setLeft(double)&quot;&gt;&lt;tt&gt;setLeft&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setY(double)&quot;&gt;&lt;tt&gt;setY&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setY(double pos)" doc="/**
&lt;p&gt;Sets the top edge of the rectangle to the given &lt;tt&gt;pos&lt;/tt&gt; coordinate. May change the height, but will never change the bottom edge of the rectangle.&lt;/p&gt;
&lt;p&gt;Equivalent to &lt;a href=&quot;QRectF.html#setTop(double)&quot;&gt;&lt;tt&gt;setTop&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setX(double)&quot;&gt;&lt;tt&gt;setX&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#setTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSizeF size()" doc="/**
&lt;p&gt;Returns the size of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setSize(com.trolltech.qt.core.QSizeF)&quot;&gt;&lt;tt&gt;setSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect toAlignedRect()" doc="/**
&lt;p&gt;Returns a &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; based on the values of this rectangle that is the smallest possible integer rectangle that completely contains this rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#toRect()&quot;&gt;&lt;tt&gt;toRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRect toRect()" doc="/**
&lt;p&gt;Returns a &lt;a href=&quot;QRect.html&quot;&gt;&lt;tt&gt;QRect&lt;/tt&gt;&lt;/a&gt; based on the values of this rectangle. Note that the coordinates in the returned rectangle are rounded to the nearest integer.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#QRectF(double, double, double, double)&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#toAlignedRect()&quot;&gt;&lt;tt&gt;toAlignedRect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double top()" doc="/**
&lt;p&gt;Returns the y-coordinate of the rectangle's top edge. Equivalent to &lt;a href=&quot;QRectF.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTop(double)&quot;&gt;&lt;tt&gt;setTop&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#topLeft()&quot;&gt;&lt;tt&gt;topLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#topRight()&quot;&gt;&lt;tt&gt;topRight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF topLeft()" doc="/**
&lt;p&gt;Returns the position of the rectangle's top-left corner.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#top()&quot;&gt;&lt;tt&gt;top&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#left()&quot;&gt;&lt;tt&gt;left&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF topRight()" doc="/**
&lt;p&gt;Returns the position of the rectangle's top-right corner.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setTopRight(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setTopRight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#top()&quot;&gt;&lt;tt&gt;top&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#right()&quot;&gt;&lt;tt&gt;right&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void translate(double dx, double dy)" doc="/**
&lt;p&gt;Moves the rectangle &lt;tt&gt;dx&lt;/tt&gt; along the x-axis and &lt;tt&gt;dy&lt;/tt&gt; along the y-axis, relative to the current position. Positive values move the rectangle to the right and downwards.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#moveTopLeft(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveTopLeft&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#moveTo(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;moveTo&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#translated(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;translated&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void translate(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Moves the rectangle &lt;tt&gt;p&lt;/tt&gt;.x() along the x axis and &lt;tt&gt;p&lt;/tt&gt;.y() along the y axis, relative to the current position.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRectF translated(double dx, double dy)" doc="/**
&lt;p&gt;Returns a copy of the rectangle that is translated &lt;tt&gt;dx&lt;/tt&gt; along the x axis and &lt;tt&gt;dy&lt;/tt&gt; along the y axis, relative to the current position. Positive values move the rectangle to the right and down.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#translate(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;translate&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QRectF translated(com.trolltech.qt.core.QPointF p)" doc="/**
&lt;p&gt;Returns a copy of the rectangle that is translated &lt;tt&gt;p&lt;/tt&gt;.x() along the x axis and &lt;tt&gt;p&lt;/tt&gt;.y() along the y axis, relative to the current position.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRectF united(com.trolltech.qt.core.QRectF other)" doc="/**
&lt;p&gt;Returns the bounding rectangle of this rectangle and the given &lt;tt&gt;other&lt;/tt&gt;.&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qrect-unite.png&quot; /&gt;&lt;/p&gt;
@see &lt;a href=&quot;QRectF.html#intersected(com.trolltech.qt.core.QRectF)&quot;&gt;&lt;tt&gt;intersected&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double width()" doc="/**
&lt;p&gt;Returns the width of the rectangle.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#size()&quot;&gt;&lt;tt&gt;size&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double x()" doc="/**
&lt;p&gt;Returns the x-coordinate of the rectangle's left edge. Equivalent to &lt;a href=&quot;QRectF.html#left()&quot;&gt;&lt;tt&gt;left&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setX(double)&quot;&gt;&lt;tt&gt;setX&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#y()&quot;&gt;&lt;tt&gt;y&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#topLeft()&quot;&gt;&lt;tt&gt;topLeft&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double y()" doc="/**
&lt;p&gt;Returns the y-coordinate of the rectangle's top edge. Equivalent to &lt;a href=&quot;QRectF.html#top()&quot;&gt;&lt;tt&gt;top&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QRectF.html#setY(double)&quot;&gt;&lt;tt&gt;setY&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#x()&quot;&gt;&lt;tt&gt;x&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QRectF.html#topLeft()&quot;&gt;&lt;tt&gt;topLeft&lt;/tt&gt;&lt;/a&gt; */"/>
</class>