qt5base-lts/examples/widgets
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
..
animation sub-attaq example: Fix crash with software Open GL 2018-03-14 13:27:08 +00:00
desktop Merge remote-tracking branch 'origin/5.10' into dev 2018-01-20 22:36:19 +01:00
dialogs qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
doc Merge remote-tracking branch 'origin/5.11' into dev 2018-08-17 09:08:06 +02:00
draganddrop qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
effects Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
gestures Doc: Add missing full stops in briefs 2018-06-21 14:23:30 +00:00
graphicsview Merge remote-tracking branch 'origin/5.11' into dev 2018-06-07 19:10:53 +02:00
itemviews Merge remote-tracking branch 'origin/5.11' into dev 2018-06-07 19:10:53 +02:00
layouts Doc: Complete Dynamic Layouts Example 2018-03-14 12:44:20 +00:00
mac macOS: Make QMacNativeWidget example more usable 2017-02-12 12:29:55 +00:00
mainwindows Merge remote-tracking branch 'origin/5.11' into dev 2018-05-03 14:50:22 +02:00
painting Example: Close popup on mouse click without assigning new lens position 2018-09-10 10:04:08 +00:00
richtext Merge remote-tracking branch 'origin/5.11' into dev 2018-05-24 16:29:14 +02:00
scroller Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
statemachine Doc: Update Factorial Example 2018-06-07 14:29:50 +00:00
tools Merge remote-tracking branch 'origin/5.11' into 5.12 2018-09-07 01:00:21 +02:00
tutorials Notepad example: Wrap clipboard functions with QT_CONFIG(clipboard) 2018-06-22 14:37:48 +00:00
widgets Tablet example: paint only the changed areas of the canvas 2018-08-30 04:12:01 +00:00
windowcontainer Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
widgets.pro Make sure we can build with -no-feature-draganddrop 2018-05-29 18:31:35 +00:00