[Qt-interest] painting on a widget

Bjoern Erik Nilsen bnilsen at trolltech.com
Mon Jan 12 13:10:36 CET 2009


Darryl Hunter wrote:
> Hi Bjoern,
> 
> Thanks for your reply (and to others who have given suggestions).
> 
> I probably didn't make this very clear in my initial post.  The helper class
> isn't a Widget - it's just a class that knows how to draw itself on a
> QPainter.  So I can't call raise() on it.

The stuff has to be drawn onto a widget in the end (unless you're doing 
some hacks).

But if you could provide us with some code, it might be easier to find a 
solution for you.


-- 
Bjørn Erik Nilsen
Software Engineer
Nokia, Qt Software



More information about the Qt-interest-old mailing list