diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-06-20 10:22:16 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-06-20 10:33:13 +0300 |
commit | 873325dbfe57660621ccf855c317fbb7a4880db9 (patch) | |
tree | 218c7f420536fbfea785fe91d9a76251b242be11 /tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml | |
parent | a8b913a7eae1fc4b1d9b519581599713c798c5da (diff) |
QML api pie slice added/removed signals
Diffstat (limited to 'tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml')
-rw-r--r-- | tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml b/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml index 7214fba4..7f08fe2b 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml @@ -27,34 +27,6 @@ Flow { flow: Flow.TopToBottom property variant series - onSeriesChanged: { - if (series && series.name == "bar") { - seriesConnections.target = series; - setConnections.target = series.at(0); - } else { - seriesConnections.target = null; - setConnections.target = null; - } - } - - Connections { - id: seriesConnections - target: null - onNameChanged: console.log("series.onNameChanged: " + series.name); - onVisibleChanged: console.log("series.onVisibleChanged: " + series.visible); - onLabelsVisibleChanged: console.log("series.onLabelsVisibleChanged: " + series.labelsVisible); - onCountChanged: console.log("series.onCountChanged: " + count); - } - - Connections { - id: setConnections - target: null - onColorChanged: console.log("series.onColorChanged: " + color); - onBorderColorChanged: console.log("series.onBorderColorChanged: " + color); - onLabelColorChanged: console.log("series.onLabelColorChanged: " + color); - onCountChanged: console.log("series.onCountChanged: " + count); - } - Button { text: "visible" onClicked: series.visible = !series.visible; |