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

void QRectF::setY ( qreal  y  )  [inline]

Sets the top edge of the rectangle to the given y coordinate. May change the height, but will never change the bottom edge of the rectangle.

Equivalent to setTop().

See also:
y(), setX(), setTopLeft()

Definition at line 538 of file qrect.h.

References QRect::setTop().

{ setTop(pos); }

Generated by  Doxygen 1.6.0   Back to index