diff options
Diffstat (limited to 'tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalBarChart.qml')
-rw-r--r-- | tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalBarChart.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalBarChart.qml b/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalBarChart.qml index aedb26cb..278d2964 100644 --- a/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalBarChart.qml +++ b/tests/manual/qmlchartproperties/qml/qmlchartproperties/HorizontalBarChart.qml @@ -50,6 +50,9 @@ ChartView { onValuesAdded: console.log("barset.onValuesAdded: " + index + ", " + count); onValuesRemoved: console.log("barset.onValuesRemoved: " + index + ", " + count); onValueChanged: console.log("barset.onValuesChanged: " + index); + onPressed: console.log("barset.onPressed: " + index); + onReleased: console.log("barset.onReleased: " + index); + onDoubleClicked: console.log("barset.onDoubleClicked: " + index); } BarSet { label: "Susan"; values: [5, 1, 2, 4, 1, 7] } BarSet { label: "James"; values: [3, 5, 8, 13, 5, 8] } @@ -66,6 +69,9 @@ ChartView { + format); onLabelsPositionChanged: console.log("horizontalBarSeries.onLabelsPositionChanged: " + series.labelsPosition); + onPressed: console.log("horizontalBarSeries.onPressed: " + barset + " " + index); + onReleased: console.log("horizontalBarSeries.onReleased: " + barset + " " + index); + onDoubleClicked: console.log("horizontalBarSeries.onDoubleClicked: " + barset + " " + index); function changeLabelsPosition() { if (labelsPosition === BarSeries.LabelsCenter) |