Try the attached example (it works for backgroundless pixmaps as well and with little effort it should work for semi-transparent ones too). Use right and left mouse button to switch between different drawing modes.
If you want to change the way the shadow looks, adjust the filter.
Bookmarks