Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]Display small image to cover all available space.
ealione last edited by ealione
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.
ealione last edited by
After experimenting for a while
does what I want.
creates the effect quite nicely