[SOLVED]Display small image to cover all available space.
I have a small, usually 8x8 image that I want to fit to my QGraphicsView.
No matter how I resize my view the image should keep up and resize accordingly, so if for example I make my window fullscreen what I will see are 64 huge pixels.
How can this be done?
Side note: I know about fitInView but it seems that I can not use it correctly.
After experimenting for a while
does what I want.
creates the effect quite nicely