qt - QGraphicsView Zoom 1:1 -
i implemented graphics_view_zoom.h class pavel strakhov , works pretty fine. qgraphicsview zooming in , out under mouse position using mouse wheel however, need have button in mainwindow bring scale/zoom 1:1 can on ? tried add "counter" , increase when angle negative (zooming in) , decrease when positive (zooming out) , block zooming function if counter<0, doesnt stop @ 1:1. @ cases stops @ couple steps earlier missing or better/easier way achieve ? thanks
Comments
Post a Comment