I used QGroupbox to encapsulate some data for the user and i want to get fancy! I want to make a shadow to make it float on the containing widget. I am thinking of overiding the paint on this QGroupbox, but i am not too sure how can i draw the widget inside my groupbox now. since i will mess up the paint on it.

If you guys can show/help/ give some sample code in playing with the paint on QGroupBox that will be highly appreciated.

baray98