Fix "rectange" typos in qtbase

Pick-to: 5.15
Change-Id: If064fae5eaaeb2e53e3dd05cb9dc1cdf49ad1f04
Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
This commit is contained in:
Oliver Wolff 2020-07-30 13:21:37 +02:00
parent ed991b7d15
commit f4093d02ff
4 changed files with 5 additions and 5 deletions

View File

@ -81,7 +81,7 @@ QT_BEGIN_NAMESPACE
position, and the translated() function returns a translated copy position, and the translated() function returns a translated copy
of this rectangle. of this rectangle.
The size() function returns the rectange's dimensions as a The size() function returns the rectangle's dimensions as a
QSize. The dimensions can also be retrieved separately using the QSize. The dimensions can also be retrieved separately using the
width() and height() functions. To manipulate the dimensions use width() and height() functions. To manipulate the dimensions use
the setSize(), setWidth() or setHeight() functions. Alternatively, the setSize(), setWidth() or setHeight() functions. Alternatively,
@ -1326,7 +1326,7 @@ QDebug operator<<(QDebug dbg, const QRect &r)
current position, and the translated() function returns a current position, and the translated() function returns a
translated copy of this rectangle. translated copy of this rectangle.
The size() function returns the rectange's dimensions as a The size() function returns the rectangle's dimensions as a
QSizeF. The dimensions can also be retrieved separately using the QSizeF. The dimensions can also be retrieved separately using the
width() and height() functions. To manipulate the dimensions use width() and height() functions. To manipulate the dimensions use
the setSize(), setWidth() or setHeight() functions. Alternatively, the setSize(), setWidth() or setHeight() functions. Alternatively,

View File

@ -434,7 +434,7 @@
\li \li
A vectorial specification of a 2D shape. Painter paths are the A vectorial specification of a 2D shape. Painter paths are the
ultimate painting primitive, in the sense that any shape ultimate painting primitive, in the sense that any shape
(rectange, ellipse, spline) or combination of shapes can be (rectangle, ellipse, spline) or combination of shapes can be
expressed as a path. A path specifies both an outline and an area. expressed as a path. A path specifies both an outline and an area.
\row \row
\li QRegion \li QRegion

View File

@ -328,7 +328,7 @@ void qNormalizeRadii(const QRect &br, const QSize *radii,
*trr = *brr = QSize(0, 0); *trr = *brr = QSize(0, 0);
} }
// Determines if Edge e1 draws over Edge e2. Depending on this trapezoids or rectanges are drawn // Determines if Edge e1 draws over Edge e2. Depending on this trapezoids or rectangles are drawn
static bool paintsOver(const QCss::BorderStyle *styles, const QBrush *colors, QCss::Edge e1, QCss::Edge e2) static bool paintsOver(const QCss::BorderStyle *styles, const QBrush *colors, QCss::Edge e1, QCss::Edge e2)
{ {
QCss::BorderStyle s1 = styles[e1]; QCss::BorderStyle s1 = styles[e1];

View File

@ -134,7 +134,7 @@ QT_BEGIN_NAMESPACE
\fn QRegion::QRegion(const QRect &r, RegionType t) \fn QRegion::QRegion(const QRect &r, RegionType t)
\overload \overload
Create a region based on the rectange \a r with region type \a t. Create a region based on the rectangle \a r with region type \a t.
If the rectangle is invalid a null region will be created. If the rectangle is invalid a null region will be created.