Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QRectF::setTopRight ( const QPointF position  )  [inline]

Set the top-right corner of the rectangle to the given position. May change the size, but will never change the bottom-left corner of the rectangle.

See also:
topRight(), moveTopRight()

Definition at line 681 of file qrect.h.

References setRight(), setTop(), QPointF::x(), and QPointF::y().

{ setRight(p.x()); setTop(p.y()); }


Generated by  Doxygen 1.6.0   Back to index