Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.8.0
-
None
Description
Hi,
not sure if it's worth a bug report but it confused me once during a discussion with my colleague (i tried to convince him that there's a function 'upperLeft()' ... )
In the second sentence of the detailed description, 'upper-left' is used but nowhere else since it is top-left.
See https://doc.qt.io/qt-5/qrectf.html#details :
"A rectangle is normally expressed as an upper-left corner and a size. The size (width and height) of a QRectF is always equivalent to the mathematical rectangle that forms the basis for its rendering.
A QRectF can be constructed with a set of left, top, width and height integers, or from a QPoint and a QSize. The following code creates two identical rectangles."