summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurl.cpp
diff options
context:
space:
mode:
authorDongmei Wang <dongmei.wang@qt.io>2016-10-04 13:05:15 -0700
committerDongmei Wang <dongmei.wang@qt.io>2016-10-27 05:28:09 +0000
commitc8c3d39e2116251133fb3ee25b615a1522685861 (patch)
treef0c2f1e9c798efa86bac1a20d400a60b08fde740 /src/corelib/io/qurl.cpp
parent7f0d43fd332519e2689ffbff8198590d768864bc (diff)
Paint menu scrollers, tear off on top of QWidgetAction items
The menu scrollers and the tear off items are painted in the layer of QMenu. In a case that QMenu contains QWidgetAction items, the items are painted under QWidgetAction items. They are visually hidden unless QWidgetAction items' background is transparent. The tear off doesn't work since QWidgetAction item on top of it grabs mouse events. To fix the issue, add two child widgets in QMenu, paint the scroll up and the tear off items in one child widget and the scroll down item in the other one. Both child widgets are painted on top of overlapping sibling menu item widgets. Change-Id: I7eaef21b667b388fbb78b60664f4a4bd91215309 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src/corelib/io/qurl.cpp')
0 files changed, 0 insertions, 0 deletions