Now it is working! I have set the width too small for images with big width. That is why the right border of the image was cut.
So I first calculate the ratio of width and height, and scale on the height or the width, depending of the condition.
Thanks for the help, the scaling on the graphicsview and not on the scene was useful.




Reply With Quote

Bookmarks