forked from qt-creator/qt-creator
Doc: Fix some language issues in the Studio component docs
Task-number: QDS-2744 Change-Id: I472bb1d030c8119357b17b58b645fc0364f3cc5a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
@@ -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.
|
||||
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user