look at QStyle and this example