RubyQT QGraphicsview scale images to fit window
- by shadowskill
I'm trying to make an image scale inside of a QGraphicsView and having zero success. I did find this C++ question with what seemed to be the same problem:http://stackoverflow.com/questions/2489754/qgraphicsview-scrolling-and-image-scaling-cropping
I borrowed the approach of overriding the drawback/foreground. However when I run the script I'm…