summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@theqtcompany.com>2014-11-12 10:23:01 +0200
committerTitta Heikkala <titta.heikkala@theqtcompany.com>2014-11-12 13:13:16 +0200
commitf78be8da2422a758e0f50d3ca0cced53f44d0f12 (patch)
tree91dae2e5066bf548817c32f06c26df425a58f82f /tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml
parent6c4e7f2cd60f47ef5935ed9f21d19bb94db5f048 (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 'tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml')
-rw-r--r--tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml b/tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml
index 069e17de..d94f8a2e 100644
--- a/tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml
+++ b/tests/manual/qmlchartproperties/qml/qmlchartproperties/AreaChart.qml
@@ -81,6 +81,9 @@ ChartView {
+ font.family);
onPointLabelsColorChanged: console.log(name + ".onPointLabelsColorChanged: "
+ color);
+ onPressed: console.log(name + ".onPressed: " + point.x + ", " + point.y);
+ onReleased: console.log(name + ".onReleased: " + point.x + ", " + point.y);
+ onDoubleClicked: console.log(name + ".onDoubleClicked: " + point.x + ", " + point.y);
}
AreaSeries {
@@ -107,5 +110,8 @@ ChartView {
onSelected: console.log(name + ".onSelected");
onColorChanged: console.log(name + ".onColorChanged: " + color);
onBorderColorChanged: console.log(name + ".onBorderColorChanged: " + borderColor);
+ onPressed: console.log(name + ".onPressed: " + point.x + ", " + point.y);
+ onReleased: console.log(name + ".onReleased: " + point.x + ", " + point.y);
+ onDoubleClicked: console.log(name + ".onDoubleClicked: " + point.x + ", " + point.y);
}
}