summaryrefslogtreecommitdiffstats
path: root/tests/gradients.qml
blob: 71a6d0bc6a522487bbf8561afea7c6fd8f7c9a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 1.0

Item {
    width: 600
    height: 400

    Rectangle {
        width: 100
        height: 100
        gradient: Gradient {
            GradientStop { position: 0; color: "red" }
            GradientStop { position: 1; color: "blue" }
        }
    }
}