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

void QRectF::setSize ( const QSizeF size  )  [inline]

Sets the size of the rectangle to the given size. The top-left corner is not moved.

See also:
size(), setWidth(), setHeight()

Definition at line 791 of file qrect.h.

References QSizeF::height(), and QSizeF::width().

Referenced by QGraphicsWidget::setGeometry().

    w = s.width();
    h = s.height();

Generated by  Doxygen 1.6.0   Back to index