I want a translucent rectangular shape using Qt Quick QML, but with rounded corners on only one side.
This is the kind of rectangle shape I want. If it weren’t visible, I would probably just overlap 2 rectangles, one with rounded corners and one without. However, this does not work with transparency, since the overlap becomes darker.
----------|
/ |
/ |
| |
| |
| |
\ |
\ |
----------|
Does anyone have any ideas?
source
share