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 /tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml | |
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 'tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml')
-rw-r--r-- | tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml b/tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml index d531ac32..2b815530 100644 --- a/tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml +++ b/tests/manual/qmlchartproperties/qml/qmlchartproperties/ScatterChart.qml @@ -59,6 +59,9 @@ ChartView { + font.family); onPointLabelsColorChanged: console.log("lineSeries.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); } ScatterSeries { @@ -71,5 +74,8 @@ ChartView { XYPoint { x: 2.67; y: 2.65 } onClicked: console.log(name + ".onClicked: " + point.x + ", " + point.y); onHovered: console.log(name + ".onHovered: " + point.x + ", " + point.y); + 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); } } |