qt5base-lts/examples/widgets/painting
Marc Mutz 8ab4d2028f Composition example: use std::unique_ptr instead of QScopedPointer
The use of a unique_ptr member requires that the destructor be
out-of-line, since the payload is only forward-declared in the header
file. This is good hygiene, so do it for CompositionWidget, too.

Add 'explicit' and missing = nullptr to both constructors as a
drive-by.

Change-Id: Ied1c89864f90d3f2c13fb4e9a8bbbe2e6fd6f1d7
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2019-05-15 11:03:53 +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 QtBase: compile examples with QT_DISABLE_DEPRECATED_BEFORE=0x050d00 2019-02-13 05:55:46 +00: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 Deprecate conversion functions between QList and QSet 2019-05-07 14:15:44 +00: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

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.