Try either setting the background role to transparent or set the widget's opaque paint event attribute to true.