| 1 | Qt's painting system is able to render vector graphics, images, and outline
|
|---|
| 2 | font-based text with sub-pixel accuracy accuracy using anti-aliasing to
|
|---|
| 3 | improve rendering quality.
|
|---|
| 4 |
|
|---|
| 5 | These examples show the most common techniques that are used when painting
|
|---|
| 6 | with Qt, from basic concepts such as drawing simple primitives to the use of
|
|---|
| 7 | transformations.
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | The example launcher provided with Qt can be used to explore each of the
|
|---|
| 11 | examples in this directory.
|
|---|
| 12 |
|
|---|
| 13 | Documentation for these examples can be found via the Tutorial and Examples
|
|---|
| 14 | link in the main Qt documentation.
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | Finding the Qt Examples and Demos launcher
|
|---|
| 18 | ==========================================
|
|---|
| 19 |
|
|---|
| 20 | On Windows:
|
|---|
| 21 |
|
|---|
| 22 | The launcher can be accessed via the Windows Start menu. Select the menu
|
|---|
| 23 | entry entitled "Qt Examples and Demos" entry in the submenu containing
|
|---|
| 24 | the Qt tools.
|
|---|
| 25 |
|
|---|
| 26 | On Mac OS X:
|
|---|
| 27 |
|
|---|
| 28 | For the binary distribution, the qtdemo executable is installed in the
|
|---|
| 29 | /Developer/Applications/Qt directory. For the source distribution, it is
|
|---|
| 30 | installed alongside the other Qt tools on the path specified when Qt is
|
|---|
| 31 | configured.
|
|---|
| 32 |
|
|---|
| 33 | On Unix/Linux:
|
|---|
| 34 |
|
|---|
| 35 | The qtdemo executable is installed alongside the other Qt tools on the path
|
|---|
| 36 | specified when Qt is configured.
|
|---|
| 37 |
|
|---|
| 38 | On all platforms:
|
|---|
| 39 |
|
|---|
| 40 | The source code for the launcher can be found in the demos/qtdemo directory
|
|---|
| 41 | in the Qt package. This example is built at the same time as the Qt libraries,
|
|---|
| 42 | tools, examples, and demonstrations.
|
|---|