To make something transparent, set the WA_TranslucentBackground attribute and make sure the widget doesn't paint any background. Don't use stylesheets, they are not needed here. Use only setMask and translucent background. How to remove the background depends on the widget you are using --- surely autoFillBackgorund needs to be set to false and possibly you need to alter QPalette to include transparent brush for the background.