qt5base-lts/examples/widgets/painting
Sona Kurazyan 1b7ce85a60 Remove usages of deprecated APIs of QWheelEvent
- Replaced the usages of deprecated QWheelEvent::delta() and
  QWheelEvent::orientation() with QWheelEvent::angleDelta().
  In most of the examples it is acceptable to use only the vertical
  component of angle delta.

- Made the docs APIs to build conditionally, based on the
  deprecation version.

Task-number: QTBUG-76491
Task-number: QTBUG-76540
Change-Id: Id4230d483f724af49e4b6349b44881c3944de2a2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-08-23 21:51:43 +02:00
..
affine Remove usages of deprecated APIs of QWheelEvent 2019-08-23 21:51:43 +02: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.