aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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