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:
parent
ed991b7d15
commit
f4093d02ff
@ -81,7 +81,7 @@ QT_BEGIN_NAMESPACE
|
||||
position, and the translated() function returns a 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
|
||||
QSize. The dimensions can also be retrieved separately using the
|
||||
width() and height() functions. To manipulate the dimensions use
|
||||
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
|
||||
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
|
||||
width() and height() functions. To manipulate the dimensions use
|
||||
the setSize(), setWidth() or setHeight() functions. Alternatively,
|
||||
|
@ -434,7 +434,7 @@
|
||||
\li
|
||||
A vectorial specification of a 2D shape. Painter paths are the
|
||||
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.
|
||||
\row
|
||||
\li QRegion
|
||||
|
@ -328,7 +328,7 @@ void qNormalizeRadii(const QRect &br, const QSize *radii,
|
||||
*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)
|
||||
{
|
||||
QCss::BorderStyle s1 = styles[e1];
|
||||
|
@ -134,7 +134,7 @@ QT_BEGIN_NAMESPACE
|
||||
\fn QRegion::QRegion(const QRect &r, RegionType t)
|
||||
\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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user