From 085275b92a55a21cbcf8d307a6f52804875deedd Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 6 Mar 2019 10:58:28 +0100 Subject: Doc: Fix documentation issues 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 --- src/effects/RadialGradient.qml | 10 ++++++++-- src/effects/doc/qtgraphicaleffects.qdocconf | 1 + 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 -- cgit v1.2.1