Rujia Liu rujia.liu@gmail.com writes:
Hi!
I want to implement a AutoCAD-like zoom in/out behavior and found this:
http://www.qtcentre.org/threads/35738-How-to-zooming-like-in-AutoCAD-with-QG...
I tried to use scale+centerOn (also in wheel event) but it doesn't work. It is scaled properly but does NOT center on the given point. Is there any workaround?
That got to be a qt problem, unless something specific doesn't work. You'll need to paste the code to diagnose it further.