From f78be8da2422a758e0f50d3ca0cced53f44d0f12 Mon Sep 17 00:00:00 2001 From: Titta Heikkala Date: Wed, 12 Nov 2014 10:23:01 +0200 Subject: 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 --- src/charts/barchart/qbarset.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/charts/barchart/qbarset.cpp') 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 @@ -133,6 +133,27 @@ QT_CHARTS_BEGIN_NAMESPACE Clicked bar inside set is indexed by \a index */ +/*! + \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) -- cgit v1.2.3