source: trunk/demos/gradients/gradients.html@ 564

Last change on this file since 564 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 995 bytes
Line 
1<html>
2<center>
3<h2>Gradients</h2>
4</center>
5
6<p>In this demo we show the various types of gradients that can
7be used in Qt.</p>
8
9<p>There are three types of gradients:
10
11<ul>
12 <li><b>Linear</b> gradients interpolate colors between start and end
13 points.</li>
14 <li><b>Radial</b> gradients interpolate colors between a focal point and the
15 points on a circle surrounding it.</li>
16 <li><b>Conical</b> gradients interpolate colors around a center point.</li>
17</ul>
18
19</p>
20
21<p>The panel on the right contains a color table editor that defines
22the colors in the gradient. The three topmost controls determine the red,
23green and blue components while the last defines the alpha of the
24gradient. You can move points, and add new ones, by clicking with the left
25mouse button, and remove points by clicking with the right button.</p>
26
27<p>There are three default configurations available at the bottom of
28the page that are provided as suggestions on how a color table could be
29configured.</p>
30
31</html>
Note: See TracBrowser for help on using the repository browser.