qt5base-lts/examples/widgets/painting
Paul Wicking b13e3b0eb6 Example: Close popup on mouse click without assigning new lens position
Clicking in the main renderer window passes a new position to the lens,
disregarding the "What's This" (documentation) overlay window.
This change checks if the documentation window is open on click, and if
it is, closes the documentation window and returns without further
handling of the mouse event.

Fixes: QTBUG-7205
Change-Id: I821245ec6c78be00d80af461baf8e4d59e0f351f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-09-10 10:04:08 +00:00
..
affine Doc: modify connect statement to new syntax 2017-11-29 14:09:31 +00:00
basicdrawing qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
composition Allow QImage with more than 2GByte of image data 2017-07-08 08:17:13 +00:00
concentriccircles Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
deform Example: Close popup on mouse click without assigning new lens position 2018-09-10 10:04:08 +00:00
fontsampler qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
gradients Add demo of the new QGradient presets to the gradients example 2018-07-24 16:45:41 +00:00
imagecomposition qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
painterpaths qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
pathstroke Add Qt::SvgMiterJoin option to pathstroke example 2018-03-21 06:24:41 +00:00
shared Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
transformations qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +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.