[Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?
Oleg Evseev
ev.mipt at gmail.com
Wed Oct 12 15:44:47 CEST 2016
Jérôme, I didn't understand what your suggestion for?
One can easy draw round cornered rectangle with Canvas (see roundedrect.qml
in canvas example)
[image: Встроенное изображение 1]
Based on that example I did my rectangle (with *all *rounded corners) with
tip in one draw path and solved my problem.
2016-10-12 16:32 GMT+03:00 Jérôme Godbout <jerome at bodycad.com>:
> For the round corner with rectangle:
>
> Rectangle
> {
> border.width: 2
> border.color: "black"
> color: Qt.rgba(0,0,0,0)
> clip: true
> width: canvas_.width
> height: canvas_.height
> Canvas
> {
> ...
> }
> }
>
> Using the clip and the round corner should work.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161012/a8101f49/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 18621 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161012/a8101f49/attachment.png>
More information about the Interest
mailing list