I have created a view class derived from QGraphicsView and set the backgroundBrush as an image.
I want to translate the backgroundBrush. I have tried the following

Qt Code:
  1. // graphicsView derived from QGraphicsView
  2. graphicsView->backgroundBrush().transform().translate(moveX, moveY);
To copy to clipboard, switch view to plain text mode 

But it is not transforming the background brush.