From 698733afbfc16282b658790225b16548738786f5 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Mon, 7 Dec 2020 17:41:37 +0100 Subject: [PATCH] Doc: Fix some language issues in the Studio component docs Task-number: QDS-2744 Change-Id: I472bb1d030c8119357b17b58b645fc0364f3cc5a Reviewed-by: Thomas Hartmann --- .../components/qqs-components-flipable.qdoc | 20 +++++++++---------- .../components/qqs-components-pie.qdoc | 2 +- .../components/qqs-components-triangle.qdoc | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-flipable.qdoc b/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-flipable.qdoc index 92fcb6ba147..2d1b355f5e1 100644 --- a/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-flipable.qdoc +++ b/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-flipable.qdoc @@ -35,7 +35,7 @@ like a card. The front and back sides are specified by using any two types inside the Flipable type. The type with the higher z-order is the front side. The \l opacityFront and \l opacityBack properties are used to hide - and show either the front or back side of the flipable item at a time. + and show either the front or back side of the item at a time. The \l flipAngle property is used to animate the angle of the type to produce the flipping effect. The \l xAxis or \l yAxis property is set @@ -43,8 +43,8 @@ \section2 Example Usage - You can use the Flipable component in \QDS to create a flipable item. In - this example, the two sides of the flipable show ISO 7000 icons. + You can use the Flipable component in \QDS to create an item that can be + flipped. In this example, the two sides of the item show ISO 7000 icons. \image studio-flipable.png @@ -85,19 +85,19 @@ /*! \qmlproperty real Flipable::opacityBack - The opacity of the back side of the flipable type. + The opacity of the back side of the type. The opacity can be set between 0 and 1 to hide or show the items on the - back side of the flipable type. + back side of the type. */ /*! \qmlproperty real Flipable::opacityFront - The opacity of the front side of the flipable type. + The opacity of the front side of the type. The opacity can be set between 0 and 1 to hide or show the items on the - front side of the flipable type. + front side of the type. */ /*! @@ -105,7 +105,7 @@ Whether the type is rotated around the x-axis. - This property is set to 1 to rotate the flipable type around the x-axis. + This property is set to 1 to rotate the type around the x-axis. */ /*! @@ -113,13 +113,13 @@ Whether the type is rotated around the y-axis. - This property is set to 1 to rotate the flipable type around the y-axis. + This property is set to 1 to rotate the type around the y-axis. */ /*! \qmlproperty bool Flipable::flipped - Whether the flipable type has been flipped. + Whether the type has been flipped. This property is set to \c true when the type is flipped. */ diff --git a/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-pie.qdoc b/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-pie.qdoc index b7266ff0f1d..9804abae815 100644 --- a/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-pie.qdoc +++ b/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-pie.qdoc @@ -41,7 +41,7 @@ \l ShapeGradient subtypes and set using the \l gradient property. If both a color and a gradient are specified, the gradient is used. - The \l strokeColor, \l strokeWidth, and \l strokeStyle, properties specify + The \l strokeColor, \l strokeWidth, and \l strokeStyle properties specify the appearance of the pie outline. The \l dashPattern and \l dashOffset properties specify the appearance of dashed lines. diff --git a/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-triangle.qdoc b/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-triangle.qdoc index d627fe4bf3f..eeb33fe2e6e 100644 --- a/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-triangle.qdoc +++ b/doc/qtdesignstudio/src/qtquickdesigner-components/components/qqs-components-triangle.qdoc @@ -34,8 +34,8 @@ The Triangle type can be used to draw triangles with different dimensions and shapes. The type is enclosed in an invisible \l Rectangle type. The size - of the triagle is determined by the size of the bounding rectangle. The - dimensions of the triangle can be changed to make it elongated or squatter + of the triangle is determined by the size of the bounding rectangle. The + dimensions of the triangle can be changed to make it elongated or squat with space around it by using the \l leftMargin, \l topMargin, \l rightMargin, and \l bottomMargin properties. The margins are set between the triangle and the edges of the parent rectangle.