Quote Originally Posted by marcel View Post
But you don't understand.
You must use QPainter *AND* QWidget. You use the painter to draw on the widget. That is the only way. What would you do with a QPainter alone?

And subclassing QWidget shouldn't be a problem.
I think I get it now. Create a QWidget that will do all of the QPainter things to it. Then build the other widget around it. Is this correct?