[Interest] How to update QGraphicsView transform when scrolling view with wheel?

Christian Gagneraud chgans at gmail.com
Tue Jul 25 09:27:57 CEST 2017


On 25/07/2017 7:24 pm, "Patrick Stinson" <patrickkidd at gmail.com> wrote:

Hi there!

If I am setting a QGraphicsView's scale via setTransform() while scrolling
up/down+left/right with two fingers on the trackpad, but the paint updates
don’t come until after I stop moving my fingers which stops the wheel
events. Is there a way to update the view with the new transform while
scrolling


Can you show your event handlers, difficult to say without seeing except
that it should work.

Chris



Thanks!
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170725/0f0dfbc8/attachment.html>


More information about the Interest mailing list