summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2016-01-21 13:19:37 +0100
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2016-02-24 04:33:36 +0000
commit57ecd5aeeb1f609206933be66b92fcdf703703d7 (patch)
tree158a491f8fab6563c8990e35af2bdd35d74c6976 /.gitignore
parenteadd7e9cfb4e0802aa9da63badc41c39fec219bb (diff)
QtWidgets: Proper delivery of enter/leave event to context menus
First-level context menu grabs the mouse, so all mouse events are delivered to it. This menu passes the mouse events to submenus. Any platform delivers mouse enter/leave event differently when window is grabbed. This patch unifies event delivery to context menus - it can block some unwanted events and it emulates fake events if necessary. This patch can reduce duplicated events and can provide proper enter or leave event to additional widgets in the context menu. It can also prevent submenu from unwanted close on Windows and X11. Added autotest. Task-number: QTBUG-45565 Task-number: QTBUG-45893 Task-number: QTBUG-47515 Change-Id: I7dd476d0be23afa34e947e54aef235012d173dcf Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions