I am trying to draw rectangle which should be rounded from borrom two side. i did manage to draw rectangle which is rounded from all four side using drawRoundedRect(QRect(-95, 2, 72, 48), 8, 8); . but i only wants two sides to be rounded.
I am trying to draw rectangle which should be rounded from borrom two side. i did manage to draw rectangle which is rounded from all four side using drawRoundedRect(QRect(-95, 2, 72, 48), 8, 8); . but i only wants two sides to be rounded.
What would you like us to do with your statement?
What else have you tried?
How do you think you can construct your semi-rounded rectangle from parts?
How do you think you might be able to draw only the lower half of a rectangle?
What functions in QPainter might help?
Bookmarks