No actually all QGraphicsEffect require a parent or source to paint the effects! (it's useless in case of menus)
and what is needed is to paint the shadow inside the widget's area (faking the shadow).
Let's say we want to have 5dp shadow surrounding the widget like this:
So what should be used inside paintEvent ?