What is the correct way to do it?What do you think this part of the code does?
Qt Code:
img.scaled(img.size(),Qt::KeepAspectRatio)To copy to clipboard, switch view to plain text mode
As you know I have fixed size rectangle,
And I want to display the image in this rectangle with it's aspect ratio maintained.
A scaled Image . Right?I.e. in words, what do you expect as the return value of img.scaled()?
Bookmarks