diff options
Diffstat (limited to 'tests/auto/quick/qquickrectangle/data/gradient.qml')
-rw-r--r-- | tests/auto/quick/qquickrectangle/data/gradient.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickrectangle/data/gradient.qml b/tests/auto/quick/qquickrectangle/data/gradient.qml new file mode 100644 index 0000000000..6d2a3c4646 --- /dev/null +++ b/tests/auto/quick/qquickrectangle/data/gradient.qml @@ -0,0 +1,14 @@ +import QtQuick 2.0 + +Rectangle { + + function resetGradient() { + gradient = undefined + } + + gradient: Gradient { + GradientStop { position: 0.0; color: "gray" } + GradientStop { position: 1.0; color: "white" } + } +} + |