qt5base-lts/examples/widgets/painting
Sona Kurazyan 2f33e030b8 Remove usages of deprecated APIs of qtbase/gui
- Replaced the usages of deprecated APIs by corresponding
  alternatives in the library code and documentation.

- Modified the tests to make them build when deprecated APIs disabled:
    * Made the the parts of the tests testing the deprecated APIs to
      be compiled conditionally, only when the corresponding methods are
      enabled.
    * If the test-case tests only the deprecated API, but not the
      corresponding replacement, added tests for the replacement.

Change-Id: Ic38245015377fc0c8127eb5458c184ffd4b450f1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-07-13 10:43:15 +02:00
..
affine QLineF: mark angle(const QLineF&) as deprecated 2019-03-05 17:56:45 +00:00
basicdrawing Cleanup Widgets examples - new signal/slot syntax 2019-01-06 17:07:59 +00:00
composition Composition example: use std::unique_ptr instead of QScopedPointer 2019-05-15 11:03:53 +02:00
concentriccircles Cleanup Widgets examples - new signal/slot syntax 2019-01-06 17:07:59 +00:00
deform Convert uses of QTime as a timer to QElapsedTimer 2019-06-14 10:42:33 +02:00
fontsampler QtBase: compile examples with QT_DISABLE_DEPRECATED_BEFORE=0x050d00 2019-02-13 05:55:46 +00:00
gradients QtCore: mark obsolete enumerations as deprecated 2019-05-17 14:08:30 +00:00
imagecomposition Cleanup Widgets examples - new signal/slot syntax 2019-01-06 17:07:59 +00:00
painterpaths Cleanup Widgets examples - foreach 2019-01-23 18:48:59 +00:00
pathstroke Deprecate conversion functions between QList and QSet 2019-05-07 14:15:44 +00:00
shared Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
transformations Cleanup Widgets examples - new signal/slot syntax 2019-01-06 17:07:59 +00:00
painting.pro don't build shared demo library which is not used anyway 2013-01-31 15:51:09 +01:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +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.