Reputation: 31
Once PySide is not supported in Python 3.5, I have to move my application to PyQt5 (I know PyQt4 would be a better choice, but my company asked me to use PyQt5). I'm having a hard time trying to scale a QGraphicsPixmapItem.
In PySide, QGraphicsItem has a method scale(xFactor, yFactor). In PyQt5, it has a method setScale(factor).
My question is: how am I supposed to scale x and y independently?
Upvotes: 3
Views: 1032