aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickvectorimage
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2024-05-06 13:10:03 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2024-05-30 21:18:56 -0700
commit1e325c5c8b98dd5ddf5ba2be8c017306474fe2b7 (patch)
treee54dc72bf62cf784f41b22d6af5ef760296529a8 /src/quickvectorimage
parent823026646c62c7e3b42be1549fcb61debb468e60 (diff)
QQuickPopupWindow: forward pointer events to the menu under the mousewip/nativemenus
We want to handle menus special compared to other popups. For menus, we want all open parent menus and sub menus that belong together to almost act as a single popup WRT event delivery. This will allow the user to hover and highlight MenuItems inside all of them, and not just the leaf menu. This patch will therefore forward all relevant pointer events that goes to a leaf menu to the actual menu, or menu bar, under the mouse. But note that this forwarding will happen in parallel with normal event delivery (we don't eat the events), as we don't want to break the delivery to e.g grabbers, and other DA logic in general. Change-Id: If87756e59c08ff73cb75a21fafab6cf39e4c94b6 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quickvectorimage')
0 files changed, 0 insertions, 0 deletions