Hi,
As the subject says.
I can find the normal fillRect() function, but not for a round rect...
But the docs say:
Help?void QPainter::drawRoundRect ( const QRectF & r, int xRnd = 25, int yRnd = 25 )
Draws a rectangle r with rounded corners.
The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.
A filled rectangle has a size of r.size(). A stroked rectangle has a size of r.size() plus the pen width.
Bookmarks