diff options
author | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-02-01 16:08:32 +0200 |
---|---|---|
committer | Marko Niemelä <marko.a.niemela@nokia.com> | 2012-02-01 16:08:32 +0200 |
commit | 434007d035a059ff29e040f625700aec5574d26c (patch) | |
tree | 5f17909a09135f092750e81eeb251b5dcf998bab /tests | |
parent | 0c2cb3ac0e8e449d5a77e1efdc7f17b364c814e8 (diff) | |
download | qtgraphicaleffects-434007d035a059ff29e040f625700aec5574d26c.tar.gz |
Removed unnecessary alpha slider from Colorize test
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/manual/testbed/ColorPicker.qml | 3 | ||||
-rw-r--r-- | tests/manual/testbed/TestColorize.qml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/manual/testbed/ColorPicker.qml b/tests/manual/testbed/ColorPicker.qml index a980492..19e22be 100755 --- a/tests/manual/testbed/ColorPicker.qml +++ b/tests/manual/testbed/ColorPicker.qml @@ -41,11 +41,11 @@ import QtQuick 2.0 Item { id: root property color color: Qt.hsla(hue, saturation, lightness, alpha) - property alias hue: hueSlider.value property alias saturation: saturationSlider.value property alias lightness: lightnessSlider.value property alias alpha: alphaSlider.value + property bool showAlphaSlider: true width: parent.width height: 100 @@ -238,6 +238,7 @@ Item { maximum: 1.0 value: 1.0 caption: "A" + opacity: showAlphaSlider ? 1.0 : 0.0 trackItem:Item { anchors.fill: parent Image { diff --git a/tests/manual/testbed/TestColorize.qml b/tests/manual/testbed/TestColorize.qml index 20dfc05..0566f48 100644 --- a/tests/manual/testbed/TestColorize.qml +++ b/tests/manual/testbed/TestColorize.qml @@ -67,6 +67,7 @@ TestCaseTemplate { hue: 0.5 saturation: 0.5 lightness: 0.5 + showAlphaSlider: false } }, Control { |