There comes only one off line resource in my mind: have a look at Johan's book "Foundations of Qt Development". There he has an example on how to manipulate circles and rects by using "handler" items.