I am writing a Qt application, which has MainWindow->groupboxes->labels designed with designer.

I used paintEvent for one of the groupBox to make one of the label as circle. I need to identify the color outside the paintEvent and fill that color to circle.

Can you give me any idea, on how to proceed?

Thanks & Regards,
Arun