diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-06-20 15:17:50 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-06-20 15:18:21 +0300 |
commit | f9a49067ae3bd3493531935c7e00e7862fef6828 (patch) | |
tree | 4f65eaf19cafa3919ceae55783eb3061137a127d /tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml | |
parent | b9ec195ffc795fcc7fcd507b8cc4deb51239399c (diff) |
QML BarSet data manipulation
Diffstat (limited to 'tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml')
-rw-r--r-- | tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml b/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml index 1539cb0e..8308ae72 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/BarEditor.qml @@ -65,6 +65,20 @@ Flow { text: "clear sets" onClicked: series.clear(); } + + Button { + text: "set 1 append" + onClicked: series.at(0).append(series.at(0).count + 1); + } + Button { + text: "set 1 replace" + onClicked: series.at(0).replace(series.at(0).count - 1, series.at(0).at(series.at(0).count - 1).y + 0.5); + } + Button { + text: "set 1 remove" + onClicked: series.at(0).remove(series.at(0).count - 1); + } + Button { text: "set 1 color" onClicked: series.at(0).color = main.nextColor(); |