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

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

Moves the rectangle vertically, leaving the rectangle's top line at the given y coordinate. The rectangle's size is unchanged.

See also:
top(), setTop(), moveBottom()

Definition at line 692 of file qrect.h.

Referenced by moveTopLeft(), moveTopRight(), and QtRectFPropertyManager::setConstraint().

{ yp = pos; }


Generated by  Doxygen 1.6.0   Back to index