image.png
I'd like to create a widget that present a percentage like above.
So, I use QPainterPath, and try to do that with "addRect" and "arcTo". But I can't get the willing result.
image2.png
Maybe I'm not good at order of drawing, so I hope to someone tell me the way.