[Development] QML Rectangle corner radius API for Qt 6.7

Tor Arne Vestbø Tor.arne.Vestbo at qt.io
Fri Dec 22 13:57:29 CET 2023



On 22 Dec 2023, at 13:54, Tor Arne Vestbø <Tor.arne.Vestbo at qt.io> wrote:

We can change the `radius` property from a qreal into a group property with left/rigth/top/bottom, similar to anchors. We can detect in the setRadius setter if the incoming argument is a real, and apply that to all of the corners. That would be backwards compatible, and give a more granular API for those that need it.

And by top/left/bottom/right I of course meant topRight, etc :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20231222/14024cec/attachment.htm>


More information about the Development mailing list