PDA

View Full Version : difference of QRect and QRectF



gbmtoday
14th January 2010, 22:22
hi all

what is the difference between QRect and QRectF ?

bmhautz
14th January 2010, 22:52
QRect uses integer precision and QRectF uses floating point precision. In fact, there are several other classes with this similar setup: QLine/QLineF, QPoint/QPointF, etc.