[Interest] Synchronous painting on QGraphicsScene

Patrick Stinson patrickkidd at gmail.com
Sat Oct 7 05:08:33 CEST 2017


Hi there!

I have a graph-ish diagram app where dragging some objects (like nodes) necessitates dragging other objects (like connecting edges). However, if I update an edge from the mouse event or ItemChanged(position) event then the edge isn’t painted until the next paint event. At times, this is quite obvious for example when nudging a node with an arrow key and the node is going in one direction and edge goes in the other direction for one frame because it is one buffer behind.

Any thoughts on synchronous painting?

Thank you
-Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171006/16c3fbcf/attachment.bin>


More information about the Interest mailing list