I am attempting to create a widget with a .PNG background and is drawn over with a rotating graphic. The problem is that I am unable to get both to occur at the same time. Either I get the background to show but I can't see what is drawn over it, or the objects that are drawn over the background show up but the background does not.

The documentation is confusing at best so I am seeking advice here. I have seen the examples for graphics view (colliding mice) and the code works as is. I just have not been able to get a similar effect to work in a widget of my own even using that exact code slightly modified to be a widget.

environment: WinXP and SUSE Linux 10.2 Qt 4.3.1 open source and MinGW with eclipse