Qt 6.11 is out! See what's new in the release
blog
[Solved] Particular radius
QML and Qt Quick
11
Posts
4
Posters
5.9k
Views
1
Watching
-
Or split it into 4 rects and set a rounded corner on the lower left one. This will lead to some overdraw though.
Or use the BorderImage QML element.
Where are you wanting to do this (ie in a widget a QGraphicsScene or in a QML scene)?
-
BorderImage will work ok. Also you can draw border pixmap not only in QML, but in C++ too.
-
i can not do it. i will use an image! =) thank you!
-
Well, what did you try? What did not work?
-
i am making the rectangle with power point...
-
in qml!
-
OK, draw it in gimp/inkscape/whatever, export to some suitable format then use BorderImage element in QML.
If this was a QML problem it may have been more appropriate to post it in the Qt Quick forum.
-
i know. thank you