diff options
author | Titta Heikkala <titta.heikkala@theqtcompany.com> | 2014-11-13 14:51:00 +0200 |
---|---|---|
committer | Titta Heikkala <titta.heikkala@theqtcompany.com> | 2014-11-13 15:39:13 +0200 |
commit | 4909289ecbd79024e5cdbe3974292935979aded8 (patch) | |
tree | 97f0a6f6e1e10e90be8003b0ca7a1c3229c51a53 /src/charts/areachart/qareaseries.cpp | |
parent | 704036e35c0a6515014cdc4fa5c983c9059d9011 (diff) |
Fix clicked, released and doubleClicked signal points
The clicked, released and doubleClicked signals for line, spline and
area series return the point where the press was triggered.
Change-Id: I075bb213657a7cadabdec3a72fde7cf5f412e982
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src/charts/areachart/qareaseries.cpp')
-rw-r--r-- | src/charts/areachart/qareaseries.cpp | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/src/charts/areachart/qareaseries.cpp b/src/charts/areachart/qareaseries.cpp index eabaa703..535a9935 100644 --- a/src/charts/areachart/qareaseries.cpp +++ b/src/charts/areachart/qareaseries.cpp @@ -145,11 +145,15 @@ QT_CHARTS_BEGIN_NAMESPACE /*! \fn void QAreaSeries::clicked(const QPointF& point) - \brief Signal is emitted when user clicks the \a point on area chart. + \brief Signal is emitted when user clicks the \a point on area chart. The \a point is the point + where the press was triggered. + \sa pressed, released, doubleClicked */ /*! \qmlsignal AreaSeries::onClicked(QPointF point) - Signal is emitted when user clicks the \a point on area chart. + Signal is emitted when user clicks the \a point on area chart. The \a point is the point where + the press was triggered. + \sa onPressed, onReleased, onDoubleClicked */ /*! @@ -168,28 +172,37 @@ QT_CHARTS_BEGIN_NAMESPACE /*! \fn void QAreaSeries::pressed(const QPointF& point) \brief Signal is emitted when user presses the \a point on area chart. + \sa clicked, released, doubleClicked */ /*! \qmlsignal AreaSeries::onPressed(QPointF point) Signal is emitted when user presses the \a point on area chart. + \sa onClicked, onReleased, onDoubleClicked */ /*! \fn void QAreaSeries::released(const QPointF& point) - \brief Signal is emitted when user releases the \a point on area chart. + \brief Signal is emitted when user releases a press that was triggered on a \a point on area + chart. + \sa pressed, clicked, doubleClicked */ /*! \qmlsignal AreaSeries::onReleased(QPointF point) - Signal is emitted when user releases the \a point on area chart. + Signal is emitted when user releases a press that was triggered on a \a point on area chart. + \sa onPressed, onClicked, onDoubleClicked */ /*! \fn void QAreaSeries::doubleClicked(const QPointF& point) - \brief Signal is emitted when user doubleclicks the \a point on area chart. + \brief Signal is emitted when user doubleclicks the \a point on area chart. The \a point is the + point where the first press was triggered. + \sa pressed, released, clicked */ /*! \qmlsignal AreaSeries::onDoubleClicked(QPointF point) - Signal is emitted when user doubleclicks the \a point on area chart. + Signal is emitted when user doubleclicks the \a point on area chart. The \a point is the point + where the first press was triggered. + \sa onPressed, onReleased, onClicked */ /*! |