diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-27 23:31:27 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-27 23:31:27 (GMT) |
commit | ad269e8e6f85a99c48180f6b9e9b51891accfc45 (patch) | |
tree | 6ea7bfa8725707c0e7f9b330ef2e6aae3cb97c58 /doc/src/snippets | |
parent | fb2e33b21557412ae7bde009662ca89870407f5f (diff) | |
parent | 0a13be045b7e7fdf2b4d1a44b7aba72711375787 (diff) | |
download | Qt-ad269e8e6f85a99c48180f6b9e9b51891accfc45.zip Qt-ad269e8e6f85a99c48180f6b9e9b51891accfc45.tar.gz Qt-ad269e8e6f85a99c48180f6b9e9b51891accfc45.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src/snippets')
-rw-r--r-- | doc/src/snippets/declarative/gradient.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/gradient.qml b/doc/src/snippets/declarative/gradient.qml new file mode 100644 index 0000000..28018b8 --- /dev/null +++ b/doc/src/snippets/declarative/gradient.qml @@ -0,0 +1,8 @@ +Rect { + width: 100; height: 100 + gradient: Gradient { + GradientStop { position: 0.0; color: "red" } + GradientStop { position: 0.33; color: "yellow" } + GradientStop { position: 1.0; color: "green" } + } +} |