QList<QGraphicsItem *> list = scene()->selectedItems ();for (int i =0; i<list.size(); ++i) list.at(i)->moveBy(1,1);