From 621541cc9f04f4aec87385c71dbb99aebbf6e249 2014-05-12 08:00:41 From: Titta Heikkala Date: 2014-05-12 08:00:41 Subject: [PATCH] Minor fixes to documentation Task-number: QTRD-3002 Change-Id: Ie2852808393610078a719593378aee837b21359f Reviewed-by: Miikka Heikkinen --- diff --git a/src/axis/datetimeaxis/qdatetimeaxis.cpp b/src/axis/datetimeaxis/qdatetimeaxis.cpp index defeb36..0e57de4 100644 --- a/src/axis/datetimeaxis/qdatetimeaxis.cpp +++ b/src/axis/datetimeaxis/qdatetimeaxis.cpp @@ -96,7 +96,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE When setting this property the max is adjusted if necessary, to ensure that the range remains valid. */ /*! - \qmlproperty real DateTimeAxis::min + \qmlproperty datetime DateTimeAxis::min Defines the minimum value on the axis. When setting this property the max is adjusted if necessary, to ensure that the range remains valid. */ @@ -107,7 +107,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE When setting this property the min is adjusted if necessary, to ensure that the range remains valid. */ /*! - \qmlproperty real DateTimeAxis::max + \qmlproperty datetime DateTimeAxis::max Defines the maximum value on the axis. When setting this property the min is adjusted if necessary, to ensure that the range remains valid. */ @@ -117,7 +117,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE Axis emits signal when \a min of axis has changed. */ /*! - \qmlsignal DateTimeAxis::onMinChanged(QDateTime min) + \qmlsignal DateTimeAxis::onMinChanged(datetime min) Axis emits signal when \a min of axis has changed. */ @@ -126,7 +126,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE Axis emits signal when \a max of axis has changed. */ /*! - \qmlsignal DateTimeAxis::onMaxChanged(QDateTime max) + \qmlsignal DateTimeAxis::onMaxChanged(datetime max) Axis emits signal when \a max of axis has changed. */ @@ -192,7 +192,7 @@ QDateTimeAxis::QDateTimeAxis(QDateTimeAxisPrivate &d, QObject *parent) : QAbstra } /*! - Destroys the object + Destroys the object. */ QDateTimeAxis::~QDateTimeAxis() { @@ -269,7 +269,7 @@ void QDateTimeAxis::setTickCount(int count) /*! \fn int QDateTimeAxis::tickCount() const - Return number of ticks on the axis + Return number of ticks on the axis. */ int QDateTimeAxis::tickCount() const { @@ -278,7 +278,7 @@ int QDateTimeAxis::tickCount() const } /*! - Returns the type of the axis + Returns the type of the axis. */ QAbstractAxis::AxisType QDateTimeAxis::type() const { diff --git a/src/legend/qlegend.cpp b/src/legend/qlegend.cpp index 0cba1bd..3de62ad 100644 --- a/src/legend/qlegend.cpp +++ b/src/legend/qlegend.cpp @@ -112,11 +112,11 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! \property QLegend::font - The font of markers used by legend + The font of markers used by legend. */ /*! \qmlproperty Font Legend::font - The font of markers used by legend + The font of markers used by legend. */ /*! @@ -124,7 +124,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE The color of brush used to draw labels. */ /*! - \qmlproperty color QLegend::labelColor + \qmlproperty color Legend::labelColor The color of brush used to draw labels. */ @@ -162,6 +162,11 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE This signal is emitted when the color of brush used to draw labels has changed to \a color. */ +/*! + \fn void QLegend::reverseMarkersChanged(bool) + The use of reverse order for the markers in legend is changed to \a reverseMarkers. +*/ + QLegend::QLegend(QChart *chart): QGraphicsWidget(chart), d_ptr(new QLegendPrivate(chart->d_ptr->m_presenter, chart, this)) { @@ -245,7 +250,7 @@ void QLegend::setPen(const QPen &pen) } /*! - Returns the pen used by legend + Returns the pen used by legend. */ QPen QLegend::pen() const