Have you read this? http://doc.trolltech.com/4.2/designe...component.html