anjinkristou

Get the rectangle of the visible area in scene coords

Feb 8th, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Get the rectangle of the visible area in scene coords
  2.     QRectF visibleArea = mapToScene(rect()).boundingRect();
Advertisement
Add Comment
Please, Sign In to add comment