Please read the docs about Qt's graphics view. For starting a small pice of code:
Qt Code:
  1. QGraphicsPixmapItem* item = scene.addPixmap(g);
  2. item->setPos(15, -30);
To copy to clipboard, switch view to plain text mode