From e0d5221957bf0d7857f924f1f2ae63d490de0a0a Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Wed, 22 Jun 2011 13:54:56 +0200 Subject: Move all other demos in qtbase to examples. Change-Id: Iab0e7364d1f6b348d0e3033ea9304139f5bd6d0d Reviewed-on: http://codereview.qt.nokia.com/617 Reviewed-by: Qt Sanity Bot Reviewed-by: David Boddie --- examples/painting/gradients/gradients.html | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 examples/painting/gradients/gradients.html (limited to 'examples/painting/gradients/gradients.html') 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 @@ + +
+

Gradients

+
+ +

In this demo we show the various types of gradients that can +be used in Qt.

+ +

There are three types of gradients: + +

+ +

+ +

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.

+ +

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.

+ + -- cgit v1.2.3