hi i am a new to Qt, i couldn’t find how u will serialize selected items, if you copy an selected item like which i done below i just get a shallow copy of an item, how do we actually get this selected item and serialize it. plz show it with a small example
QList<QGraphicsItem *> copiedItem = this->selectedItems();
All i want to finally do is, i wanted to copy and paste QGraphicItem on my QGraphicScene .
thanks in advance
↧