aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarko Niemelä <marko.a.niemela@nokia.com>2012-01-24 12:47:37 +0200
committerMarko Niemelä <marko.a.niemela@nokia.com>2012-01-24 12:47:37 +0200
commitecb1abba3bbc7ec3c7d5c3eaf0e8907567f716d1 (patch)
tree6d7e98afa917f89d646ecb19d160875c65ca1dfa /tests
parentd4c52bb17142a3f82fe6f29688c17fac21b05fe0 (diff)
Changed HueSaturation manual test to use sliders
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbed/TestHueSaturation.qml31
1 files changed, 23 insertions, 8 deletions
diff --git a/tests/manual/testbed/TestHueSaturation.qml b/tests/manual/testbed/TestHueSaturation.qml
index 5a8de38..9af970f 100644
--- a/tests/manual/testbed/TestHueSaturation.qml
+++ b/tests/manual/testbed/TestHueSaturation.qml
@@ -52,9 +52,9 @@ TestCaseTemplate {
anchors.fill: imageSource
visible: enabledCheckBox.selected
cached: cachedCheckBox.selected
- hue: colorPicker.hue
- saturation: colorPicker.saturation
- lightness: colorPicker.lightness
+ hue: hueSlider.value
+ saturation: saturationSlider.value
+ lightness: lightnessSlider.value
source: imageSource
}
@@ -62,11 +62,26 @@ TestCaseTemplate {
controls: [
Control {
caption: "general"
- ColorPicker {
- id: colorPicker
- hue: 0.5
- saturation: 0.5
- lightness: 0.5
+ Slider {
+ id: hueSlider
+ caption: "hue"
+ minimum: -1.0
+ maximum: 1.0
+ value: 0.0
+ }
+ Slider {
+ id: saturationSlider
+ caption: "saturation"
+ minimum: -1.0
+ maximum: 1.0
+ value: 0.0
+ }
+ Slider {
+ id: lightnessSlider
+ caption: "lightness"
+ minimum: -1.0
+ maximum: 1.0
+ value: 0.0
}
},