I'm not quite sure I understand what you mean by "the background is getting rotated and scaled when items get scaled and rotated." So I'll try and explain:
This specific graphicsView has a scene which it shares with 5 other graphicsView's. The only difference with this graphicsView is that I use drawBackground() to give it a unique background Pixmap (in this case a very large pixmap). I have zoom and rotate buttons on the widget which call the ScaleView() function for this graphicsView. ScaleView() scales and rotates all the contents within this graphicsView (the scene contents and the large background Pixmap).
Hope this clears it up.




Reply With Quote
Bookmarks