aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-03-06 10:58:28 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2019-03-27 10:45:35 +0000
commit085275b92a55a21cbcf8d307a6f52804875deedd (patch)
tree3bec85b9634e8ffe533ac509f40d816ab5a70820
parent900749c033705fe58778b238985fa06d7a8fd3aa (diff)
Doc: Fix documentation issuesv5.13.0-beta3v5.13.0-beta2
RadialGradient.qml tried to document two properties with a single comment block - QDoc supports this, but only if you specify the properties with multiple \qmlproperty commands. Also clear the moduleheader .qdocconf variable, as this module has no C++ API. Change-Id: Ic69ba94f6031c77d249c0b4278cff7f35344fcf9 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r--src/effects/RadialGradient.qml10
-rw-r--r--src/effects/doc/qtgraphicaleffects.qdocconf1
2 files changed, 9 insertions, 2 deletions
diff --git a/src/effects/RadialGradient.qml b/src/effects/RadialGradient.qml
index ff46aac..52b3ff3 100644
--- a/src/effects/RadialGradient.qml
+++ b/src/effects/RadialGradient.qml
@@ -85,7 +85,10 @@ Item {
property bool cached: false
/*!
- The HorizontalOffset and verticalOffset properties define the offset in
+ \qmlproperty real RadialGradient::horizontalOffset
+ \qmlproperty real RadialGradient::verticalOffset
+
+ The horizontalOffset and verticalOffset properties define the offset in
pixels for the center point of the gradient compared to the item center.
The values range from -inf to inf. By default, these properties are set
@@ -127,7 +130,10 @@ Item {
property real verticalOffset: 0.0
/*!
- The HorizontalRadius and verticalRadius properties define the shape and
+ \qmlproperty real RadialGradient::horizontalRadius
+ \qmlproperty real RadialGradient::verticalRadius
+
+ The horizontalRadius and verticalRadius properties define the shape and
size of the radial gradient. If the radiuses are equal, the shape of the
gradient is a circle. If the horizontal and vertical radiuses differ,
the shape is elliptical. The radiuses are given in pixels.
diff --git a/src/effects/doc/qtgraphicaleffects.qdocconf b/src/effects/doc/qtgraphicaleffects.qdocconf
index c3c8754..837929e 100644
--- a/src/effects/doc/qtgraphicaleffects.qdocconf
+++ b/src/effects/doc/qtgraphicaleffects.qdocconf
@@ -3,6 +3,7 @@ include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
project = QtGraphicalEffects
description = Qt Graphical Effects Reference Documentation
version = $QT_VERSION
+moduleheader =
qhp.projects = QtGraphicalEffects