[Interest] smoothest way to zoom/pan QGraphicsView?

Thiago Macieira thiago.macieira at intel.com
Fri Apr 7 07:04:43 CEST 2017


Em quinta-feira, 6 de abril de 2017, às 19:38:36 PDT, Patrick Stinson 
escreveu:
> Without stripping down my code into a runnable example, is setTransform
> considered to be too slow for 60Hz frame-rate updates from touch events? If
> so, is there a better way to smoothly zoom and pan the graphics view?

QGraphicsView is not architected correctly for smooth 60 fps.

At least try to set a QOpenGLWidget as your viewport. It might help.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list