qt5base-lts/examples/painting
Thiago Macieira 5f5555f4d3 Fix encoding of non-ASCII strings
tr() only takes UTF-8 as input, so we must recode to UTF-8. But we can
use QLatin1String elsewhere.

Task-number: QTBUG-26086
Change-Id: I5932ddc96fb817dbe01106e5f6f2b10f58472d6b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
2012-06-14 05:26:45 +02:00
..
affine examples: compile w/o opengl 2012-02-24 22:39:40 +01:00
basicdrawing Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
composition examples: compile w/o opengl 2012-02-24 22:39:40 +01:00
concentriccircles Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
deform QApplication::syncX doesn't do anything in Qt 5 anymore 2012-05-29 11:35:21 +02:00
fontsampler Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
gradients examples: compile w/o opengl 2012-02-24 22:39:40 +01:00
imagecomposition Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
painterpaths Fix encoding of non-ASCII strings 2012-06-14 05:26:45 +02:00
pathstroke QApplication::syncX doesn't do anything in Qt 5 anymore 2012-05-29 11:35:21 +02:00
shared Fix assert in painting demos when switching to OpenGL. 2012-06-09 10:45:01 +02:00
svggenerator Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
svgviewer Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
transformations Fix encoding of non-ASCII strings 2012-06-14 05:26:45 +02:00
painting.pro QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

Qt's painting system is able to render vector graphics, images, and outline
font-based text with sub-pixel accuracy accuracy using anti-aliasing to
improve rendering quality.

These examples show the most common techniques that are used when painting
with Qt, from basic concepts such as drawing simple primitives to the use of
transformations.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.