Hi,
I'm trying to use QGraphicsView and QGraphicsScene to do represent a plastic film that is 0.3meter width and 100meter height. In this plastic film there are some marks that I want to show to the user. The problem is that the aspect ratio of the film. Using the "fitInView" method keeping the aspect ratio gets me a view like you can see on the attached image.
keepAspectRatio.PNG
The black line is the rectangle that represents the full scene.
Without keeping the aspect ratio I get what I want but with the problem that the items also don't keep their aspect ratio, so a circle is displayed as an ellipse.
What I need is to show the full scene into the view(sure that will not keep the aspect ratio) but show the items with the original aspect ratio.
Thanks,
P.D.: I don't want the scroll bars to be used. This is why I want to show the full scene fitting the view.
Maybe the use of Qwt will be simple as I only want to let the user to pick the marks to show more information.
Bookmarks