diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-06-22 13:54:56 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-06-24 16:47:24 +0200 |
commit | e0d5221957bf0d7857f924f1f2ae63d490de0a0a (patch) | |
tree | 580dfcaf67d95c18c3fb548b0ffa6f79f1cd60a7 /examples/painting/gradients/gradients.html | |
parent | d7c37d9bacc016b1156e15780080cfc8c24f6e6a (diff) |
Move all other demos in qtbase to examples.
Change-Id: Iab0e7364d1f6b348d0e3033ea9304139f5bd6d0d
Reviewed-on: http://codereview.qt.nokia.com/617
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Boddie
Diffstat (limited to 'examples/painting/gradients/gradients.html')
-rw-r--r-- | examples/painting/gradients/gradients.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/painting/gradients/gradients.html b/examples/painting/gradients/gradients.html new file mode 100644 index 0000000000..1ea2c0ed6c --- /dev/null +++ b/examples/painting/gradients/gradients.html @@ -0,0 +1,31 @@ +<html> +<center> +<h2>Gradients</h2> +</center> + +<p>In this demo we show the various types of gradients that can +be used in Qt.</p> + +<p>There are three types of gradients: + +<ul> + <li><b>Linear</b> gradients interpolate colors between start and end + points.</li> + <li><b>Radial</b> gradients interpolate colors between a focal point and the + points on a circle surrounding it.</li> + <li><b>Conical</b> gradients interpolate colors around a center point.</li> +</ul> + +</p> + +<p>The panel on the right contains a color table editor that defines +the colors in the gradient. The three topmost controls determine the red, +green and blue components while the last defines the alpha of the +gradient. You can move points, and add new ones, by clicking with the left +mouse button, and remove points by clicking with the right button.</p> + +<p>There are three default configurations available at the bottom of +the page that are provided as suggestions on how a color table could be +configured.</p> + +</html> |