[Qt-interest] Cosmetic Shapes

Ben Swerts benswerts at telenet.be
Fri Sep 24 21:51:56 CEST 2010


> > Just apply the inverse of the scale to the ellipses, when 
> setting the 
> > scene zoom.
> 
> That's a good simple solution. Thanks a lot.
> 
> 
> But is there anyway to receive scene/parent scale or 
> transformation change events in child items, without having 
> to forward the changes down the hierarchy manually?

You don't need to watch for scale change events as you can get the current
scale from the QPainter itself.

Greets,


	Ben




More information about the Qt-interest-old mailing list