title: Qt: QGraphicObject and QImage
body: <p>I have a <code>QGraphicsObject</code> derived class that holds a <code>QImage</code> and ovveride </p>
  
  <pre><code>paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
  </code></pre>
  
  <p>In the pain I succefully draw the <code>QImage</code>.
  The <code>QGraphicsObject</code> is an item of <code>QGraphicsScene</code>, and the latter is inside a <code>QGraphicsView</code>. The <code>QImage</code> dimensions exceed the <code>QGraphicsScene</code> dimensions. My purpose is to <code>drag</code> the <code>QImage</code> (or the <code>QGraphicsObject</code>) in order to show the exceeding part of the <code>QImage</code>. How can I achive this? Have to <code>translate</code> the <code>QImage</code> canvas?</p>
  
  <p>Could point me some kind of docs or example?</p>
  
  <p>thanks</p>