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

void QRectF::setRight ( qreal  x  )  [inline]

Sets the right edge of the rectangle to the given x coordinate. May change the width, but will never change the left edge of the rectangle.

See also:
right(), moveRight()

Definition at line 673 of file qrect.h.

Referenced by setBottomRight(), setTopRight(), and QtRectFPropertyManager::setValue().

{ w = pos - xp; }


Generated by  Doxygen 1.6.0   Back to index