|
Last change
on this file since 846 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
|
|---|
| 7 | be 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
|
|---|
| 22 | the colors in the gradient. The three topmost controls determine the red,
|
|---|
| 23 | green and blue components while the last defines the alpha of the
|
|---|
| 24 | gradient. You can move points, and add new ones, by clicking with the left
|
|---|
| 25 | mouse button, and remove points by clicking with the right button.</p>
|
|---|
| 26 |
|
|---|
| 27 | <p>There are three default configurations available at the bottom of
|
|---|
| 28 | the page that are provided as suggestions on how a color table could be
|
|---|
| 29 | configured.</p>
|
|---|
| 30 |
|
|---|
| 31 | </html>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.