Hi,

I am building a custom widget descending from QFrame, because I want the 
rounded borders and other behaviour. In my paintEvent, contentsRect() 
gets me the rectangle for the contents excluding the border, padding and 
margins but the rounded borders are inside that rect. So I am 
obliterating the rounded borders.

How can I avoid drawing over the borders?

thanks,
Hamish
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to