[Interest] Complex border from QPainterPath

Patrick Stinson patrickkidd at gmail.com
Fri Jun 29 19:19:52 CEST 2018


Hi there!

I am trying to construct a text callout QGraphicsItem. It is basically a rounded rect plus some triangular  protrusions from the rect center to various points outside the rounded rect (see screenshot).

What is the best way to paint this? I am having trouble with the QPainterPath docs.

Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180629/fd3b4fa8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2018-06-29_10-10-22.jpg
Type: image/jpeg
Size: 165367 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180629/fd3b4fa8/attachment.jpg>


More information about the Interest mailing list