diff options
author | Titta Heikkala <titta.heikkala@theqtcompany.com> | 2014-11-12 10:23:01 +0200 |
---|---|---|
committer | Titta Heikkala <titta.heikkala@theqtcompany.com> | 2014-11-12 13:13:16 +0200 |
commit | f78be8da2422a758e0f50d3ca0cced53f44d0f12 (patch) | |
tree | 91dae2e5066bf548817c32f06c26df425a58f82f /src/charts/barchart/qbarset.cpp | |
parent | 6c4e7f2cd60f47ef5935ed9f21d19bb94db5f048 (diff) |
Add pressed, released and doubleClicked signals
Added pressed, released and doubleClicked signals for all series. The
signals are also added to QPieSlice and QBoxPlotSet.
Change-Id: If94948be439a3b53ed48c02d0092091e836222a4
Task-number: QTRD-2384
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src/charts/barchart/qbarset.cpp')
-rw-r--r-- | src/charts/barchart/qbarset.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/charts/barchart/qbarset.cpp b/src/charts/barchart/qbarset.cpp index 0555b625..ba1fbf15 100644 --- a/src/charts/barchart/qbarset.cpp +++ b/src/charts/barchart/qbarset.cpp @@ -134,6 +134,27 @@ QT_CHARTS_BEGIN_NAMESPACE */ /*! + \fn void QBarSet::pressed(int index) + + The signal is emitted if the user presses with a mouse on top of bar set. + Pressed bar inside set is indexed by \a index +*/ + +/*! + \fn void QBarSet::released(int index) + + The signal is emitted if the user releases with a mouse on top of bar set. + Released bar inside set is indexed by \a index +*/ + +/*! + \fn void QBarSet::doubleClicked(int index) + + The signal is emitted if the user doubleclicks with a mouse on top of bar set. + Doubleclicked bar inside set is indexed by \a index +*/ + +/*! \fn void QBarSet::hovered(bool status, int index) The signal is emitted if mouse is hovered on top of bar set. |